Etheris Labs
Selected work

A hands-off document pipeline for high-volume paperwork

AWS Document Automation

A cloud-native pipeline that reads scanned documents with OCR and GPT, extracts the details that matter, files each one to the right client automatically, and makes the whole archive searchable and editable.

Year
2025
Timeline
End-to-end build
Services
Document processing automation
Client
Client project
The problem 01

Manual filing is a silent, compounding cost.

For any business handling volume paperwork — invoices, purchase orders, contracts, delivery notes — the cost is invisible until you total it. Someone scans a document, reads it, works out which client or vendor it belongs to, keys in the details, and drops it into a folder. Multiply by hundreds a week.

The compounding part is what happens afterwards. Filing decisions made under time pressure produce an archive nobody can search, so retrieval becomes its own manual task and misfiled documents are effectively lost.

The system had to handle genuinely varied formats, identify the correct client without a template per vendor, create storage for clients it had never seen before, and still be usable by staff with no technical background.

What it was costing

Per doc
Read, classify, key, file Four manual steps repeated on every single scan.
Setup
Per new client A person had to create the folder structure before filing could happen.
Filename
Only search key Retrieval depended on whoever named the file being consistent.
Our response 02

One scan starts the entire workflow.

A file dropped into a watched folder triggers everything. Azure OCR converts the scan — mixed layouts, tables, uneven print quality — into machine-readable text, and Azure OpenAI GPT reads that text the way a person would.

Instead of brittle keyword rules or a template per vendor, the model determines the document type and pulls out the structured fields: supplier, client, invoice numbers, line items, amounts, dates. The output is a clean record describing what the document is and who it belongs to.

From there the pipeline routes. Known client, existing S3 bucket. Unknown client, and the pipeline provisions a new bucket and record on the spot — so the customer directory grows on its own rather than waiting on someone to set it up. On top sits a web interface with hierarchical semantic search and an in-browser PDF editor, so retrieving and amending a document never means leaving the system.

Scan to searchable, without a filing queue.

  1. 01 Input

    Scan into a watched folder

    An office printer or any standard scanner drops the file. That is the entire manual portion of the workflow.

  2. 02 Azure

    OCR text extraction

    Azure OCR handles mixed layouts, tables, and variable print quality, turning an image into text the pipeline can reason over.

  3. 03 GPT

    Classify and extract

    Azure OpenAI GPT identifies the document type and extracts vendor, client, invoice details, dates, amounts, and line items as structured data.

  4. 04 AWS

    Route to the client bucket

    The extracted client identity determines the destination. A previously unseen client triggers automatic bucket and record provisioning.

  5. 05 Index

    Make it findable

    The document joins a hierarchical semantic index, so it can be found by meaning rather than by an exact filename.

  6. 06 Use

    Search and edit in place

    Staff retrieve documents through the web interface and annotate or correct them in the built-in PDF editor without exporting.

A closer look.

The runtime flow, and the layered architecture underneath it.

The runtime path

Scan, OCR, classify, auto-route, search and edit. Every arrow after the first is automated — the watched folder is the only human touchpoint.

The layered architecture

Ingestion, intelligence, storage, and interface as four independent layers — so the OCR provider or the model can be swapped without touching routing or retrieval.

“Every document is understood, filed, and ready to find from the moment it is scanned.”
Capabilities 03

What it does.

  1. 01

    Scan-to-folder ingestion

    A drop into a watched folder triggers the full pipeline with no manual steps after it.

  2. 02

    Layout-tolerant OCR

    Azure OCR handles mixed layouts, tables, and inconsistent scan quality.

  3. 03

    Model-based classification

    GPT determines document type — invoice, purchase order, receipt, contract — without a template per format.

  4. 04

    Structured field extraction

    Vendor, client, invoice numbers, line items, amounts, and dates come back as clean structured data.

  5. 05

    Automatic client routing

    Each document lands in the correct client’s S3 bucket based on the extracted identity.

  6. 06

    Self-provisioning storage

    A previously unseen client gets a bucket and a record created automatically on first document.

  7. 07

    Hierarchical semantic search

    Retrieval by meaning across the corpus, with drill-down through client and document hierarchy.

  8. 08

    In-browser PDF editing

    Review, annotate, correct, and update documents in place rather than exporting and re-uploading.

How we built it 04

01 / Watched-folder ingestion

The trigger

The whole design hinges on the entry point being something staff already do. Scanning to a folder is a habit that exists; adopting a portal is a change-management project.

Manual steps after scan
0
Source
Any standard scanner or printer

Five layers, each one swappable.

01 / Watched-folder ingestion

The trigger

The whole design hinges on the entry point being something staff already do. Scanning to a folder is a habit that exists; adopting a portal is a change-management project.

Manual steps after scan
0
Source
Any standard scanner or printer

02 / Azure OCR extraction

Image to text

Real-world scans are not clean. Mixed layouts, embedded tables, skew, and variable print quality all had to resolve into text reliable enough for a model to reason over downstream.

Handles
Mixed layouts, tables, variable quality
Output
Machine-readable full text

Built with

  • Azure OCR

03 / GPT classification

Understanding, not matching

Keyword rules and per-vendor templates break the moment a supplier changes their invoice layout. Using GPT to read the document the way a person would is what let this survive contact with real paperwork.

Templates required
None
Extracted
Type, client, vendor, invoice data, dates, amounts

Built with

  • Azure OpenAI GPT

04 / S3 routing & provisioning

Self-growing directory

Classification is only half the automation. The pipeline also owns the destination: it files to the matching client bucket, and creates one when the client is new. The customer directory maintains itself.

New-client setup tasks
0
Storage
Per-client Amazon S3 buckets

Built with

  • Amazon S3
  • AWS Lambda
  • Python

05 / Search & PDF interface

Where the value lands

Automation that produces an unsearchable archive has moved the problem, not solved it. Hierarchical semantic search plus an in-app PDF editor is what makes the system something staff use daily rather than a backend nobody sees.

Retrieval
Semantic, not filename matching
Editing
In-browser, no export round-trip

Built with

  • Semantic search
  • Web application
  • PDF editor

Built with

Cloud
AWS Amazon S3 AWS Lambda
Intelligence
Azure OCR Azure OpenAI GPT Semantic search
Engineering
Python Event-driven pipeline Web application
Interface
Hierarchical search UI In-browser PDF editor
System outcomes 05

From scan to retrieval, without a filing queue.

Outcome / 2025
01

Manual step total

Scan into the watched folder. Everything after that is automated.

0

New-client setup tasks

A bucket and record are provisioned automatically on a client’s first document.

0

Per-vendor templates

Classification is model-based, so a changed invoice layout does not break ingestion.

∞

Searchable archive

Hierarchical semantic search makes every processed document retrievable by meaning.

Takeaways 06

What we learned.

AI beats rules on messy input

Template and keyword systems fail on real-world variety. A model that understands the document handles layout changes without a maintenance ticket.

Automate the directory too

Classifying documents but still requiring manual client setup leaves the bottleneck in place. Provisioning had to be part of the pipeline.

Findability is the payoff

The measurable win is not filing speed, it is that any document for any client is retrievable in seconds by someone who does not know where it was put.

Keep the edit inside the system

An in-app PDF editor removes the export-correct-reupload loop that quietly reintroduces misfiling.

Who this is for 07

Who else has this problem.

If your document volume grows faster than your headcount, this pipeline is the shape of the answer.

  • Accounts payable and finance teams

    Invoice intake, vendor matching, and structured field capture without a keying queue.

  • Logistics and procurement

    Purchase orders, delivery notes, and goods-received documents filed against the right counterparty automatically.

  • Professional services firms

    Law, accounting, and consulting practices maintaining per-client archives that have to be searchable years later.

  • Property and insurance operations

    Contracts, claims, and correspondence where retrieval speed is the service level.

  • Any team digitising paper

    Operations moving from filing cabinets to cloud storage that need structure, not just a bigger drive.

Recognise your operation in any of those?

We scope the version of this that fits your systems, your volume, and your budget — and we will tell you if it is not worth building.

Start a project
Questions 08

Questions we get asked about this build.

How is this different from a template-based OCR tool?

Template tools need a configuration per vendor layout and break when a supplier redesigns their invoice. Here the classification and extraction are model-driven, so the pipeline reads an unfamiliar layout the way a person would instead of failing to match a pattern.

What happens when a document arrives for a client we have never seen?

The pipeline provisions a new S3 bucket and client record automatically and files the document there. Onboarding a customer into the filing system requires no human action at all.

Which document types does it handle?

This build covers invoices, purchase orders, receipts, and contracts, with structured extraction of vendor, client, invoice numbers, line items, dates, and amounts. Extending to a new type is a prompt and schema change rather than a new integration.

Can it work with our existing storage instead of S3?

The layers are deliberately independent — ingestion, intelligence, storage, and interface. Storage is the easiest of the four to swap; the classification and retrieval layers do not care where the file ultimately lands.

Do staff need training to use it?

The intake is a scan into a folder, which they already do. The retrieval interface was designed for non-technical staff, and search works on meaning rather than requiring anyone to remember a filename convention.

Next project

Email Enrichment Pipeline

An AI pipeline that researches every prospect from public signals, builds a personalised brief, and generates ready-to-send campaigns inside the sales team’s existing Google Workspace.

View case study