All work·Multi-state behavioral health provider·2026
Auditing 150,000 clinical documents
We classified, matched and audited more than 150,000 client documents spread across file stores and email.
Data PipelinesAI EngineeringAgents & Automation
150k+
documents classified and audited
173k
emails reviewed by AI agents
100%
of tracked files traceable to their original name
1,786
documents filed to 810 client CRM records
Challenge
Client documents lived in cloud folders, Google Drive, an internal server and staff inboxes: over 200 GB for about 2,800 clients. Names followed no single convention, and duplicates, misfiled documents and gaps were common. Payer audits depend on finding the right plan, prescription or evaluation quickly.
Approach
Inventoried every file and kept a journal that maps each current name back to its original, so every change can be reversed.
Settled what filenames and code could prove first, then sent only the ambiguous remainder to tiered model batches, with vision reads for scanned pages.
Had AI agents review about 173,000 emails to recover attachments and attribute each one to the right client.
Required two independent model families to weigh in on each decision, and added deterministic checks on dates, names and page hashes that could correct or withdraw a proposal.
Kept the process propose-only with journalled renames: a person approves each batch before anything changes.
How it works
Outcome
Every tracked file remains traceable to its original name. Corrected documents were filed to client CRM records under one naming convention, and the cross-checks exposed recurring error classes before they reached payers. A weekly audit now lists missing or outdated documents for each active client.
Stack
PythonCloud storage and Google Drive APIsGmail APIOCR (Tesseract)PDF renderingLLM batch APIs (two model families)Vision modelsSQLite ledgersXLSX review packs