Automating document intake with AI-assisted extraction
A retrieval and extraction pipeline that reads application documents, structures the data and routes uncertain cases to a human reviewer.
Client: Financial services provider (anonymised)
- Document intake time, from tens of minutes per file
- Minutes
- Extraction output, validated before persistence
- Schema-valid
- Retained for low-confidence cases by design
- Human review
- Evaluation suite gating every prompt and model change
- Versioned
Applications arrived as scans and photographs of wildly varying quality. Staff re-typed the same fields into two systems, and errors surfaced only at approval, sending the file back to the start. Throughput was capped by how fast people could read.
We built an extraction pipeline combining OCR with a large language model constrained to a strict output schema, validated against business rules before anything is written. Confidence thresholds route ambiguous documents to a review queue with the source region highlighted. An evaluation set, established before development, is re-run on every model or prompt change so accuracy regressions fail the pipeline instead of reaching production.
Technologies used
- Next.js
- TypeScript
- Python
- PostgreSQL
- Claude
- Redis
Services engaged
Other case studies
- Utilities2024
Replacing spreadsheet billing for a regional water utility
A full commercial platform covering meter reading, tariff calculation, invoicing and mobile money collection for a utility serving tens of thousands of connections.
- Next.js
- TypeScript
- Flutter
- Node.js
- Services2024
Consolidating HR and payroll across distributed sites
One employee record and one payroll run replacing site-level spreadsheets and a legacy payroll package.
- Next.js
- TypeScript
- Node.js
- PostgreSQL
- Retail & Distribution2025
Strangling a legacy ERP without stopping operations
Incremental replacement of an unmaintainable ERP, one capability at a time, with both systems running in parallel throughout.
- Node.js
- TypeScript
- PostgreSQL
- Kafka
Recognise this problem?
If any of the above sounds like your operation, a short discovery conversation will tell us both quickly whether there is a fit.
Or email walter.mussagy@gmail.com — we reply within one business day.
