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
NameTypeDescriptionRequired
attachmentattachment PDF attachment URL in knoon-fs:// format.Yes
fieldsmustache 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
passwordstring PDF password if the source PDF is password protected.No
flattenboolean Flatten the form after filling. Defaults to false.No
fileNamestring Optional output filename. Defaults to the original filename with -filled.pdf.No
Returns
NameTypeDescription
statusstring DONE.
attachmentstring Filled PDF attachment URL.
filledFields[]string PDF field name.