Delivered remotely for a business based in Zurich, Switzerland. Names withheld by agreement.
Project Overview
In property, motor, and commercial casualty insurance, the hours immediately following a First Notice of Loss (FNOL) dictate claim cycle quality, reserve accuracy, and policyholder trust. Yet incoming loss notices arrive as chaotic bundles: web forms, broker emails with ten attached PDFs, police reports, and multi-language repair estimates. Intake staff spend their shifts copying policy numbers between systems, hunting for endorsement limits, and manually reassigning misrouted files.
We designed and built an insurance claims triage and FNOL automation platform using Python, Django, React, and an asynchronous OCR extraction pipeline. The system normalizes omnichannel loss submissions, extracts structured evidence with pixel-level provenance, verifies policy coverage deterministically, and routes each file to either fast-track settlement or specialized adjuster desks.
Claims Intake Bottlenecks
Before automation, claims departments encountered compounding delays at the front end of every loss lifecycle:
- Manual Re-Keying Across Silos: Staff copied claimant details, incident dates, and invoice totals from scanned PDFs into core policy admin screens, introducing transcription errors that stalled downstream payouts.
- Delayed Coverage Verification: Confirming whether an endorsement applied or a deductible waiver existed required opening multiple legacy policy PDFs before a claim could even be triaged.
- Misrouted Complexity: Straightforward low-severity glass or minor property claims waited in the same FIFO queue as contested bodily injury or multi-party commercial losses.
- Lack of Document Provenance: Adjusters reviewing historical reserves had no quick way to jump from an entered repair figure back to the exact line on a 14-page workshop invoice.
Architectural Strategy
We separated probabilistic document understanding from deterministic insurance business logic inside a modular Django backend. When an FNOL submission or email attachment arrives, Celery workers classify document types (police report, repair estimate, medical bill, policy schedule) and execute OCR with layout analysis to emit structured candidate payloads paired with bounding-box coordinates.
Once extracted fields cross confidence thresholds—or pass rapid human-in-the-loop correction in React—Django evaluates deterministic Python coverage rules against an immutable snapshot of the policy terms at the date of loss. A weighted triage router then scores claim complexity, reserve exposure, and anomaly indicators to assign the optimal specialist queue.
Core Capabilities
Omnichannel FNOL & Email Bundle Ingestion
Policyholders submit guided losses via a responsive web portal while broker submissions arriving via dedicated mailboxes automatically unpack MIME attachments, deduplicate against active claims, and attach files to unified claim timelines.
Bounding-Box-Linked OCR Extraction
The OCR pipeline extracts claimant identities, IBANs, VAT numbers, incident locations, and itemized repair lines across German, French, Italian, and English documents. Inside the React workbench, clicking any field highlights its exact origin box on the rendered document canvas.
Deterministic Coverage & Sub-Limit Engine
Python rule evaluators verify policy active status on the exact loss timestamp, check waiting periods, apply per-occurrence deductibles, and flag applicable sub-limits or endorsements with human-readable rule explanations.
Automated Complexity Triage & SIU Escalation
A configurable triage matrix evaluates claim severity, third-party involvement, late-reporting deltas, and anomalous invoice patterns. Straightforward claims enter fast-track settlement queues while flagged anomalies route directly to Special Investigation Unit (SIU) analysts.
Technical Architecture
Flow: Policyholder Portal & Email Gateway -> Django Ingestion API -> Redis / Celery Task Queues -> Multi-Stage OCR & Layout Extractor -> Deterministic Coverage & Triage Engine -> PostgreSQL Claim Ledger -> React Split-Screen Workbench
- Django Domain Core: Encapsulates Claim, CoverageSnapshot, TriageDecision, ReserveMovement, and DocumentArtifact models using strict state transitions enforced via Django model lifecycle guards.
- OCR Processing Cluster: Dedicated Celery worker pools run image deskewing, language detection, table-grid extraction, and locale-aware currency parsing without blocking web API threads.
- PostgreSQL Ledger: Stores immutable FNOL payloads, policy term snapshots captured at loss verification time, reserve adjustments, and complete adjuster audit trails.
- React Adjuster Workbench: Provides keyboard-driven verification shortcuts, side-by-side PDF/image zooming synced to extracted fields, and live queue notifications.
Technology Stack
| Category | Technology Detail |
|---|---|
| Adjuster Workbench | React 18 and TypeScript split-screen UI pairing OCR bounding boxes with claim fields |
| Core Claims Backend | Python 3.12 with Django, Django REST Framework, and deterministic coverage rule engines |
| OCR & Document AI | Multi-stage OCR pipeline (PaddleOCR / layout transformers) extracting tables and key-values |
| Claims Database | PostgreSQL 16 storing policy snapshots, claim state histories, reserves, and audit events |
| Async Orchestration | Celery distributed task queues on Redis separating fast FNOL ingestion from heavy OCR jobs |
| Ingestion Channels | Webhook and IMAP/MIME email parsers capturing broker bordereaux, web FNOL, and PDF attachments |
| Rules & Scoring | Python rules engine evaluating coverage dates, deductibles, sub-limits, and SIU red flags |
| Document Vault | Encrypted object storage with virus scanning, EXIF extraction, and immutable WORM retention |
| Compliance & Audit | FINMA/GDPR-aligned PII masking, role-scoped field visibility, and complete decision logs |
Engineering Trade-offs & Solutions
| Architectural Challenge | Engineering Resolution |
|---|---|
| Preventing OCR decimal misreads across Swiss/European comma and apostrophe formats | Built a locale-aware post-processor that validates extracted line-item quantities against invoice subtotals and grand totals before accepting values. |
| Ensuring auditability when policy terms update mid-year | Persisted an immutable JSON snapshot of the policy coverage schedule at the moment of FNOL evaluation rather than referencing mutable master policy rows. |
| Avoiding adjuster fatigue on high-confidence routine documents | Suppressed manual review prompts for fields above calibrated confidence bounds that also pass arithmetic cross-checks, surfacing only low-confidence outliers. |
| Isolating heavy OCR compute bursts during regional storm events | Split Celery queues by priority (fnol_intake, ocr_heavy, notifications) with independent autoscaling workers so interactive portal saves remain instant. |
Security & Reliability
Insurance claims contain sensitive personal, financial, and medical records governed by strict European and Swiss data protection standards. All uploaded artifacts pass synchronous malware inspection before touching persistent storage, and PII fields are masked in application logs. Role-based permissions inside Django enforce line-of-business boundaries and isolate sensitive investigative notes from general intake queues.
Every automated triage decision, OCR override, and reserve change writes an append-only audit entry recording user or system identity, timestamp, and justification code. Dead-letter queues capture malformed or password-protected PDFs immediately, alerting intake specialists with actionable error states instead of silently dropping attachments.
Performance & Scale
Severe weather events generate sudden multi-fold spikes in simultaneous FNOL submissions. Decoupling intake acknowledgement from OCR processing allows Django web workers to validate submissions, assign claim references, and respond immediately while Celery pools drain image-heavy document batches steadily. PostgreSQL partial indexes on unverified extraction items and open triage queues keep adjuster workload views fast even as historical claim archives grow.
Operational Outcomes
Automating document intake and coverage verification eliminated manual copy-paste bottlenecks at FNOL arrival and gave adjusters verified, source-linked evidence before opening a file. Straight-through triage routes uncomplicated losses rapidly toward resolution while reserving senior adjuster judgment for high-severity, contested, or multi-party claims.