PDF4me icon

PDF4me

PDF4me for n8n automates document workflows: AI-powered parsing, classification, and data extraction, plus PDF conversion, generation, merge/split, editing, forms, stamps, signatures, OCR, barcodes and Swiss QR, invoices, image processing, security, and Word tools.

Actions92

Generate → Generate Documents (Multiple)

AI-generated

Summary

Generate multiple documents by combining a Word, HTML, or PDF template with JSON or XML data. Supply the template and data as text, binary properties, base64 strings, or URLs as supported by the selected input type; choose the output format and optionally set output filenames and PDF editability.

Inputs

  • Template File Type (required) — Choose Word (Docx), HTML, or PDF.
  • Output Type (required) — Choose PDF, Word (Docx), Excel (xlsx), or HTML. The available choices depend on the template type.
  • Template File Input Type (required) — Provide the template through an incoming binary property, a base64 string, a URL, or raw HTML code (HTML templates only).
  • Template Binary Property (required) — Name of the incoming binary property containing the template; used with Binary Data input.
  • Template Base64 Content (required) — Base64-encoded template content; used with Base64 String input.
  • Template File Name — Template filename including its extension. For URL, base64, and HTML-code inputs, the corresponding filename field is required.
  • Template File URL (required) — URL of the template file; used with URL input.
  • HTML Code (required) — Raw HTML template code; shown for HTML templates when HTML Code input is selected.
  • Document Data Type (required) — Choose JSON or XML for the template data.
  • Document Data Input Type (required) — Provide data as manually entered text, an incoming binary property, a base64 string, or a URL.
  • Document Data Text (required) — JSON or XML data entered manually; used with Text input.
  • Document Binary Property (required) — Name of the incoming binary property containing the data file; used with Binary Data input.
  • Document Base64 Content (required) — Base64-encoded data file content; used with Base64 String input.
  • Document Data File Name — Data filename including its extension. The filename field is required for base64 and URL inputs.
  • Document Data File URL (required) — URL of the JSON or XML data file; used with URL input.
  • Output File Name — Optional output filename or prefix; the UI description says multiple results receive numbered suffixes.
  • Keep PDF Editable — For PDF output, choose whether generated PDF form fields remain editable. Defaults to false.
  • Binary Data Output Name — Name for the generated binary data in the n8n output; defaults to data.

Output shape

Generated document file data in the n8n output.

The operation is described as generating multiple documents. The supplied source pack exposes the operation's execute function but omits its implementation body, so the exact number and structure of returned items, binary property layout, and whether the output filename prefix is numbered cannot be confirmed from the source shown.

Links

Discussion