cd /news/ai-tools/shipping-a-512-mb-text-first-pdf-tab… · home › topics › ai-tools › article
[ARTICLE · art-182711] src=dev.to ↗ pub= topic=ai-tools verified=true sentiment=↑ positive

Shipping a 512 MB text-first PDF table extractor & report-change watcher for n8n/Make

A developer built and benchmarked a 512 MB, text-first PDF table extractor and report-change watcher for n8n and Make automation builders, publishing two synthetic two-page fee-schedule PDFs so others can test structured extraction and cell-level diffing. On Apify Cloud, local parsing of both PDFs took 143.9 ms with a 1.63 MB Python heap peak, an unchanged-document watch check emitted zero dataset items via ETag/SHA-256, and a Q4 2026 to Q1 2027 edition diff detected two changed tables, one added row, one removed row and eight exact cell diffs. The tool returns headers, 2D rows, key-value records, CSV, markdown tables and optional page-cited RAG chunks, with cell-value diffing opt-in for public, non-confidential reports.

recommendation

Gate recurring PDF re-extraction on ETag/SHA-256 watch state so unchanged documents emit nothing, and keep cell-value diffing opt-in for public, non-confidential reports.

more in playbook: Retrieval and RAG
by read2 min views8 publishedDec 6, 2026

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.

When recurring public PDFs (fee schedules, vendor catalogs, SLA matrices, regulatory bulletins) drop every month or quarter:

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:

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`

headers[], 2D rows[][], database-ready key-value records[], RFC-4180 csv, GFM markdownTable, bounding box, and a tableFingerprint, plus optional page-cited ragChunks[]. scannedOnlyPages[] and hasScannedOnlyPages: true. storeCellValuesForDiff: false), Watch Mode persists previousValue -> currentValue cell diffs are strictly opt-in for public, non-confidential reports.maxPagesPerPdf, the run marks extractionComplete: false, suppresses removal counts, and never overwrites a complete baseline.

Usage is billed strictly through Apify Pay-Per-Event with one primary unit (1 emitted PDF = 1 dataset item): $0.00005

`$0.0060` (Free) -> `$0.0050` (Bronze) -> `$0.0045` (Silver) -> `$0.0040` (Gold+)`$0.01`
`onlyChanged: true`):` 0` dataset items (only the Links to inspect or import directly:

`09`):
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.
── more in #ai-tools 4 stories · sorted by recency
── more on @n8n 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/shipping-a-512-mb-te…] indexed:0 read:2min 2026-12-06 · —