Skip to content
Sayed Mowafi

Insurance Quote Platform

Moved an insurance agency's quoting off WhatsApp and spreadsheets onto one web and mobile platform.

Source is private (client work)
Context
Client project, in production
My role
Full-stack: web portal, backend and Flutter app
Year
2025
Stack
React, TypeScript, Node.js, MongoDB, Prisma, Redis, Flutter, Firebase, AWS S3
9:41

Get Insurance Quote

Choose your insurance type

Motor Insurance

TPL & Comprehensive

Medical Insurance

Individual & Family

Non-Motor Insurance

Property & Liability

user roles
5
user roles
insurance lines
3
insurance lines
feature parity
Web + mobile
feature parity

Overview

A comprehensive insurance quote management system built for a client to digitize and streamline their entire quote-to-policy workflow. The platform handles complex multi-party interactions between customers, typing centers, insurance agents, brokers, and administrators, with automated case routing and real-time status tracking.

The problem

Insurance agencies in the region relied on fragmented processes: WhatsApp messages for quote requests, Excel spreadsheets for tracking cases, manual agent assignment based on whoever was available, and no visibility into case status or agent performance. Customers had no way to compare quotes or track their applications. This led to lost cases, delayed responses, inconsistent pricing, and frustrated customers who would simply go to competitors.

The approach

A unified platform that digitizes the entire insurance quote lifecycle. Customers submit requests through a structured form with all required information upfront. The system automatically assigns cases to available agents using a smart algorithm that considers workload, specialization, and response time history. Every interaction is tracked, creating an audit trail and enabling data-driven decisions. Real-time notifications keep all parties informed, and the admin dashboard provides complete visibility into operations.

How it works

  1. 01Customer registers and selects insurance type (Medical, Motor, or Non-Motor)
  2. 02Customer fills out structured form with vehicle/health details and uploads required documents
  3. 03System automatically assigns the case to the most suitable available agent
  4. 04Agent receives push notification and reviews the case in their dashboard
  5. 05Agent prepares quote(s) and submits for customer review
  6. 06Customer compares quotes and accepts their preferred option
  7. 07Agent generates payment link through integrated payment system
  8. 08Customer pays and uploads payment receipt for verification
  9. 09Admin verifies payment and triggers policy issuance
  10. 10Customer receives policy documents via the app and email
  11. 11System schedules renewal reminders based on policy expiration date

Engineering decisions

Microservices-ready monolith
Services are logically separated for easy extraction when scale demands
Redis caching
Frequently accessed data like agent availability and case counts are cached for sub-millisecond reads
Database indexing
Composite indexes on frequently queried fields (status, assignedTo, createdAt) for efficient filtering
Connection pooling
Prisma connection pooling prevents database connection exhaustion under load
Background job processing
Quote expiration, activity monitoring, and renewal reminders run as scheduled jobs
Horizontal scaling ready
Stateless API design with session data in Redis enables easy horizontal scaling
CDN-ready assets
Static assets and policy documents served through S3 with CloudFront compatibility
Rate limiting
Tiered rate limits protect against abuse while allowing legitimate high-volume usage

What it does

  • Multi-role authentication system: Individual users, Typing centers, Agents, Brokers, and Admins
  • Three insurance verticals: Medical, Motor, and Non-Motor with specialized workflows
  • Automated agent assignment with workload balancing and inactivity detection
  • Real-time push notifications via Firebase Cloud Messaging for web and mobile
  • Document management with AWS S3 integration for policy documents and receipts
  • Agent clock-in/out system with activity tracking and performance metrics
  • Quote comparison interface for customers to review multiple offers
  • Payment verification workflow with receipt upload and admin approval
  • Renewal reminder system with automated notifications before policy expiration
  • Comprehensive admin dashboard with agent monitoring and case analytics
  • Redis caching layer for high-performance data retrieval
  • Flutter mobile app with full feature parity to web platform

Results

The platform processes hundreds of quote requests monthly with average response times reduced from days to hours. Agent utilization improved through automated assignment, and the renewal reminder system significantly increased policy retention. The admin dashboard provided unprecedented visibility into operations, enabling data-driven decisions about staffing and process improvements.

Extending it

The platform was built with multi-tenancy in mind, allowing it to be white-labeled for different insurance agencies. The workflow engine supports custom approval chains, configurable notification templates, and flexible document requirements per insurance type. The agent assignment algorithm parameters (workload weight, response time weight, specialization matching) can be tuned per deployment.

Command Palette

Search for a command to run...