06 · Enterprise Platform
Live in productionInsurance Quote Aggregator
One real-time quote comparison across 10+ UAE insurers and seven product lines, with nGen and Tamara payment webhooks and UAE Pass and OAuth 2.0 login.
- Role
- Integration engineer
- Scope
- Provider integrations, payments, auth, chatbot
- Stack
- Node.js, Express.js
Client details are confidential. No client data is shown.
Overview
eSanad is an insurance aggregator for the UAE market. I integrated it on Node.js and MongoDB. More than ten insurers sit behind one real-time comparison, across seven product lines. Customers pay through nGen or Tamara and sign in with UAE Pass or OAuth 2.0. A chatbot that can call more than one model sits on the same quote flow.
The problem
Before the aggregator, a customer who wanted to compare cover had to submit a form to each provider. Every insurer exposes a different API and a different product shape. Payments arrive asynchronously, so the system has to trust a webhook, not the browser redirect. Identity in the UAE often means UAE Pass, not only a social login.
What I built
- Provider integrations that turn 10+ insurer responses into one comparable quote.
- The comparison flow across seven product lines.
- Two payment gateways, nGen and Tamara, with webhook handlers that confirm the payment server side.
- UAE Pass and OAuth 2.0 authentication.
- The chatbot on the quote flow, built on the same retrieval and multi-model pattern as the knowledge assistants.
Architecture
A quote request fans out to the providers for that product line. Their responses are normalised into one shape and stored in MongoDB, then returned as a single comparison. Checkout hands off to the chosen gateway, and the gateway's webhook marks the payment as settled.
Loading diagram…
Key engineering decisions
One normalised quote shape, so the interface compares like with like regardless of which insurer answered. Payment state comes from the gateway webhook, because a customer closing the tab after paying is normal. Two gateways, because card payment and pay-later are different customers.
Outcome
Quote time went from a form per provider to a single unified comparison flow. The aggregator is live, with both gateways and both login paths in production.
Stack
Node.js, Express.js, MongoDB, nGen, Tamara, UAE Pass, OAuth 2.0, LangChain for the chatbot.
What I would improve next
Per-provider latency and error dashboards, so a slow insurer is visible before customers notice a thin comparison.
Client details are confidential. No client data is shown.