The official PDF4.dev node for n8n. Render invoices, certificates, shipping labels and any HTML template directly inside your workflow, then pipe the PDF to Gmail, Drive, S3, or any downstream node.
On any self-hosted n8n instance (v1.0+), open Settings → Community Nodes → Install and paste the package name:
n8n-nodes-pdf4After install, the PDF4.dev node appears in the node palette under the Transform category. Create a PDF4.dev API credential with an API key from your dashboard settings (starts with p4_live_), and you are ready to render.
Two resources, four operations. Everything you need to render and manage templates from a workflow.
Generate a PDF from a saved template with variable data. Pass a template ID or slug plus a JSON data object.
Generate a PDF from raw HTML without creating a template first. Handlebars variables supported.
List every template in your PDF4.dev account. Each template is returned as a separate n8n item so downstream nodes can iterate.
Fetch a single template by ID or slug. Useful for reading the latest HTML before rendering.
Three patterns that cover 80% of PDF generation needs in n8n. Drop the PDF4.dev node between your trigger and your delivery node, pass the data through, done.
The node authenticates with a single Bearer API key, sent on every request.
p4_live_ and is shown once.The Base URL field only needs to change for self-hosted PDF4.dev instances. Leave it as https://pdf4.dev for the hosted service.
The free tier is enough to run thousands of renders per month while you build your workflow. Upgrade only when you outgrow it.