Get Your PDFShift API Key
After registering, you’ll find your API key in your dashboard. Copy it – you’ll need it for authentication.
// Your API key format:
api:your_api_key_hereConvert HTML to PDF in your N8N workflows with simple HTTP requests. Automate document generation with the power of visual workflow automation.
This comparison is published by PDFShift. We aim for accuracy but acknowledge our perspective.N8N is a powerful workflow automation tool that lets you connect different services and automate tasks without writing code. By integrating PDFShift with N8N, you can automatically generate PDFs from HTML as part of your workflows.
You’ll need an API key from PDFShift. If you don’t have one yet:
Register for FreeYou can use N8N Cloud or self-host N8N on your own server. Visit n8n.io to get started.
Familiarity with creating workflows and using the HTTP Request node in N8N is helpful but not required.
After registering, you’ll find your API key in your dashboard. Copy it – you’ll need it for authentication.
// Your API key format:
api:your_api_key_hereOpen N8N and create a new workflow. Add a trigger node (e.g., Manual Trigger, Webhook, Schedule, etc.) to start your workflow.
Click the “+” button and search for “HTTP Request” node. Add it to your workflow after your trigger.
Set up the HTTP Request node with the following configuration:
Method: POST
URL: https://api.pdfshift.io/v3/convert/pdf
Authentication: Basic Auth
Username: api
Password: [Your API Key]
Body Content Type: JSONIn the “Body” section, add your JSON parameters. Here’s a basic example:
{
"source": "https://example.com",
"filename": "document.pdf"
}Trigger PDF invoice generation when a payment is received via webhook, then email it to the customer.
Schedule daily/weekly reports by fetching data from your database and converting it to PDF.
Create personalized contracts from templates when new deals are created in your CRM.
Automatically generate and send receipts when orders are placed in your e-commerce system.
For large or complex PDFs, use webhooks to process documents asynchronously:
{
"source": "https://example.com/large-document",
"webhook": "https://your-n8n-webhook-url"
}Create your free PDFShift account and start automating PDF generation in N8N today