Skip to content

Zapier Integration

TemplateFox has a native Zapier integration. Connect your account, add TemplateFox as an action in any Zap, and generate PDFs automatically when triggers fire — no code required.

Find TemplateFox on Zapier

Go to your Dashboard and copy your API key.

In Zapier, create a new Zap and choose your trigger app (Google Sheets, Typeform, Shopify, Stripe, etc.).

Search for TemplateFox in the action step. Select Generate PDF as the action event.

Paste your API key when prompted. Zapier will verify the connection automatically.

FieldDescription
TemplateSelect a template from the dropdown (fetched from your account)
Create Data with (Payload Type)Schema of Data shows one input per template variable (map trigger fields directly). JSON shows a single text field for a raw JSON payload — use it for templates with repeating rows like line items
Data fieldsIn Schema mode, one field per template variable, loaded from the selected template
URL Expiration (seconds)How long the PDF URL stays valid. Range: 60–604800. Default: 86400 (24 hours)
FilenameOptional custom filename (without .pdf)
PDF VariantOptional — generate a PDF/A-1b, PDF/A-2b, or PDF/A-3b archival PDF
Template VersionOptional — pin the generation to a tagged version, or leave on “Draft” to use the live editor
Upload to S3Optional — store the PDF in your own S3 bucket (with path and bucket override fields)

Click Test to generate a sample PDF, then turn on your Zap.

Most automations only need Generate PDF — the rest is there when you need it.

ActionDescription
Generate PDFGenerate a PDF from a template with dynamic data. Returns a signed URL and a Zapier file output (ready to drop into Gmail, Google Drive, Slack, etc.). Supports the PDF/A archival variant.
Generate PDF (Async)Same as above but queued — returns a job_id immediately. Pair with Get PDF Job for long renders and batches.
ActionDescription
Merge PDFsConcatenate 2+ PDFs (URL or base64) into a single document.
Extract PDF PagesPull selected pages from a PDF using a 1-3, 5, 7-9 syntax.
Rotate PDFRotate every page by a single angle, or apply a per-page rotation map.
SearchDescription
Get PDF JobLook up an async job by ID — returns status, result URL, errors.
List PDF JobsList recent jobs, optionally filtered by status.
Get AccountReturns your remaining credits and account email.

With Create Data with set to Schema of Data, Zapier shows one input per template variable and you map trigger fields directly. For example, if your trigger is a new Google Sheets row:

  • Map the “Customer Name” column to your template’s customer_name field
  • Map “Invoice Number” to invoice_number
  • Map “Amount” to total

For templates with repeating rows (like line items), switch Create Data with to JSON and pass the full payload as a JSON string.

After generation, the TemplateFox action returns:

FieldDescription
fileThe PDF as a Zapier file object — use this to attach the PDF in Gmail, upload to Google Drive, or post to Slack
urlSigned URL to download the PDF
filenameThe PDF filename
credits_remainingCredits left in your plan
expires_inSeconds until the URL expires

Use the PDF File output when a downstream step expects an actual file (email attachments, Drive uploads). Use the PDF URL when you just want a link in a message or a database row.

Invoice on new order — Shopify/Stripe triggers a new order, TemplateFox generates the invoice, Gmail sends it to the customer.

Certificate on course completion — Teachable/Thinkific triggers completion, TemplateFox generates a certificate, Dropbox stores it.

Receipt after payment — Stripe triggers a payment, TemplateFox generates a receipt, the PDF URL is sent via Slack or email.

Contract from CRM — HubSpot/Salesforce deal closes, TemplateFox generates the contract, Google Drive saves it.

“Template not found” — Make sure you have at least one template in your Dashboard. Templates must be saved before they appear in Zapier’s dropdown.

“Invalid API key” — Reconnect your TemplateFox account in Zapier with a valid API key from your API settings.

Fields not showing — After selecting a template, click Refresh Fields to reload the available template variables.