← Back to Home

Case Study

Document Classification System

Full SaaS platform for legal intake. Shipped in 48 hours.

Built under contract with IGRISS

48hrs

From zero to production

3-5min → sec

Per document

70-85%

Auto-processed without human intervention

$750/mo

Sold as SaaS product

$ cat problem.txt

Bankruptcy law firms drowning in document chaos

Every day, staff received hundreds of client documents — tax returns, pay stubs, IDs, bank statements — that each needed to be manually identified, named following court conventions, matched to the right client matter in Clio, and uploaded correctly.

3-5 min

Per document manually

100s

Of documents per day

Hours

Of billable time lost

$ cat solution.txt

Six-stage AI processing pipeline

1. UploadStaff drag-and-drop documents in any format — PDF, Word, images.

2. ConvertNon-PDFs automatically converted to PDF via Gotenberg.

3. ExtractAI-powered OCR pulls text from every document using Gemini.

4. ClassifyClaude AI identifies document type, names, dates, and metadata.

5. MatchSystem searches Clio for the correct client matter — supports joint filings.

6. FileAuto-uploaded to Clio with clean filenames following legal conventions.

$ cat supported-documents.txt
Tax ReturnsPay StubsDriver LicenseBank StatementsW-2 FormsCredit ReportsSocial Security CardsCourt OrdersMedical BillsUtility BillsLease Agreements1099 Forms
$ cat features.txt

Multi-TenantEach law firm gets their own isolated Clio connection and data.

AI DisambiguationWhen multiple matters match, AI analyzes context and picks the right one.

Joint Filing DetectionMatches spouse names via related contacts in Clio.

Smart NamingAuto-generates filenames like "John Smith - Driver License.pdf".

Human Review QueueLow-confidence documents flagged with AI reasoning for quick manual review.

Full Audit TrailEvery processing decision logged with AI confidence and reasoning.

$ cat tech-stack.txt

Next.jsFrontend & API

Trigger.devBackground Jobs

SupabaseDatabase & Storage

Claude Opus 4Document Analysis

Gemini 2.0OCR Extraction

Clio APILegal CRM

GotenbergPDF Conversion

Need something built?

I build AI-powered software for founders and operators. Most projects ship in under 2 weeks.

Book a Call →