The no-code PDF automation blueprint: Make.com & n8n workflows that actually work
TL;DR: The patterns that trip up PDF automation builders — async timeouts, multipart file uploads, array handling, schema enforcement, validation routing — all solved here with exact module configurations for Make.com, n8n, and Zapier.
PDF automation in Make.com and n8n looks straightforward until it isn't. You add an HTTP module, call a parsing API, map the results to Google Sheets. It works on your test PDF. Then in production, your first scanned invoice comes in, the OCR takes 8 seconds, Make.com times out, and you get an empty row.
The key concept: async + webhook
The single most important thing to understand is the async pattern.
Wrong (causes timeouts): Trigger → HTTP POST (parse) → Wait for response → Map to Sheets
Correct: Trigger → HTTP POST to /v1/pdf/parse → Receive HTTP 202 with a jobId → END, then a separate webhook-triggered workflow handles the result when the parse completes.
Webhooks are registered once per account, not per-request. There's no
webhookUrlfield on the parse call itself. Instead, register a callback URL a single time viaPOST /v1/webhooks(dashboard/JWT session — this one endpoint can't be called with an API key) subscribed to theparse.completedevent, and it fires for every async parse job on the account from then on.
When sync is fine: For PDFs under ~8 pages, use the
/syncendpoint — it holds the connection and returns results directly. No webhook needed for small, fast documents.
Workflow 1: invoice PDF → Google Sheets (Make.com)
Part A: one-time webhook registration
Before building the scenario: add a "Webhooks → Custom webhook" module anywhere in Make.com to generate a receiving URL, then register it once with LogicSpoke — POST https://api.logicspoke.com/pdf/v1/webhooks with your dashboard session, body { "url": "<your Make.com webhook URL>", "events": ["parse.completed"] }. This only needs to happen once; every async parse job afterward will hit that URL.
Part B: ingestion scenario
Module 1 — Gmail: Watch Emails — Monitor specific label (Invoices) or sender contains your vendor domains.
Module 2 — Gmail: Get an Attachment — Extract the file attachment.
Module 3 — HTTP: Make a Request (the parse call)
- URL:
https://api.logicspoke.com/pdf/v1/pdf/parse - Method: POST
- Headers:
Authorization: Bearer YOUR_API_KEY - Body type: Multipart/form-data (not JSON) — attach the Gmail attachment directly as the
filefield, plus aschemaIdfield set tosys_invoice
Part C: webhook receiver scenario
Module 1 — Webhooks: Custom Webhook — the same one registered above. Click "Determine data structure" after running the ingestion once so Make.com learns the parse.completed payload shape (jobId, parseId, fileName, pageCount, etc. — note this payload does not include the extracted data itself, just confirmation that it's ready).
Module 2 — HTTP: Make a Request — GET https://api.logicspoke.com/pdf/v1/pdf/parse/jobs/{{jobId}} using the jobId from the webhook payload, to fetch the actual result.data and result.validation.
Module 3 — Tools: Set Variable — Compute the sum of line item totals to validate against the extracted invoiceTotal.
Module 4 — Router — PASS branch: Google Sheets "Add a Row" with mapped fields. FAIL branch: Slack message to your AP review channel.
Handling line items (arrays)
Make.com handles arrays via the Iterator module. Add "Flow Control: Iterator" with the line items array, then map each item inside the loop to a separate line-items sheet row.
Workflow 2: form submission → generate PDF invoice (Make.com)
Trigger on new Typeform/Google Form response → HTTP POST (multipart or JSON — generate accepts both) to /v1/pdf/generate with your templateId and mapped token values → Gmail "Send an Email" with the returned url as attachment.
The generate endpoint returns synchronously for standard documents (5–15 seconds). For large documents use /v1/pdf/generate/async instead, and the same account-level webhook (subscribed to job.completed) delivers the result.
Workflow 3: invoice PDF → Google Sheets (n8n)
Ingestion workflow
Node 1: Gmail Trigger (poll every 5 min, filter: has attachment + "invoice" in subject)
Node 2: HTTP Request — POST /v1/pdf/parse
Headers: Authorization: Bearer {{ $env.LOGICSPOKE_API_KEY }}
Body type: multipart-form-data — file: {{ $binary.data }}, schemaId: "sys_invoice"
Node 3: Respond to Webhook — { "status": "queued", "jobId": "..." }
Webhook receiver workflow
Register your n8n Webhook node's URL once via POST /v1/webhooks (see above), then:
Node 1: Webhook — path /invoice-parsed (fires on every parse.completed event, all schemas)
Node 2: HTTP Request — GET /v1/pdf/parse/jobs/{{ $json.jobId }} to fetch result.data
Node 3: IF — validate total match (within 0.02 tolerance)
Node 4a: Google Sheets Append — on TRUE
Node 4b: Slack Message — on FALSE (review required)
Using sync for small documents
For PDFs under 8 pages, skip the webhook pattern: Gmail Trigger → HTTP Request to /v1/pdf/parse/sync (multipart, same as above) → Set (map response data field) → Google Sheets Append. No second workflow needed.
Workflow 4: generate PDFs from Airtable records (n8n)
Node 1: Schedule Trigger (daily at 9am)
Node 2: Airtable — List records where Status = 'Ready to Send'
Node 3: SplitInBatches — process one at a time
Node 4: HTTP Request — POST /v1/pdf/generate with templateId + token values from Airtable fields
Node 5: Airtable Update — set PDF URL and Status: Sent
Node 6: Gmail — send invoice to customer email
Zapier pattern
Zapier's native HTTP action doesn't have a good way to receive an arbitrary inbound webhook mid-Zap, so the async pattern is awkward there. Use the /sync endpoint for Zapier workflows instead: Gmail trigger → Webhooks by Zapier (Custom Request, multipart body, to /v1/pdf/parse/sync) → Google Sheets create row. For high-volume Zapier workflows with large PDFs, use Zapier to trigger a Make.com scenario that handles the async + webhook pattern instead.
Common issues and fixes
| Issue | Cause | Fix |
|---|---|---|
| Empty response / timeout | Using /v1/pdf/parse (async) without a registered webhook, or /sync on a large doc |
Register a webhook for parse.completed, or use /sync only for docs under ~8 pages |
| 400 "No file uploaded" | Body sent as JSON instead of multipart/form-data | Switch the HTTP module's body type to multipart and attach the file under the file field |
| Array fields not mapping | lineItems is an array |
Iterator (Make) or SplitInBatches (n8n) |
| Schema fields wrong types | LLM returning string for number fields | Pass an explicit schema (or schemaId) with "type": "number" on numeric fields |
| Webhook payload has no extracted data | parse.completed only confirms completion, not the result |
Fetch GET /v1/pdf/parse/jobs/{jobId} using the webhook's jobId to get result.data |
| 401 Unauthorized | API key format wrong | Use Bearer YOUR_API_KEY — note the space after Bearer |
Questions
Can I pass a PDF file directly without a URL?
Yes — that's the only supported way. The API accepts a real file upload (multipart/form-data); there's no fetch-by-URL or base64-in-JSON option. In Make.com, attach the Gmail attachment directly as form data. In n8n, pass the binary property straight through in a multipart-form-data body — no manual base64 encoding needed.
How do I get my Make.com webhook URL, and how do I use it?
In a new scenario, add "Webhooks → Custom webhook" as the trigger, click "Add" to create a webhook, and copy the generated URL. Then register that URL once with LogicSpoke via POST /v1/webhooks ({ "url": "...", "events": ["parse.completed"] }) — it isn't passed on individual parse calls.
Can I run this for multiple vendors with different schemas?
Yes. Store a mapping of vendor domain → schemaId in a Data Store (Make.com) or Code node (n8n). Route by sender email domain to select the right schemaId per vendor before the parse call. Since one webhook fires for every completed parse regardless of schema, use the jobId (fetched via GET /v1/pdf/parse/jobs/{jobId}) to know which vendor/schema a given result belongs to if you need to branch downstream.
Get your first workflow running in 30 minutes.
Every edge case covered. No backend code required.