Input

NameDescriptionRequired
Enable non-PDF files as inputAllows doc, docx, rtf, xls, xlsx, txt, jpg, png, and zip files as input.No
Import OptionsChoose the input source, either Upload Files or Input Links.Yes

Upload Files

NameDescriptionRequired
DataUpload a file using raw binary data from another module. Note: This requires additional credits as it first uploads to PDF.co Temporary Files Storage.Yes
File NameSpecify a custom file name for the output file.No

Input Links

NameDescriptionRequired
Input LinkEnter URLs to source files seperated by comma (e.g., example1.com/file1.pdf,example2.com/file2.pdf), or use a filetoken:// link from PDF.co Built-In Files Storage. For cloud services like Google Drive or Dropbox, ensure the link is publicly accessible.Yes
File NameSpecify a custom file name for the output file.No
NameDescriptionRequired
Execution ModeSelect Sync for small tasks up to 10 seconds. Choose Async for standard jobs, or Async For Large Docs for tasks over 30 seconds. Use Job Check module for retrieving results in large tasks.No
ProfilesAdd custom options for the process in a JSON string format. See API Profiles for more details.No
Output Links ExpirationSet the expiration time in minutes for output links. Default is 60 minutes. Increase this limit with a Business Plan or higher, see plans here for details.No
Export TypeChoose between Download a File or JSON Output. Default is Download a File.No

Integrating External File Sources

Streamline your Make workflows with external file sources like Google Drive and Dropbox using their unique actions. Discover efficient integration strategies in our guide: File Source Integrations in Make.

Merging Files from Google Drive using PDF.co

To overcome issues such as restricted files or temporary blocking by Google Drive, use the Upload a File step in PDF.co before merging:

  1. Set up a Google Drive Trigger to Watch Files in a Folder.
  2. Use Google Drive’s Download a File action to fetch file binary data.
  3. Add the Upload a File step in PDF.co to upload the file.
  4. Use the uploaded file URL in the Merge PDF step.

Here’s the complete scenario with all steps:

In the Upload a File step, use the file binary data from the Download a File action as shown below:

This approach ensures that the files are accessible and avoids issues related to file restrictions, rate limiting or temporary blocking by Google Drive.

Output

NameDescription
urlThis is the temporary URL provided by the PDF.co file server.
DataRepresents the output binary data. This data is generated only when the Export Type option is set to Download a File.
StatusIndicates the response status code. A success status is returned if the operation is successful.
Page CountThe total number of pages in the output PDF.
outputLinkValidTillSpecifies the timestamp until which the url remains accessible.
errorProvides details about any errors encountered during the process, if applicable.
nameThe designated name of the output file.
Job IdA unique identifier assigned to the job.
creditsThe amount of credits utilized for the process.
Remaining CreditsDisplays the balance of credits available in your account.
durationThe duration of time the process took to complete.