Automate PDF Generation with n8n and TemplateFox

Self-hosted workflow automation

Use n8n's powerful workflow automation to generate PDFs. Self-host for complete control or use n8n Cloud. Connect to 400+ integrations and build complex document workflows.

  • Self-hosted or cloud - you choose
  • 400+ integrations available
  • Open-source and developer-friendly
Get Started for Free

100 free PDFs/month. No credit card required.

n8n
+
TemplateFox
Generated PDF - Emily Davis
Generated PDF - Robert Brown
Generated PDF - John Doe

How it works

Set up automated PDF generation using n8n's visual workflow builder.

1

Design your template

Use our visual drag-and-drop editor to create your PDF template. Add dynamic variables like {{name}} or {{total}}.

2

Create an n8n workflow

Add your trigger node (webhook, schedule, or app trigger) and connect an HTTP Request node.

3

Configure the HTTP node

Set up a POST request to our API with your API key and template data in the JSON body.

4

Process the response

Use the returned PDF URL to send emails, upload to storage, or trigger additional actions.

Popular use cases

See how teams use TemplateFox + n8n to automate their document workflows.

Form Submissions

Generate contracts, agreements, or receipts when someone submits a form via webhook or integrated form services.

E-commerce Orders

Create invoices, packing slips, or shipping labels automatically for Shopify, WooCommerce, or custom stores.

CRM Updates

Generate proposals, quotes, or contracts when deals move stages in HubSpot, Pipedrive, or any CRM.

Database Triggers

Create documents automatically when records are added or updated in PostgreSQL, MySQL, or MongoDB.

Webhook Events

Trigger PDF generation from any service that supports webhooks with full data transformation.

Scheduled Jobs

Generate reports, summaries, or batch documents on a schedule using n8n's cron triggers.

Powerful features

Everything you need to create professional PDFs at scale.

Visual Template Editor

Design templates with drag-and-drop. No HTML or CSS required.

Instant Generation

PDFs generate in 1-3 seconds and you get a download URL.

Dynamic Data

Pass any n8n data to populate your templates automatically.

Quick setup guide

Get started in under 10 minutes.

1. Get your API Key

Go to your Dashboard → API Key and copy your API key.

2. Create a new workflow in n8n

Add your trigger node - this could be a Webhook, Schedule, or any app trigger like Gmail, Slack, etc.

3. Add an HTTP Request node

Add an HTTP Request node and configure: Method: POST, URL: https://api.pdftemplateapi.com/v1/pdf

4. Configure authentication

Add a header: X-API-Key: your-api-key. Set body content type to JSON.

5. Add your template data

In the JSON body, include your template_id and data fields. Use expressions to map data from previous nodes.

Need detailed API documentation?

View API Docs

Ready to automate your PDFs?

Connect TemplateFox to n8n and start generating PDFs automatically. 100 free PDFs every month, no credit card required.

Get Started for Free

Automate your PDF generation

Complete documentation, no-code integrations, and a powerful API to help you generate PDFs at scale. Let us handle the boring stuff.