@pdfbrew/n8n-nodes-pdfbrew
v0.1.2
Published
n8n community node for pdfbrew — PDF generation API for invoices, receipts, and document automation
Maintainers
Readme
@pdfbrew/n8n-nodes-pdfbrew
n8n community node for pdfbrew — PDF generation API for invoices, receipts, and document automation.
Installation
Self-hosted n8n
- Go to Settings → Community Nodes
- Click Install
- Enter
@pdfbrew/n8n-nodes-pdfbrew - Click Install
The Pdfbrew node will appear in your node panel.
n8n Cloud
Community nodes on n8n Cloud must be allowlisted by n8n support.
- Email
[email protected]and request allowlisting of@pdfbrew/n8n-nodes-pdfbrew - Once approved, it will appear in Settings → Community Nodes and you can install it normally
Authentication
- Sign up at pdfbrew.coffee and get an API key from the dashboard
- In n8n, create a new Pdfbrew API credential
- Paste your API key (format:
pdfbrew_live_...)
Operations
Render from HTML
Generate a PDF from an HTML string with optional CSS.
{
"source": { "type": "html", "html": "<h1>Invoice #001</h1>" },
"options": { "format": "A4" }
}Render from URL
Generate a PDF by rendering a webpage URL.
{
"source": { "type": "url", "url": "https://your-app.com/invoice/123" }
}Render from Markdown
Generate a PDF from a Markdown string.
# Receipt #RCP-001
| Item | Amount |
|------|--------|
| Pro Plan | $29.00 |Get Render
Retrieve the status and download URL of a render by ID.
Example Workflows
Shopify order → Invoice PDF → Email to customer
Shopify Trigger (new order)
→ Pdfbrew (Render from HTML, inject order data)
→ Gmail (send PDF URL to customer)Google Sheets row → PDF → Save to Drive
Google Sheets Trigger (new row)
→ Pdfbrew (Render from HTML template)
→ Google Drive (upload PDF)Stripe payment → Receipt PDF → Slack notification
Stripe Trigger (payment succeeded)
→ Pdfbrew (Render from Markdown)
→ Slack (post PDF link to #billing)Options
| Option | Default | Description | |--------|---------|-------------| | Page Format | A4 | A4, A3, Letter, Legal | | Landscape | false | Portrait or landscape | | Print Background | true | Include CSS backgrounds | | Scale | 1 | 0.1–2 | | Wait For | Network Idle | When to consider the page loaded | | Wait for Completion | true | Poll until PDF is ready | | Max Wait (seconds) | 60 | Timeout for async renders |
Response
On success, the node returns:
{
"id": "rnd_...",
"status": "completed",
"output": {
"url": "https://api.pdfbrew.coffee/v1/renders/rnd_.../file?...",
"expires_at": "2026-07-04T08:00:00Z",
"sha256": "...",
"bytes": 26782,
"pages": 1
}
}Use {{ $json.output.url }} in downstream nodes to access the PDF.
