How to Fill PDF Forms Using PDF.co PDF Filler in Zapier

7 Minutes Read

Learn how to fill an existing PDF form automatically using PDF.co and Zapier. This tutorial assumes that you have already selected and tested the trigger that supplies the values for your PDF form.

Important: The source PDF must contain interactive fillable fields. If it is a flat or scanned PDF without form fields, use PDF.co’s text and image tools to place content by coordinates instead.

Step 1: Add PDF.co to the Zap

After configuring your trigger, add an action and select PDF.co.

Connect your PDF.co account using the API key from your PDF.co dashboard, then select PDF Filler as the action event.

Step 2: Select the Source PDF

In Source PDF, provide the URL of the fillable PDF form.

You can use:

  • A publicly accessible PDF URL
  • A PDF.co filetoken:// link
  • A file supplied by an earlier Zapier step

When using Google Drive or another cloud-storage service, use Zapier’s file output when available. Otherwise, ensure that the URL is publicly accessible without authentication.

Optionally enter an Output PDF Name.

Step 3: Find the PDF Field Names

Before filling the form, identify each field’s exact name and page index.

You can do this in either of the following ways:

  • Use the PDF.co Info Tool to inspect the PDF.
  • Add a PDF.co → Get PDF Information step in Zapier and enable Extract Fillable Fields.

The returned field information includes values such as:

  • FieldName: The exact field identifier
  • PageIndex: The page containing the field
  • Type: The type of control, such as a text field or checkbox
  • Value: The field’s current value

Field names are case-sensitive and must be copied exactly.

Step 4: Configure the Fillable Form Fields

In Fillable Form Fields, enter each value using this format:

page;fieldName;value

PDF.co uses zero-based page numbering:

  • 0 is the first page.
  • 1 is the second page.
  • 2 is the third page.

Example text field:

0;full_name;John A. Doe

Example checkbox:

0;accept_terms;true

To supply values from the Zap trigger, replace the sample values with mapped Zapier data.

Separate multiple fields with the pipe character (|):

0;full_name;John A. Doe|0;email;john@example.com|0;accept_terms;true

For a checkbox, use true to select it. The correct value for radio buttons or other controls can depend on how the original PDF form was created, so inspect and test those fields carefully.

You can optionally control a text field’s font and styling with this extended format:

page;fieldName;value;fontSizeAndStyle;fontName

Example:

0;full_name;John A. Doe;12+bold;Arial

Step 5: Test the PDF Filler Action

Test the PDF.co action and confirm that its status indicates success.

Open the returned URL and verify that:

  • Text appears in the correct fields.
  • Checkboxes and other controls have the expected state.
  • Mapped values were received from the trigger.
  • No required fields are blank.
  • The output filename is correct.

The returned PDF.co URL is temporary. Use the outputLinkValidTill value to determine when it expires.

Step 6: Save or Deliver the Completed PDF

After verifying the output, add another Zapier action to save or deliver the completed PDF. For example, you can:

  • Upload it to Google Drive, Dropbox, or another storage service
  • Attach it to an email
  • Add it to a record-management system
  • Pass it to another document-processing step

Publish the Zap after testing the complete workflow.

You have now created a Zap that fills an interactive PDF form with data from another application using PDF.co PDF Filler.

Related Tutorials

See Related Tutorials