Yesterday I posted an open question asking how n8n and Make builders handle multi-page PDF tables and edition-to-edition report changes without flattening tables into broken text lines or burning LLM tokens on every page.
Instead of leaving that thread purely theoretical, I built and benchmarked a lightweight 512 MB, text-first v1 (LIMITED_PERMISSIONS, no heavy OCR container bloat) and published live synthetic fixtures so anyone can test structured table extraction and cell-level diffing directly.
What breaks in typical PDF automation pipelines
When recurring public PDFs (fee schedules, vendor catalogs, SLA matrices, regulatory bulletins) drop every month or quarter:
- Plain text or Markdown converters flatten multi-column grids into single lines.
- Sending every page to an LLM on a daily cron introduces both recurring token cost and silent numeric drift.
- Even after extraction works, downstream workflows still need to answer: "Did anything actually change since the last edition, and which cells moved?"
Live benchmark on two synthetic multi-page fee schedules (Q4 2026 vs. Q1 2027)
To verify deterministic extraction and cell diffing without touching private documents, I published two public two-page synthetic fee schedule PDFs in our open automation kit:
- Q4 2026 baseline: https://raw.githubusercontent.com/stqnbapxao-source/structmint-b2b-automation-kit/main/samples/public-cloud-fee-schedule-q4-2026.pdf
- Q1 2027 update: https://raw.githubusercontent.com/stqnbapxao-source/structmint-b2b-automation-kit/main/samples/public-cloud-fee-schedule-q1-2027.pdf
Observed measurements on 512 MB RAM on Apify Cloud:
| Metric | Measured result |
|---|---|
| Local parse (both 2-page PDFs) | 143.9 ms, 1.63 MB Python heap peak |
| Cloud run #1 (extract Q4 baseline + save watch state) | 1 dataset item (2 tables, 8 rows), ~$0.00015 platform compute |
| Cloud run #2 (unchanged Q4 watch check via ETag/SHA-256) | 0 dataset items emitted (documentsUnchanged: 1) |
| Edition diff (Q4 2026 -> Q1 2027) | 2 tables changed, 1 row added (Enterprise), 1 row removed (Legacy), 8 exact cell diffs detected |
Sample cell changes returned in reportDiff.cellChanges[]:
-
Table #1 (p.1) [Starter / Overage Rate]:$0.0040 / unit->$0.0045 / unit -
Table #1 (p.1) [Growth / SLA Uptime]:99.9%->99.95% -
Table #2 (p.2) [EU-Central / Retention Days]:180->365 -
Table #2 (p.2) [AP-Southeast / Audit Log]:Optional->Included
Design choices that keep v1 predictable
- Structured outputs per table: Every table emits deduplicated
headers[], 2Drows[][], database-ready key-valuerecords[], RFC-4180csv, GFMmarkdownTable, bounding box, and atableFingerprint, plus optional page-citedragChunks[]. - Text-first honesty (no silent missing pages): v1 intentionally skips heavy 2 GB OCR containers. Any image-only page with fewer than 25 text characters is explicitly flagged in
scannedOnlyPages[]andhasScannedOnlyPages: true. - Privacy-first watch defaults: By default (
storeCellValuesForDiff: false), Watch Mode persists only SHA-256 hashes in your user-scoped Named Key-Value Store (90-day retention) — zero document text is stored. LiteralpreviousValue -> currentValuecell diffs are strictly opt-in for public, non-confidential reports. - Complete-scan integrity: If a PDF exceeds
maxPagesPerPdf, the run marksextractionComplete: false, suppresses removal counts, and never overwrites a complete baseline.
Pricing and ready-to-import workflows
Usage is billed strictly through Apify Pay-Per-Event with one primary unit (1 emitted PDF = 1 dataset item):
- Run start:
$0.00005 - Per extracted PDF document:
$0.0060(Free) ->$0.0050(Bronze) ->$0.0045(Silver) ->$0.0040(Gold+) - Minimum configurable cap:
$0.01 - Unchanged Watch runs (
onlyChanged: true): emit0dataset items (only the$0.00005start fee applies)
Links to inspect or import directly:
- Apify Store tool: https://apify.com/structmint/pdf-structured-tables-watch
- n8n workflow JSON (
09): https://github.com/stqnbapxao-source/structmint-b2b-automation-kit/blob/main/workflows/n8n/09-pdf-structured-tables-change-watch.json - Make blueprint JSON: https://github.com/stqnbapxao-source/structmint-b2b-automation-kit/blob/main/workflows/make/pdf-structured-tables-watch-make-blueprint.json
- Open RFC for tough real-world public PDF layouts: https://github.com/stqnbapxao-source/structmint-b2b-automation-kit/issues/1
If you have a public, non-confidential text-based PDF whose table layout breaks standard parsers, drop the URL on the GitHub RFC thread — I am actively benchmarking edge cases through December 19.
