PDF to Anything#

Convert PDF to other file formats.

Zapier Step

Input#

Name

Description

Required

Output Format

Select the format you want to convert your PDF to from the drop down list in the workflow.

Yes

Source PDF URL

Provide the URL to the source PDF document, or a filetoken:// link from PDF.co Built-In Files Storage. If you use another cloud service such as Google Drive or Dropbox ensure the link is publicly accessible.

Yes

Page Selection

Specify the pages or ranges you want to process. Enter a comma-separated list (e.g., 0,1-2,5-). Leave blank to include all pages. Note: Page indexing starts at 0.

No

Output File Name

The output file name. If left blank then the name of the last file in the Source PDF URL list will be used.

No

Inline Output Option

Set to true to receive the extracted content directly as a body variable. By default, a link to the output file will be returned in the url object in the return JSON.

No

OCR Language for Scanned Documents

Choose the OCR (Optical Character Recognition) language for extracting text from scanned PDF, PNG, JPG documents. The default language is English.

No

Extraction Region

Define coordinates for extraction with a list of comma-separated x, y coordinate numbers, e.g, 0, 0, 100, 100 is a square 100 pixels in from the top left corner of a PDF document.

No

Enable Line Grouping

Set to true to enable line grouping within table cells.

No

Unwrap

Set to true to unwrap lines into single line within table cells. Works only when Enable Line Grouping is enabled.

No

Define Custom Profiles

A JSON string which adds options for the conversion process. See API Profiles for more.

No

Source PDF URL & Google#

Note

When using Google Drive, it’s typically recommended to choose the File option. For more advanced file integration techniques, see Integrating File Sources with pdf.co.

Google File


Output#

Name

Description

url

The temporary URL on the PDF.co file server.

outputLinkValidTill

A timestamp which indicates how long the url will be available for.

error

Details of any errors (if any).

status

The response status code. If all good this will be 200.

name

The name of the file.

jobId

The unique identifier for the job.

credits

The credits spent on the process.

remainingCredits

The credits left on your account.

duration

The time it took for the process.