AI document processing

From stacks of filesto structured data.

Upload PDFs, Word documents and scans. DocFlow reads the text, runs the model in the background and returns summaries, invoice fields and contract metadata you can export.

ReadsPDFDOCXJPEGPNGTIFF· OCR for scans
app.docflow · Overview

Good afternoon

Here's what's happening with your documents.

Documents

128

120 active · 8 archived

Processing runs

342

3 running

Completed

331

97% success rate

Failed

8

2 retrying

Recent documents

View all →

PDFinvoice_0423.pdfInvoiceCompleted
PDFcontract_lease.pdfContractProcessing

AI usage

Answers

86

Error rate

1%

Typical response

2.0 s

Tokens

48k

Runs breakdown

By status and processing mode

Document summary62
Invoice extraction48
Contract metadata30

Built on a stack you can run yourself

FastAPICelery + RedisPostgreSQLMinIOTesseract OCROpenAI
How it works

Upload and move on.
DocFlow does the slow part.

The request returns straight away. Workers pick up the job, retry if something fails, and the status updates live.

01

Upload

Drop in a PDF, Word file or scan and pick what you need back. The request returns straight away with a run you can watch.

Drop a file to upload

PDF, DOCX, JPG, PNG, TIFF · up to 10 MB

PDF
contract_lease.pdf1.2 MB
SummaryInvoiceContract
POST /documents201 · 84 ms
02

Process in the background

A worker extracts the text, runs OCR when needed and calls the model. Failed jobs retry 3 times with backoff.

PDF

contract_lease.pdf

Contract metadata · request #318

  1. QueuedPOST /documents · 2010.0s
  2. Processingextract text · OCR · model1.4s
  3. Failedmodel timeout6.1s
  4. Retry 1/3backoff 2s8.1s
  5. Completedresult saved11.9s

Workers

worker-1done
worker-2running
worker-3retry 1/3

Celery · Redis

03

Review and export

Results are checked against a schema before you see them. Download them as JSON or CSV.

Contract metadata

Schema valid
Parties
Northwind Ltd · Lakeside Properties
Effective date
1 Apr 2026
Expiry date
31 Mar 2029
Governing law
England and Wales
Termination
60 days' written notice
Export JSON Export CSV
04

Ask the document

Ask follow-up questions in plain language. Every answer cites the page it came from.

How much notice is needed to terminate?

Either party must give 60 days' written notice.

Sourcesp. 2
Ask about this document…
What you get back

Three jobs. One structured result.

Pick what the document is for. DocFlow validates the output against a schema before you see it.

Fields Schema valid

Vendor

Acme Supplies Ltd

Customer

Northwind Traders

Invoice date

12 Mar 2026

Due date

11 Apr 2026

Currency

EUR

Subtotal

4,016.67

Tax (20%)

803.33

Total

4,820.00

Line items

  • Steel brackets × 1201,440.00
  • Mounting kit × 402,576.67
Export JSON Export CSV
Ask the document

Answers you cancheck in one click.

DocFlow reads every page of the PDF before it answers. Every answer shows the page it came from, and clicking the chip opens the PDF right there.

  • Page-level sources on every answer
  • Works on scans through OCR
  • PDFs up to 40 pages and 10 MB

When is payment due, and is there a late fee?

DDocFlow· lease_agreement.pdf

Sources

Click a page to open the PDF there

Ask anything about this document…
Built for real work

The rest of the toolkit.

Chat with your files and images, and keep every result private to your account.

What does this receipt total?
Ask anything…

Chat with files and images

Streaming answers, image attachments and voice input, in one thread per document.

3

retries with backoff

Runs in the background

Uploads return straight away. A failed job is retried 3 times with backoff before it is marked FAILED.

Tesseract

OCR built in

Scanned PDFs, JPEG, PNG and TIFF are read before the model runs.

scoped to your account

Private by default

Every file and result belongs to one account, with per-user storage.

{
"vendor": "Acme Supplies Ltd",
"total": 4820.00,
"currency": "EUR",
"line_items": [ … ]
}
invoice_0423.json invoice_0423.csv

JSON & CSV export

Download structured results straight into your tools.

Process your first document
in a minute.

Create an account, drop in a file and watch the result arrive.