Kembali ke Preview
Sambungkan Knoon AI dengan Preview (System) untuk mengotomatisasi alur kerja AI.
Fill PDF form fields from a map and return a filled PDF attachment.
systemPreviewFillPdfFormAttachment
Beta
Internal
Izin
Tidak ada item untuk ditampilkan.
Izin opsional
Tidak ada item untuk ditampilkan.
Parameter
| Nama | Tipe | Deskripsi | Wajib |
|---|---|---|---|
| attachment | attachment | PDF attachment URL in knoon-fs:// format. | Ya |
| 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. | Ya |
| password | string | PDF password if the source PDF is password protected. | Tidak |
| flatten | boolean | Flatten the form after filling. Defaults to false. | Tidak |
| fileName | string | Optional output filename. Defaults to the original filename with -filled.pdf. | Tidak |
Pengembalian
| Nama | Tipe | Deskripsi |
|---|---|---|
| status | string | DONE. |
| attachment | string | Filled PDF attachment URL. |
| filledFields[] | string | PDF field name. |