n8n-nodes-templatefox
v1.2.1
Published
n8n community node for TemplateFox - Generate PDFs from templates and manipulate PDFs via API
Maintainers
Readme
n8n-nodes-templatefox
This is an n8n community node for TemplateFox - a PDF generation API that lets you create professional PDFs from templates.
n8n is a fair-code licensed workflow automation platform.
Installation
Follow the installation guide in the n8n community nodes documentation.
npm:
npm install n8n-nodes-templatefoxn8n Desktop/Cloud:
- Go to Settings > Community Nodes
- Select Install
- Enter
n8n-nodes-templatefox - Agree to the risks and click Install
Operations
Generate PDF (sync)
Generate a PDF from a template with your data — the main operation. Returns a signed URL or a binary file.
Features:
- Template dropdown — pick from your saved templates
- Template version dropdown — pin to a tagged version, or use the live draft
- Dynamic fields — auto-populated from the selected template
- JSON mode — raw JSON input for arrays and nested data
- PDF/A variant — generate
pdf/a-1b,pdf/a-2b, orpdf/a-3barchival PDFs - Custom filename / URL expiration / S3 upload options
Generate PDF (Async)
Same inputs as Generate PDF, but queues a job and returns a job_id immediately. Best for large documents, batches, or when you don't want to hold an HTTP connection open. Pair with Get PDF Job (or a webhook) to retrieve the result.
PDF tools (no template needed)
- Merge PDFs — concatenate 2+ PDFs (URL or base64) into a single document
- Extract PDF Pages — pull selected pages using a
1-3, 5, 7-9syntax - Rotate PDF — rotate every page by a single angle, or apply a per-page rotation map
Read-only operations
- Get PDF Job — look up an async job by ID
- List PDF Jobs — list recent jobs, optionally filtered by status
- Get Account — returns remaining credits and account email
The node is also usableAsTool: true, so any of these operations can be exposed to an n8n AI Agent.
Credentials
To use this node, you need a TemplateFox API key:
- Sign up at templatefox.com
- Go to your API Dashboard
- Copy your API key
- In n8n, create new TemplateFox API credentials and paste your key
Usage
Basic Example
- Add the TemplateFox node to your workflow
- Configure your TemplateFox API credentials
- Select a template from the dropdown
- Fill in the template fields with your data
- Execute the workflow to generate a PDF
Using JSON Mode
For complex data structures (arrays, nested objects):
- Select JSON as the Data Input Mode
- Enter your data as JSON:
{
"customer_name": "John Doe",
"invoice_number": "INV-001",
"items": [
{"description": "Widget A", "quantity": 2, "price": 10.00},
{"description": "Widget B", "quantity": 1, "price": 25.00}
]
}Output
The node returns:
url: Direct URL to download the PDFfilename: The PDF filenamecredits_remaining: Your remaining API creditsexpires_in: Seconds until the URL expires
Resources
Support
- TemplateFox Support: [email protected]
- GitHub Issues: Report bugs or request features
