Autype icon

Autype

Interact with the Autype Developer API for document generation, PDF tools, and more

Document Tool → Fill Form

AI-generated

Summary

Fill PDF form fields in a Document Tools file by submitting field values to the Autype API.

Inputs

  • fileId (required) — ID of the file uploaded via the File resource. Use File > Upload to get a file ID.
  • fields (required) — Map of field names to values. Use string for text/dropdown/radio, boolean for checkboxes.
  • flatten — Whether to flatten form fields after filling (makes them non-editable).
  • waitForCompletion — Whether to wait for the tool job to complete before returning.
  • downloadOutput — Whether to automatically download the output file as binary data after completion. Requires waitForCompletion to be true.

Output shape

{ json: , binary?: { data: , fileName: string, mimeType: string> }

If waitForCompletion is false, returns the immediate API response as JSON. If true, polls the tool job status; if the job completes and downloadOutput is true, returns binary PDF data along with job result metadata. pairedItem is appended by n8n.

Links

Discussion