NextCloud PDF icon

NextCloud PDF

Lit et remplit les champs de formulaire (AcroForm) de PDFs stockés sur Nextcloud

Fill Fields

AI-generated

Summary

Fill form fields in a PDF stored on Nextcloud using specified field values, then either save the filled PDF back to Nextcloud or return it as binary data in the workflow.

Inputs

  • filePathMode (required) — Choose how to specify the PDF file: either from a curated folder+file list or by entering a file path expression.
  • folderPath — Select the Nextcloud folder to filter PDFs when choosing from the list (only shown if selecting from list). Defaults to root '/'.
  • filePathFromList — Select the PDF file within the chosen folder to fill (only shown if selecting from list).
  • filePath — Specify the PDF file path as an expression (only shown if choosing path mode).
  • dataMode (required) — Choose how to provide the field values: as individual key-value pairs or as a JSON object.
  • fieldValues (required) — Provide one or more field name and value pairs to fill (only if dataMode is 'keyValue'). Field names are loaded from the PDF's existing form fields. Checkbox values accept several boolean-like strings.
  • jsonData (required) — JSON object with field names as keys and values to fill in the PDF (only if dataMode is 'json'). Supports standard boolean values for checkboxes.
  • flattenForm — Boolean to flatten the form after filling, making the fields part of the document content and non-editable.
  • outputMode (required) — Choose whether to save the filled PDF back to Nextcloud or to return it as binary data in workflow output.
  • outputPathMode — If saving to Nextcloud, specify if the destination is chosen by folder + filename or by full path expression.
  • outputFolder — Target folder on Nextcloud to save the filled PDF (only if saving to Nextcloud and using folderBrowser mode).
  • outputFileNameBrowser — Filename for saving the PDF when using folder browser mode. Supports expressions and must end with .pdf.
  • outputPath — Full Nextcloud path to save the PDF including filename (required if saving to Nextcloud and using path mode).
  • binaryPropertyName — Name of the binary property in the output item containing the filled PDF binary (only if returning binary).
  • outputFileName — Filename for the binary output PDF item (only if returning binary).

Output shape

a single item per input with JSON metadata about success and details; optionally includes binary data with the filled PDF

When saving to Nextcloud, returns JSON with success status, the input PDF path, output path, list of filled and skipped fields, and flatten flag. When returning binary, returns JSON metadata plus binary property with the PDF file content and filename. Errors per item are returned if continueOnFail is enabled.

Links

Discussion