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 Document From Template

AI-generated

Summary

Generate a document from a selected PDF4me template, supplying template data as text, a binary file, a base64 string, or a URL. Optionally include PDF metadata and choose whether generated PDF form fields remain editable; store the generated document in the configured binary property.

Inputs

  • Template Name or ID (required) — Select a template or enter its ID.
  • Document Data Input Type (required) — Choose Text, Binary Data, Base64 String, or URL for the data used by the template.
  • Document Data Type (required) — Choose JSON, XML, or CSV.
  • Document Data Text — For Text input, enter the data in the selected format.
  • Document Binary Property (required) — For Binary Data input, name the incoming binary property containing the data file.
  • Document Data File Name — Supply the data file name, including its extension. Required by the UI for Base64 String and URL inputs; optional for Binary Data input.
  • Document Base64 Content (required) — For Base64 String input, provide the encoded data file content.
  • Document Data File URL (required) — For URL input, provide the data file URL.
  • Meta Data JSON — Optional metadata JSON for fields such as title, author, subject, and custom fields.
  • Keep PDF Editable — Set whether generated PDF form fields remain editable. Defaults to false.
  • Output Binary Property — Name the binary property for the generated document. Defaults to data.

Output shape

A single item containing the generated document as binary data.

The output binary property is configurable and defaults to data. The provided source pack shows this action and its helpers only at signature level, so it does not establish the exact binary filename, MIME type, or additional JSON fields.

Links

Discussion