Parse Document in Zapier
PDF4me Parse Document runs your saved parse template against a PDF inside a Zapier Zap and returns the extracted fields ready to map into the next step. Trigger from any of 6,000+ Zapier apps (Gmail, Dropbox, Slack, Google Drive, OneDrive, webhooks), reference the template by Template Name (TemplateId), and route the parsed values straight into Google Sheets, Airtable, HubSpot, Pipedrive, QuickBooks, or any downstream app.
Before you run this action: create a parse template in the PDF4me dashboard. Define your capture keys and pick Regex Expression for stable patterns or JavaScript Expression for conditional logic. The Zapier action references that template by TemplateId. See Prepare Parse Info for Document for full setup, Regex examples (INV-\d{6,10}, \d{2}/\d{2}/\d{4}), and two working JavaScript Expression classifier samples.
Authenticating Your API Request
The PDF4me action in Zapier requires a PDF4me account connection. Sign in once with your API key and reuse it across every PDF4me action in your Zap.
Important Facts You Should Not Miss
text variable for classification and fallback rules. Each capture key becomes an output field on the action.
Parameters
| Parameter | Required | What it does | Example |
|---|---|---|---|
| File | Yes | Binary PDF from any upstream Zapier step: Gmail New Attachment, Dropbox New File in Folder, Google Drive New File in Folder, OneDrive New File, Slack New File, webhook with file payload. Pick from the prior step output. | Attachment from Gmail |
| Document Name | Yes | Source filename including .pdf extension. Usually mapped from the same upstream step Filename output. | invoice.pdf |
| Template Name | Yes | TemplateId GUID from the PDF4me dashboard. Identifies which parse template (capture keys + extraction rules) the action should apply. | 12345678-1234-1234-1234-123456789abc |
Expression types in your parse template
Regex ExpressionStable patternsINV-\d{6,10}), dates (\d{2}/\d{2}/\d{4}), amounts ($?\d{1,3}(?:,\d{3})*(?:.\d{2})?). Around 80% of production capture keys.JavaScript ExpressionConditional logic and classifierstext; return a string. Multi-marker classification, fallback rules, date normalization. See Prepare Parse Info for Document for two working samples.Output
The action returns the parsed field data as Zapier output values, with one field per capture key in your template. Pick them from the dynamic field picker in any downstream step.

Zap examples
Common Zapier patternsTypical ways to chain Parse Document into a Zap.
- Gmail New Attachment triggers on a label such as Vendor Invoices.
- Filter passes only files ending in .pdf.
- Parse Document runs the Invoice template against the attachment.
- Google Sheets Create Spreadsheet Row writes invoiceNumber, totalAmount, invoiceDate into the AP tracker.
- Dropbox New File in Folder triggers on /receipts.
- Parse Document runs the Receipt template.
- Airtable Create Record writes vendor, date, total, items into the expense base.
- Slack Send Channel Message posts a summary to #finance.
- Webhooks by Zapier Catch Hook receives an inbound contract PDF.
- Parse Document extracts the parties, contract value, start date, end date.
- HubSpot Create or Update Deal writes the contract data into the deal record.
- Outbound webhook notifies the deal owner.