zapier

Integrating File Sources with PDF.co#

Incorporating file sources such as Google Drive, Dropbox, OneDrive, and Box into your Zapier workflows is essential when working with PDF.co. This guide details the specific input properties from each of these services to be used with PDF.co’s Zapier plugin.

URL Accessibility for PDF.co#

For successful integration, any publicly accessible URL can be used. Whether you’re using services like Google Drive, Dropbox, or others, make sure the URLs are accessible to PDF.co. We recommend using Zapier-generated URLs (detailed in the sections below) as they are guaranteed to be compatible with PDF.co. If you’re using direct URLs not provided via Zapier, please verify their public accessibility to ensure PDF.co can process your files efficiently.

Google Drive#

When integrating Google Drive with PDF.co in Zapier, use the File property to retrieve files. This property allows PDF.co to access the file needed for processing.

Google Input Source

Dropbox#

For Dropbox, the Direct Media Link property is utilized. However, it’s important to be aware of Dropbox’s file size limitation:
  • Limitation: Access to files is restricted up to 100 MB only. Larger files may result in an error.

Dropbox Input Source

OneDrive#

OneDrive integration requires the Download URL property. This is effective for accessing files and passing them to PDF.co.

OneDrive Input Source

Box#

Box, similar to Google Drive, uses the File property to share files with PDF.co. This ensures seamless file transfer within your Zapier workflow.

Box Input Source

SharePoint#

For SharePoint, use the Direct Download Link property. Ensure the link is publicly accessible.

Steps to Generate the Direct Download Link:

Add the “Microsoft SharePoint” Trigger

  • In SharePoint, add the “New file in folder” Trigger Event to create a shareable link that can be adjusted for direct access.

  • Site Address: Select your SharePoint site.

  • Library Name: Choose the library containing your file.

  • Item Id: Specify the file you want to share.

For more information, see Microsoft Docs on creating sharing links.

If you are not using a Zapier trigger/action or encountering any issues, you can manually modify the link for access compatibility:

  1. Modify the Link for PDF.co Compatibility

    • Append ?download=1 to convert it into a direct download link compatible with PDF.co.

    Example:

    Original Link:

    https://yourcompany.sharepoint.com/:b:/s/SharedDocuments/Ed1...4ig
    

    Modified Link:

    https://yourcompany.sharepoint.com/:b:/s/SharedDocuments/Ed1...4ig?download=1
    
  2. Troubleshooting:

    • Ensure the sharing settings allow public access.

    • Test the link in a browser to confirm it downloads the file directly.

    • Double-check permissions if PDF.co cannot access the file.

PDF.co File Storage#

Access files stored in PDF.co Built-In Files Storage effortlessly using the filetoken:// link.

Accessing PDF.co Files

Below is an example illustrating the selection of files from PDF.co File Storage.

PDF.co Files Input Source