HomeCase studiesAutomated Insurance FNOL Intake, OCR Document Extraction,...

Case study · Zurich, Switzerland

Automated Insurance FNOL Intake, OCR Document Extraction, and Claims Triage Platform with Python, Django, and React

InsurTech Claims Processing

Claims operations teams routinely lose critical early hours manually re-keying emailed First Notice of Loss (FNOL) forms, deciphering scanned repair invoices, and routing files across fragmented specialist desks. We built an InsurTech claims intake and triage platform using Python, Django, React, and a multi-stage OCR pipeline. The platform ingests omnichannel loss notices, extracts structured entities from multi-format documents with confidence scoring, validates coverage dates deterministically, and routes complex claims to specialist adjusters.

Industry
InsurTech Claims Processing
Solution
An automated First Notice of Loss intake, OCR extraction, coverage verification, and specialist triage workbench built with Python, Django, React, and OCR.
Platforms
Web & API
Stack
Python · Django · React · OCR · PostgreSQL · Celery
Location
Zurich, Switzerland · delivered remotely
Role
Engineering, with the team behind for mobile and QA

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

  1. Django Domain Core: Encapsulates Claim, CoverageSnapshot, TriageDecision, ReserveMovement, and DocumentArtifact models using strict state transitions enforced via Django model lifecycle guards.
  2. 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.
  3. PostgreSQL Ledger: Stores immutable FNOL payloads, policy term snapshots captured at loss verification time, reserve adjustments, and complete adjuster audit trails.
  4. 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.

01 — Questions

asked about this kind of project

How does the system handle low-confidence OCR extractions on handwritten or blurry repair invoices?

Every extracted field carries an explicit confidence score and normalized PDF bounding-box coordinates. Fields falling below calibrated thresholds route automatically to a React human-in-the-loop review view where clicking a field highlights the exact scanned snippet for one-click verification.

Why separate deterministic coverage validation from probabilistic document extraction?

OCR and document classifiers excel at turning unstructured scans into structured candidates, but policy coverage decisions—checking effective dates, endorsements, exclusions, and sub-limits—must be fully deterministic and auditable. Django executes explicit Python rule graphs over verified claim data.

How are multilingual European policy documents and invoices processed reliably?

The OCR pipeline detects language per page across German, French, Italian, and English submissions, applies locale-aware date and decimal normalization (preventing comma/dot currency misreads), and maps localized invoice headers into a canonical claim line-item schema.

How does the platform prevent duplicate claims when brokers and policyholders both submit FNOL notices?

Incoming notices undergo fuzzy deduplication matching policy number, loss timestamp window, claimant identity, and vehicle/property identifiers before generating a new claim number. Potential matches queue for merge review rather than spawning parallel reserves.

How are sensitive medical reports and identity documents protected inside the adjuster portal?

Documents pass malware scanning on upload, reside in encrypted storage served via short-lived proxy tokens, and obey granular Django permission policies. Adjusters see only claim segments authorized for their line of business, while SIU escalations lock behind elevated analyst roles.

03 — Similar project?

describe what is different about yours

Build yours.

Tell me what exists, what you need and the deadline. Fixed price for a defined scope, or $55/day (8–9 hours work) with a written plan first.

Solitaire Corporate Park, Makarba, Ahmedabad, Gujarat 380015, India · IST (UTC+5:30) · --:-- IST · Mon–Fri 09:00–18:00 IST · US & EU overlap daily

No newsletter, no CRM. Just a reply.