Connecting a document parsing API to Zapier, Make or n8n comes down to three decisions: which platform runs the workflow, whether you use the platform's ready-made app or a plain HTTP request, and how you handle files that take longer to process than the platform will wait. This guide covers all three for PDF Vector, with the real action names and fields on each platform, the HTTP fallback for anything the apps don't expose, the async callback option for long files, and the errors you should plan for.
What you are connecting
PDF Vector is a REST API (POST https://global.pdfvector.com/api/<group>/<operation>) for parsing, questioning and extracting data from documents, plus a set of academic search APIs. On all three automation platforms it is an action (or module, or node). There are no PDF Vector triggers: the workflow starts with whatever app receives the file, such as Gmail, Outlook, Google Drive, Dropbox, a form or a webhook, and passes the file or its URL to PDF Vector.
Every document action comes in three flavours:
| Operation | Input | Output | Use it for |
|---|---|---|---|
| Parse | The file | markdown (the whole document, tables included) | Archiving, search, feeding an AI step |
| Ask | The file and a question | markdown (a short answer) | One fact per file, posted to Slack or a CRM note |
| Extract | The file, a prompt and a JSON schema | data (JSON in your schema's shape) | Anything that writes to a spreadsheet, database or app |
And four document types: general documents, invoices, identity documents and bank statements. Here is how the names map across platforms:
| Operation | Zapier action | Make module | n8n node |
|---|---|---|---|
| Document Parse | Parse Document | Parse a document | Resource: Document, Operation: Parse |
| Document Ask | Ask About Document | Ask a document | Resource: Document, Operation: Ask |
| Document Extract | Extract Data From Document | Extract structured data from a document | Resource: Document, Operation: Extract |
| Invoice Extract | Extract Data From Invoice | Extract structured data from an invoice | Resource: Invoice, Operation: Extract |
| Bank Statement Extract | Extract Data From Bank Statement | Extract structured data from a bank statement | Resource: Bank Statement, Operation: Extract |
| Identity Extract | Extract Data From Identity Document | Extract structured data from an identity document | Resource: Identity Document, Operation: Extract |
Parse and Ask follow the same pattern for invoices, bank statements and identity documents. The academic actions differ by platform: Zapier and Make have Search, Fetch, Parse and Find Citations (16 actions in total on each), while the n8n node has Search, Fetch, Find Citations, Paper Graph, Similar Papers and Search Grants, but not Academic Parse.
Zapier, Make or n8n: which one to use
All three can run the same document workflow. They differ in how they bill, how they branch, and what happens with slow files.
| Zapier | Make | n8n | |
|---|---|---|---|
| Best for | Short linear flows across the most apps | Visual scenarios with routers, iterators and many steps | Full control, code steps, self-hosting |
| Billing | Per task | Per operation | Per execution on n8n Cloud; free when self-hosted |
| Branching | Paths, Filters | Routers, Filters | IF, Switch, any number of branches |
| Arrays (line items, transactions) | Flattened into line-item fields | Iterator, Array aggregator | Split Out, Code node |
| Custom code | Code by Zapier (JS or Python) | Built-in functions in mapping and filters | Code node (JS or Python) |
| Long-running files | Handled for you: the action waits for PDF Vector's callback | Module waits up to 300 seconds; use the HTTP + webhook pattern beyond that | Node waits for the response; use the HTTP + Wait pattern for very long files |
| PDF Vector Document ID field | No | No | Yes |
A practical rule:
- Zapier if the flow is trigger, extract, write one record, and the people maintaining it are not developers.
- Make if one document becomes many records (an invoice with line items, a statement with transactions) or the flow branches several ways.
- n8n if you need code for validation, want to self-host for data control or cost, or expect high volume where per-task pricing adds up.
Mixing is fine: for example, n8n for high-volume extraction and a Zap owned by the ops team for notifications. Keep the JSON Schema in one shared place so every tool extracts the same fields.
Whatever you pick, the platform bills separately from PDF Vector. A Zapier task or Make operation costs you on that platform; the document processing costs PDF Vector credits.
Set up PDF Vector in Zapier
- Create an API key in the PDF Vector app. The free plan includes 100 credits per month, no card required.
- Start a Zap with your trigger, for example Gmail "New Attachment" or Google Drive "New File in Folder".
- Add a PDF Vector action. Search for PDF Vector and choose the action, for example Extract Data From Invoice.
- Connect your account. Paste the API key. Leave the domain field on its default unless your company has a dedicated PDF Vector instance, in which case enter its domain.
- Map the file. Use File for an attachment or file object from the trigger, or Document URL for a public link. Fill only one.
- Fill the operation fields. Extract needs an Extraction Prompt and a JSON Schema (paste valid JSON; the free JSON Schema Editor builds one visually). Ask needs a Question. Parse Document has an optional Page-separated output switch that adds a
pagesarray. - Leave Model on Auto to start, then test and publish.
Two Zapier-specific details:
- The test step does not process your file. When Zapier loads sample data, the action returns a placeholder with a
_notefield instead of calling the API, so you map fields from the built-in sample (data,markdown,pageCount,credits, ...). Real values arrive on live runs. - Long files are already async. The Zapier actions send a Zapier callback URL with every request. PDF Vector answers immediately, processes the file, and posts the result back, and Zapier resumes the Zap when it arrives. You don't need to do anything for long documents, and failures (for example, out of credits) still surface as a failed step.
Extract output becomes one field per schema property, which makes mapping into Google Sheets or a CRM straightforward. Arrays such as line items are flattened, so if you need to loop over them, Make or n8n is easier. For a complete Zap with validation, see Automate Invoices in Zapier, Make and n8n.
More on the Zapier app: PDF Vector for Zapier.
Set up PDF Vector in Make
- Add a module. In your scenario, click the plus button, search for PDF Vector and pick a module such as Extract structured data from a bank statement.
- Create a connection. Paste your API key. The domain defaults to
global.pdfvector.com; change it only for a dedicated instance. - Map the file. Either a Document URL, or the File and File Name from an earlier module (Gmail, Google Drive "Download a File", Dropbox, Airtable attachments, and so on).
- Fill the fields. Extract modules need a Prompt and a JSON Schema. Parse a document has a Page-separated output option.
- Run once. The Extract output bundle contains
data,pageCount,model,credits,requestIdanddocumentId. Because your schema defines what is insidedata, run the scenario once with a real file so Make learns the fields, then map them in later modules. - Add routing and schedule. Use a Router to split valid and suspicious results, an Iterator to turn
data.lineItemsordata.transactionsinto one bundle per item, and turn on scheduling.
The Make modules call the API synchronously and wait up to 300 seconds. That covers typical invoices, statements and short reports. For files that may take longer (hundreds of pages on max), use the callback pattern described below.
Make maps PDF Vector errors to its own error types, which matters for error handlers:
| HTTP status | Make error type | Typical cause |
|---|---|---|
| 400, 404, 422 | DataError | Bad input, unreadable or empty document, invalid schema |
| 401, 403 | InvalidAccessTokenError | Wrong or deleted API key |
| 402 | DataError | Monthly credits used up, or a billing hold |
| 429 | RateLimitError | Too many requests at once |
| 500, 502, 503, 504 | ConnectionError | Temporary server-side problem |
Attach a Break error handler (with automatic retries) to the PDF Vector module for RateLimitError and ConnectionError, and route DataError to a review path, because retrying a bad file does not fix it. More on the Make app: PDF Vector for Make.
Set up PDF Vector in n8n
PDF Vector is a verified community node (n8n-nodes-pdfvector), so it appears in the nodes panel on n8n Cloud. On self-hosted n8n you can also install it from Settings > Community nodes.
- Add the node after your trigger and create a PDF Vector credential with your API key.
- Pick Resource and Operation: Document, Bank Statement, Invoice, Identity Document or Academic; then Parse, Ask or Extract.
- Set Input Type. URL for a public link, or Binary Data plus Input Binary Field for a file from an earlier node. The Gmail trigger, for example, produces binary properties such as
attachment_0; the Read/Write Files node producesdataby default. - Fill the operation fields: Question for Ask; Extraction Prompt and JSON Schema for Extract; Include Pages for Document Parse.
- Set Document ID (optional). Map something that identifies the file in your system, such as the email message ID or your database row ID. It is echoed back in the output and recorded with the usage, so you can trace credits to files.
- Map the output. Parse and Ask return
markdown; Extract returnsdata; academic operations return results. Use Split Out ondata.lineItemsordata.transactionsto get one item per row.
For error handling, set the node's On Error setting to continue using the error output, and connect that output to a branch that logs the file and notifies someone. More on the node: PDF Vector for n8n.
The HTTP fallback
Use a plain HTTP request instead of the app when you need something the app doesn't expose:
- the async
callbackon Make or n8n, documentIdon Zapier or Make,- an endpoint the app doesn't include on that platform (for example Academic Parse on n8n, or Paper Graph on Zapier and Make),
- a newer API parameter that hasn't reached the app yet.
The request is the same everywhere:
curl -X POST https://global.pdfvector.com/api/document/extract \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-H "x-pdfvector-document-id: order-2026-0412" \
-d '{
"url": "https://example.com/files/purchase-order.pdf",
"prompt": "Extract the PO number, buyer, order date as YYYY-MM-DD, and every line item.",
"schema": {
"type": "object",
"properties": {
"poNumber": { "type": "string" },
"buyer": { "type": "string" },
"orderDate": { "type": "string" },
"lineItems": {
"type": "array",
"items": {
"type": "object",
"properties": {
"sku": { "type": "string" },
"quantity": { "type": "number" },
"unitPrice": { "type": "number" }
}
}
}
},
"required": ["poNumber", "lineItems"]
},
"model": "auto"
}'
How that maps to each platform:
- Zapier: Webhooks by Zapier (a paid Zapier plan feature), Custom Request, method POST, data as the raw JSON body, and the two headers.
- Make: HTTP, Make a request, method POST, body type Raw, content type JSON, headers as above.
- n8n: HTTP Request node, method POST, authentication as a header (or a Header Auth credential holding
Authorization: Bearer ...), body JSON.
The document ID can also go in the JSON body as documentId; the header wins if you send both. Send exactly one of url, base64 or a multipart file. In no-code tools, url is easiest when the file already has a public or signed link; otherwise convert the file to a base64 string (in n8n, the "Extract From File" node's "Move File to Base64 String" operation; in Make, the built-in base64 functions) and send it as base64. Store the API key in the platform's credential or connection store, not in a plain text field that others can read.
Long files: the async callback
Every document operation accepts an optional callback object. When you include it, PDF Vector returns 202 with {"status": "processing"} straight away, processes the file in the background, and POSTs the full result (the same JSON a synchronous call would return) to your URL when it is done. If processing fails, the POST carries the header X-Pdfvector-Callback-Failed: true and a body with message, code and, when available, requestId.
Rules that come from how the callback works:
- JSON requests only. The callback is read from a JSON body, so send
urlorbase64, not a multipart upload. - Public endpoint. The callback URL must be a public
http(s)address; private and local addresses are rejected with a 400. - One delivery. The result is POSTed once, with a 30-second timeout and no redirects followed. Answer quickly with a 2xx and do the heavy work afterwards.
- Correlate with
documentId. Successful callbacks includedocumentIdif you sent one. Failure bodies don't, so keep a mapping from the callback URL (or a token in it) to your record.
In n8n: HTTP Request plus Wait
- HTTP Request node with the JSON body above, plus
"callback": { "url": "{{ $execution.resumeUrl }}" }. - Wait node set to Resume: On Webhook Call, HTTP method POST.
- After the Wait node,
$json.bodyholds the PDF Vector result. Add an IF node that checks for acodefield (present only on failures) or for thex-pdfvector-callback-failedheader.
On self-hosted n8n, the resume URL must be reachable from the internet, so set n8n's public webhook URL correctly.
In Make: two scenarios
- Scenario A sends the HTTP request with
"callback": { "url": "<your Make webhook address>" }and ends. - Scenario B starts with Webhooks > Custom webhook on that address and continues with validation and writing results. Turn on the webhook's option to get request headers if you want to branch on the failure header; otherwise branch on whether
codeis present.
In Zapier
Nothing to build: the PDF Vector actions already use Zapier's callback mechanism.
Error handling that works in no-code tools
Failed requests are never charged credits, so retrying is safe from a billing point of view. What matters is retrying the right errors:
| Status | Meaning | What the workflow should do |
|---|---|---|
| 400 | Bad input: no file, unsupported format, file over the tier's size or page limit, password-protected PDF, invalid JSON Schema, or a URL that could not be downloaded | Don't retry as is. Fix the input, send the file instead of a URL, or move to a tier with higher limits |
| 401 | Invalid or deleted API key | Alert the workflow owner |
| 402 | Out of monthly credits or a billing hold | Stop and alert; retrying will not help until credits reset or billing is fixed |
| 422 | Empty document, no readable text, or extraction failed | Retry once on a higher tier (pro or max), then send to review |
| 429 | Rate limit | Retry with a delay |
| 5xx | Temporary server problem | Retry with backoff |
Two limits cause most 400s: nano, mini and pro accept up to 40 MB and 30 pages (max and auto up to 500 MB and 2,000 pages), and image files (PNG, JPG, TIFF, BMP, HEIF) need pro, max or auto. Leaving Model on Auto avoids both.
Beyond API errors, validate the extracted data before writing it anywhere: required fields present, totals that add up, dates in a sensible range. Route anything that fails to a person rather than to your system of record.
What a workflow costs
Credits are per page, and the tier sets the rate:
| API | nano | mini | pro | max |
|---|---|---|---|---|
| Document Parse | 1 | 2 | 4 | 8 |
| Document Ask / Extract | 2 | 4 | 8 | 16 |
| Invoice / Identity / Bank Statement Parse | – | – | 6 | 10 |
| Invoice / Identity / Bank Statement Ask / Extract | 6 | 10 | 14 | 18 |
Examples:
- A 2-page invoice through Invoice Extract on
mini: 2 × 10 = 20 credits. - A 6-page bank statement through Bank Statement Extract on
pro: 6 × 14 = 84 credits. - A 40-page report through Document Parse on
max: 40 × 8 = 320 credits.
With auto, you pay for the tier it actually runs, and text PDFs or Office files that are read without OCR are billed at most at mini rates. The free plan has 100 credits per month; Basic is $25 per month for 3,000 credits and Pro is $97 per month for 100,000 credits (pricing). Add your Zapier tasks or Make operations on top.
Start from a template
The templates library has Zapier, Make and n8n workflows for invoices, bank statements, ID documents and academic research built on these actions; swap the trigger and destination for your own apps.
FAQ
Does PDF Vector have a trigger in Zapier, Make or n8n?
No. PDF Vector provides actions. Start with a trigger from the app that receives files (email, cloud storage, forms, a webhook) and pass the file or its URL to a PDF Vector action.
How do I process a 200-page PDF in Make or n8n?
Set the model to auto or max (the other tiers stop at 30 pages). If processing may take longer than the module or node waits, send the request with an HTTP module and a callback URL pointing at a Make webhook or an n8n Wait node.
How do I get one row per line item?
Use an Extract action with an array in the schema, then an Iterator in Make or a Split Out node in n8n. In Zapier, line items arrive as flattened fields, which suits a single row per document better.



