Node referenceFiles & PDF
PDF_GENERATOR
PDF_GENERATOR node.
What it does
PDF_GENERATOR node.
Inputs & outputs
| Input handle |
|---|
| None |
| Output handle |
|---|
| None |
Configuration
No configuration.
Example
How it works
PDF_GENERATOR renders a PDF synchronously from a saved template. Pick the template via templateId; every variable the template expects becomes a dynamic input port on the node. At runtime EzFlow fills the template with the wired values and returns the finished document on the base64 output, ready to attach to an email or save to storage.
Example
Scenario: Generate a personalized contract PDF and email it.
- Upstream nodes provide the values the template needs (e.g.
customerName,amount,date). - Add a PDF_GENERATOR node and select the contract
templateId. Wire each template variable into its matching input port. - The node outputs
base64. Pass it through BASE64_TO_ATTACHMENT, then into SEND_MAIL.
DATA ──► PDF_GENERATOR ──(base64)──► BASE64_TO_ATTACHMENT ──► SEND_MAILBecause generation is synchronous, the Workflow waits for the PDF before continuing — use ASYNC_PDF_GENERATOR instead when you only need the file saved to storage and don't want to block.