Automate PDF generation with Zapier. Create invoices, contracts, proposals, and more from Google Sheets, Airtable, HubSpot, or any of 5,000+ connected apps. No code required.
Before automating PDF creation with Zapier, you need a template in DocuQueue. The template defines your document layout and merge fields that will be populated with data from your zap.
Log in to DocuQueue and go to Templates
Click Create Template or choose a pre-built template
Add merge fields using the {{fieldName}} syntax (e.g., {{customerName}}, {{amount}}, {{date}})
Merge fields in your template will be replaced with data from Zapier. Use descriptive names like {{customerName}} instead of {{field1}} to make mapping easier later.
Customer: {{customerName}}
Amount: {{amount}}
Date: {{date}}
Invoice #: {{invoiceNumber}}
Now add DocuQueue as an action in your Zapier zap and connect your account using your API key. This enables Zapier PDF automation from any connected app.
Open your zap in Zapier and click + Add Action
Search for DocuQueue and select it
Choose Generate Document as the action event
Click Connect a new account and paste your DocuQueue API key
DocuQueue Dashboard > Settings > API Keys > Copy Key
In the DocuQueue action setup, choose which template to use for PDF generation. All templates from your DocuQueue account will appear in the dropdown.
In the Template dropdown, select your template (e.g., "Invoice Template")
Choose your Payload Type: Dictionary or JSON (see below)
DocuQueue supports two ways to send data to your template:
Simple key-value pairs for flat data. Best for most use cases.
customerName: "Acme Corp"amount: "$1,200.00"
Structured data for complex documents with tables and line items.
{"items": [{"name": "Widget", "qty": 3}]}
Connect your trigger app's data to your DocuQueue template fields. This is where you tell Zapier which data goes into which merge field.
In the Set up action section, click on each template field
Select the corresponding field from your trigger app (e.g., "Customer Name" from Google Sheets)
Repeat for all fields you want to populate
You can combine static text with dynamic fields. For example, set a field to Invoice for {{customerName}} to include both fixed and variable content.
Run a test to verify your PDF generates correctly, then turn on your zap. Your Zapier document generation workflow is now live.
Click Test action in Zapier to generate a sample PDF
Check the generated PDF: are fields populated correctly? Is formatting right?
If something looks wrong, adjust your template or field mapping and test again
Once satisfied, click Publish to activate your zap
Once DocuQueue generates your PDF, use Zapier to deliver it however you need. Add another action step after DocuQueue:
Send via Gmail, Outlook, or any email app
Auto-upload to a specific folder
Post PDF to a channel or DM
Save to any Dropbox folder