Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Fill Form (PDF/DOCX)

Fill a PDF or DOCX form and return a downloadable completed file. Use it when a workflow has the values needed for an existing form.

Use this tool

  1. Provide the source form in File.

  2. Enter Instructions and provide Form Data as field names and values. Use the names in the document.

  3. Set Text Color and, if needed, Output Filename.

  4. Run the tool, open Filled Form URL, and check the completed fields.

Behavior and limits

Form Data supports text, numbers, and boolean values for checkboxes. The output extension matches the input format. Check the completed document before distributing it, particularly field placement and selected checkboxes.

Inputs

Field
Parameter
Description

File (required)

pdf_file

URL to a PDF or DOCX form to fill.

Instructions (required)

instructions

Provide context or specific requirements for how the form should be filled. For example: formatting guidelines, language style, or special instructions.

Form Data

form_data

JSON object with field names and values to fill in the form. Use the exact field names as they appear in your document. Supports text (strings), checkboxes (true/false), and numbers.

Output Filename

output_filename

Custom name for the output file. The extension will match your input file (.pdf or .docx).

Text Color (required)

text_color

Color of the text used to fill in the form fields Default: "blue".

Outputs

Field
Parameter
Description

Filled Form URL

filled_pdf_url

URL to download the filled form

Was this helpful?