Turn form submissions into branded PDF reports with PDFMint
UnknownWhat this workflow does
This workflow has 11 nodes and runs when someone submits an n8n form (“Field report”). Along the way it connects Pdfmint (community).
How it runs
Trigger: When someone submits an n8n form (“Field report”).
- Set report branding (Edit Fields (Set)): sets 4 fields: company, accent, footer…
- Check the submission is complete (If): checks a condition and branches into true / false
- Check remaining quota (Pdf Mint): usage
- Explain what went wrong (Edit Fields (Set)): sets 1 field: reason
- Is there quota left? (If): checks a condition and branches into true / false
- Show the error (n8n Form): shows the next form page
- Build the Markdown report (Code): runs custom JavaScript code
- Render Markdown to PDF (Pdf Mint): pdf
- Did the render succeed? (If): checks a condition and branches into true / false
- Hand back the PDF (n8n Form): shows the next form page
Services it uses
Before you upgrade to n8n 3.0
We can't fully verify this one: it relies on 1 community package, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).
- Check that n8n-nodes-pdfmint is verified or supports 3.0 (used in Check remaining quota, Render Markdown to PDF).
Nodes used (6)
- n8n Form Trigger
n8n-nodes-base.formTrigger - Edit Fields (Set)
n8n-nodes-base.set - If
n8n-nodes-base.if - Pdf Mint
n8n-nodes-pdfmint.pdfMint - Code
n8n-nodes-base.code - n8n Form
n8n-nodes-base.form
From the author
Turn form submissions into branded PDF reports An n8n Form takes a field report and PDFMint hands back a finished, branded PDF — no headless browser to run and no template editor to log into. What it does The form collects a title, an author, an optional site…