Files and EDI
Create PDF
Creates PDFs from a template, one per record or one for all records.
Nodes › FilesOpen in Neblex
- Good for
- Invoices, letters and reports
- Role
- Works on the records in a flow
- Find it in
- Nodes › Files
When to use it
- Every order needs an invoice or delivery note as a PDF.
- A report should be produced on a schedule and mailed.
- The same input must always give the same document.
Reach for something else when
Create fileWhen a text, CSV or JSON file is enough.Create ExcelWhen the recipient wants a spreadsheet.
Example
Create an invoice PDF for each order and attach it to the confirmation email.
How it works
- Settings
- Template (Typst): Typst markup with the record available as
record(one PDF per record) or the list asrecords(one PDF for all records); Layout; File name [document.pdf]. - Output
- One record per PDF with the file. Fonts are included; the template cannot reach files or the network, and the same input gives the same PDF.
- Example
= Invoice #record.numberthen a table ofrecord.lines, one PDF per order, attached to an email step.
Add it to a flow
- Open the flow from Build › Workflows.
- Open Nodes and find Create PDF under Files, or search for it. Click it or drag it onto the canvas.
- Drag from the previous step's output handle to its input, then open its settings with ✎ Edit.
- Run the flow and click the step to see the records it received and produced.
More in Files and EDI
Create ExcelBuilds an Excel workbook from all records, ready to attach or upload.Nodes › FilesCreate fileBuilds one CSV, JSON or text file from all records.Nodes › FilesRead fileReads a CSV, JSON or text file carried on a record back into records.Nodes › FilesRead EDIReads ANSI X12 or UN/EDIFACT documents into a structure you can map.Nodes › FilesBuild EDIBuilds EDI text from a structure, ready to send to a partner.Nodes › FilesValidate EDIChecks an EDI document's envelope and required business segments.Nodes › Files