+Use the official PDFMunk n8n node to convert HTML, CSS, and URLs into pixel-perfect PDFs — without writing a single line of code.
n8n is a powerful open-source workflow automation tool that lets you connect apps, APIs, and services without code. With over 400 native integrations and a visual drag-and-drop editor, teams use n8n to build automation that runs 24/7 — on their own infrastructure or in the cloud.
By combining n8n with PDFMunk, you can trigger PDF generation from any event — a new form submission, a Stripe payment, a CRM update — and route the finished document wherever you need it.
Two powerful operations cover every PDF automation scenario your workflow demands.
Convert raw HTML and CSS markup into a pixel-perfect PDF document. Supports inline styles, external stylesheets, custom fonts, and complex layouts.
Capture any public webpage URL as a high-fidelity PDF — ideal for archiving reports, generating invoices from web pages, or snapshotting dashboards.
Every PDFMunk option is exposed as a configurable field directly inside your n8n workflow — no custom API calls required.
| Option | Available Values |
|---|---|
| Page Format | A4, A3, A5, Letter, Legal, Tabloid |
| Orientation | Portrait, Landscape |
| Margins | Top, Right, Bottom, Left (in mm or px) |
| Header HTML | Custom HTML template with page number & total pages |
| Footer HTML | Custom HTML template with page number & total pages |
| Print Background | Enable or disable background colors and images |
| Scale | 0.1 – 2 (default: 1) |
| Wait Until | load, domcontentloaded, networkidle0, networkidle2 |
From zero to automated PDF generation in minutes.
Open your n8n instance and go to Settings → Community Nodes. Search for "PDFMunk" and click Install. The node will appear in your workflow palette immediately.
In n8n, navigate to Credentials → New Credential → PDFMunk API. Paste your PDFMunk API key (found in your dashboard under API Keys) and save.
Drag the PDFMunk node into your canvas. Choose an operation — "HTML to PDF" or "URL to PDF" — and configure the page settings to match your document requirements.
Wire PDFMunk between your trigger (webhook, schedule, CRM event) and downstream nodes (email, Google Drive, S3). Activate the workflow and your PDF generation runs on autopilot.
Prefer to use the PDFMunk REST API from an n8n HTTP Request node? Simply POST your HTML payload to our endpoint and receive a PDF binary in the response — ready to pass to any downstream node.
Read API DocsPOST https://api.pdfmunk.com/pdf
Authorization: Bearer YOUR_API_KEY
Content-Type: application/json
{
"html": "<h1>Hello, PDF!</h1>",
"options": {
"format": "A4",
"landscape": false,
"margin": {
"top": "20mm",
"right": "15mm",
"bottom": "20mm",
"left": "15mm"
},
"printBackground": true
}
}From invoices to certificates, any workflow that produces a document can benefit from automated PDF generation.
Trigger on new Stripe payment → build HTML invoice → convert to PDF with PDFMunk → email to customer via Gmail or SendGrid.
Schedule nightly jobs that snapshot analytics dashboards from URLs, convert them to PDF, and store them in Google Drive or S3 for auditing.
On deal closed in HubSpot or Pipedrive, generate a signed contract PDF from an HTML template and attach it directly to the CRM record.
Capture competitor pages or internal dashboards on a schedule, convert them to PDF, and send a digest email to your team every morning.
On course completion in your LMS, render a personalised certificate HTML template and produce a downloadable PDF in seconds.
Convert Shopify/WooCommerce order confirmation HTML emails to PDF packing slips and route them to your warehouse management system automatically.
PDFs are generated in under 2 seconds on average, so your workflows never bottleneck on document creation.
Built on a global CDN with redundant infrastructure — your automations keep running around the clock.
Chromium-based rendering ensures your PDFs look exactly like the HTML you send, fonts and all.
Sign up for free and start converting HTML to PDF inside your n8n workflows today — no credit card required.