Back to Preview
Connect Knoon AI with Preview (System) to automate AI workflows.
Fill PDF form fields from a map and return a filled PDF attachment.
systemPreviewFillPdfFormAttachment
BETA
Internal
Permissions
There are no items to display.
Optional permissions
There are no items to display.
Parameters
| Name | Type | Description | Required |
|---|---|---|---|
| attachment | attachment | PDF attachment URL in knoon-fs:// format. | Yes |
| fields | mustache | JSON map of PDF form field names to values. Text fields use strings, checkboxes use booleans, radio/dropdown/list fields use option strings or arrays, and buttons use caption text. Signature fields require a signing tool. | Yes |
| password | string | PDF password if the source PDF is password protected. | No |
| flatten | boolean | Flatten the form after filling. Defaults to false. | No |
| fileName | string | Optional output filename. Defaults to the original filename with -filled.pdf. | No |
Returns
| Name | Type | Description |
|---|---|---|
| status | string | DONE. |
| attachment | string | Filled PDF attachment URL. |
| filledFields[] | string | PDF field name. |