Generate PDFs with Zapier
Turn any Zapier trigger into a PDF. A Webhooks step calls PDFgen and hands the next step a hosted link.
Whenever something happens in your stack — a new form submission, a paid order, a signed contract — Zapier can turn it into a PDF. Add a Webhooks by Zapier action that POSTs the trigger’s data to PDFgen, and pass the returned link to your next step.
Because PDFgen renders server-side and returns a hosted URL, there’s nothing to host and no file handling in the Zap.
What is Zapier?
Zapier connects thousands of apps with no-code automations (“Zaps”). Its Webhooks by Zapier action can POST to any REST API, so it can call PDFgen directly — no native app required.
How to generate PDFs with Zapier
Connect through Webhooks by Zapier (POST) — no native app needed. Each step calls the PDFgen API and returns a hosted PDF link.
- 1
Pick a trigger
Start your Zap with any trigger — a new Google Sheet row, Typeform response, Stripe payment, etc.
- 2
Add a Webhooks by Zapier action
Choose the “POST” event. Webhooks by Zapier is a built-in (premium) action.
- 3
Point it at PDFgen
Set the URL to https://pdfgen.com/api/v1/generate, add the Authorization header, and build a JSON body with your template_id (or html) plus data mapped from the trigger. Set export_type to "url".
- 4
Use the PDF link
Map the returned url field into the next step — email it, save it to a row, attach it, or post it to Slack.
- Method
- POST
- URL
- https://pdfgen.com/api/v1/generate
- Header
- Authorization: Bearer pdfg_live_xxx
JSON body
{"template_id": "tmpl_xxx","data": { "name": "Acme Corp", "total": "$2,400.00" },"export_type": "url"}
The response is { "url": "https://…" } — a hosted link to the PDF. Use html instead of template_id to send raw markup.
What you can build
- Email a PDF invoice when an order is paid
- Generate a certificate when a course is completed
- Turn form submissions into branded PDFs
- Save a contract PDF to Drive when a deal closes
Frequently asked questions
- Do I need a PDFgen Zapier app?
- No. Use the built-in “Webhooks by Zapier” action to POST to the PDFgen API directly — no native app needed.
- How do I use the generated PDF in later steps?
- Send export_type "url" and PDFgen returns a hosted link in the url field. Map that field into any later step.
- Is the Webhooks action free?
- Webhooks by Zapier is a premium action on Zapier’s side; your PDFgen usage is billed per render on your PDFgen plan.