Skip to content
PDF Template Builder

Invoices, contracts & certificates
generated with live data.

Design the document once with a visual block/row builder, map it to real workflow data, and generate polished PDFs on demand. mPDF ships in the box — every template renders instantly with zero external services. Need true pixel-perfect fidelity for a complex layout? Flip on Cloudflare Browser Rendering as an optional upgrade.

No credit card mPDF built-in — zero setup Cloudflare rendering optional
PDF Template Builder — Invoice
mPDF · Ready
Elements
  • Heading
  • Table
  • Totals
  • QR code
  • Signature
  • +19 more
INVOICE{{invoice.number}}Due {{invoice.due_date}}
Bill To
{{customer.name}}{{customer.email}}
Invoice Date
{{invoice.date}}Terms: Net 15
DescriptionQtyRateAmount
{{items[0].name}}{{items[0].qty}}{{items[0].rate}}{{items[0].amount}}
{{items[1].name}}{{items[1].qty}}{{items[1].rate}}{{items[1].amount}}
Row repeats for each item in items[]
Subtotal{{totals.subtotal}} sum(items[].amount)
Tax (8%){{totals.tax}} subtotal * 0.08
Total{{totals.total}}
Bound to workflow data · Autosaved Generate PDF from Template
What you can build

One designer.
Every kind of document.

The PDF Template Builder lays out pages as rows and cells, then fills them with elements bound to real workflow data — built for the documents your automations actually need to produce.

24 elements, zero code

Lay out pages → rows → cells, then drop in the element every document type needs — from headings and tables to QR codes, barcodes and signatures.

Heading Table Totals Key-value QR code Barcode Signature Graph +16 more
See all features

Built-in totals & formula engine

Combine data with + - * / and percentages, or reach for sum(), count(), avg(), min() and max() over any data path — subtotal, tax and total compute automatically from a line-items array.

sum(items[].amount) avg(scores)

Dynamic data merge

Drop {{dot.notation.path}} merge tags anywhere, including array indexing like {{items[0].name}}. A tag that can't resolve prints as an em dash instead of breaking the layout.

Repeating sections

Bind a table, list or graph element to an array from your workflow and it repeats a row per item — exactly how invoice line items render.

21 self-hosted fonts

Set size, weight, color, line-height and spacing per role — heading, body, table, totals — from a library of self-hosted Google fonts.

Flexible page settings

Choose common page sizes like A4 and Letter, portrait or landscape orientation, margins in millimeters, and a header/footer with automatic {{page}} / {{pages}} numbering.

View pricing

Three ways to deliver

Save to the WordPress Media Library by default, choose a custom subfolder, or return the raw file — with automatic fallback so a run never dead-ends.

Rendering engine

Works with zero setup.
Scales to pixel-perfect.

Every template renders the moment you save it — no accounts to create, nothing to configure. Reach for a true-Chrome upgrade only if a layout demands it.

Default · always on

mPDF — built in

FlowMattic's default renderer ships in the box and needs no setup at all.

  • Works immediately — no accounts, no API keys
  • Every invoice, certificate and contract renders instantly
  • Zero external services, zero added cost
Optional upgrade

Cloudflare Browser Rendering

Flip on one toggle for pixel-accurate, true-Chrome output on complex layouts.

  • Real-Chrome rendering for pixel-accurate output
  • One account-level toggle — not required per template
  • Opt-in only — most templates never need it
Automatic fallback: if Cloudflare Browser Rendering is ever unreachable, FlowMattic quietly falls back to mPDF, so a workflow run never fails to produce a PDF.
How it works

From blank page to
PDF generated by a workflow.

Three steps take a template from an empty page to being generated inside one of your automations.

01

Design the template

Lay out pages, rows and cells, then drag in elements — heading, table, totals, QR code, signature and more.

02

Map your data

Bind cells to merge tags from any workflow step, and point a table, list or graph at an array for repeating rows like invoice line items.

03

Generate inside a workflow

Drop the Generate PDF from Template action after any trigger — a form, order or booking — and it hands the next step a ready Media Library URL.

Use cases

Documents your workflows
already need to send.

Invoices

Line items, tax and totals calculated automatically from order data.

Certificates

Recipient name, course and date merged onto a branded certificate layout.

Contracts

Signature and key-value fields filled in from a signed form submission.

Receipts

A lightweight receipt generated the moment a payment or booking completes.

FAQ

Questions, answered

No. mPDF ships built into FlowMattic and renders every invoice, certificate and contract out of the box — no external accounts, API keys or extra cost.

Bind a table element to an array — like a line_items array from an earlier workflow step — and it repeats a row per item. The built-in formula engine then computes subtotal, tax and total automatically using + - * /, percentages, and functions like sum(), count(), avg(), min() and max() over your data paths.

Yes — turn on the optional Cloudflare Browser Rendering upgrade for true-Chrome, pixel-accurate rendering. It's opt-in, not required, and if it's ever unavailable FlowMattic automatically falls back to mPDF so generation never fails.

Drop {{dot.notation}} merge tags anywhere on the canvas, including array indexing like {{items[0].name}}. Any tag that can't resolve prints as an em dash instead of breaking the layout.

Choose common page sizes like A4 and Letter, portrait or landscape orientation, margins in millimeters, and a header/footer with automatic {{page}} / {{pages}} numbering.

By default it saves to the WordPress Media Library; you can also send it to a custom subfolder or return the raw file, with automatic fallback so a run never dead-ends. A REST API is also available for generating PDFs on demand outside a workflow.

Design the document.
Let a workflow generate it.

24 elements, a built-in totals engine, and mPDF rendering that works with zero setup — with a pixel-perfect upgrade whenever you need it.