<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Anshu Panwar </title>
    <description>The latest articles on DEV Community by Anshu Panwar  (@ansshhuu).</description>
    <link>https://dev.to/ansshhuu</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3848055%2Fe6bd4b88-0c6c-4f75-b73a-f0f8e982938b.jpeg</url>
      <title>DEV Community: Anshu Panwar </title>
      <link>https://dev.to/ansshhuu</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ansshhuu"/>
    <language>en</language>
    <item>
      <title>Building Zenvest: Instant Insurance Payouts Using AI &amp; Real-Time Triggers</title>
      <dc:creator>Anshu Panwar </dc:creator>
      <pubDate>Sat, 28 Mar 2026 17:57:30 +0000</pubDate>
      <link>https://dev.to/ansshhuu/building-zenvest-instant-insurance-payouts-using-ai-real-time-triggers-1bl5</link>
      <guid>https://dev.to/ansshhuu/building-zenvest-instant-insurance-payouts-using-ai-real-time-triggers-1bl5</guid>
      <description>&lt;h1&gt;
  
  
  Building Zenvest: Parametric Insurance for India’s Gig Workers
&lt;/h1&gt;

&lt;p&gt;Hackathons are intense. Ideas fly in every direction, the clock is merciless, and the pressure to ship something &lt;em&gt;meaningful&lt;/em&gt; is real.&lt;/p&gt;

&lt;p&gt;This time, one simple question changed everything:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;What happens when a delivery partner &lt;strong&gt;can’t work&lt;/strong&gt; because of things completely outside their control?&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Rain. Toxic air. Platform outages.&lt;/p&gt;

&lt;p&gt;That question became &lt;strong&gt;Zenvest&lt;/strong&gt; - India’s first parametric insurance platform built specifically for gig workers.&lt;/p&gt;




&lt;h2&gt;
  
  
  Day 0: The Problem That Hit Us Hard
&lt;/h2&gt;

&lt;p&gt;We started by looking closely at the lives of gig economy delivery partners.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Their income is 100% tied to daily rides and deliveries
&lt;/li&gt;
&lt;li&gt;No work = zero earnings
&lt;/li&gt;
&lt;li&gt;External disruptions (weather, AQI spikes, app downtime) destroy their day
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Traditional insurance fails them completely:  &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Claims take days or weeks
&lt;/li&gt;
&lt;li&gt;Endless documentation and proof of loss
&lt;/li&gt;
&lt;li&gt;Payouts are uncertain and delayed
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The entire system was broken. We decided it was time to rebuild it.&lt;/p&gt;




&lt;h2&gt;
  
  
  Day 1: Flipping the Insurance Model
&lt;/h2&gt;

&lt;p&gt;Instead of the usual question insurance companies ask —  &lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;“Can the user prove their loss?”&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;— we asked a better one:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;“Can we &lt;strong&gt;detect&lt;/strong&gt; the loss automatically and pay instantly?”&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;This led us straight to &lt;strong&gt;parametric insurance&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;If predefined triggers are met:  &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Rainfall exceeds a threshold
&lt;/li&gt;
&lt;li&gt;AQI crosses dangerous levels
&lt;/li&gt;
&lt;li&gt;Platform experiences confirmed downtime
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;→ &lt;strong&gt;Instant payout&lt;/strong&gt;.  &lt;/p&gt;

&lt;p&gt;No claims. No paperwork. No waiting.&lt;/p&gt;




&lt;h2&gt;
  
  
  Day 2: Designing the Core User Flow
&lt;/h2&gt;

&lt;p&gt;We kept the experience dead simple and powerful:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fivc2qe6dtciyxmz0veiz.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fivc2qe6dtciyxmz0veiz.png" alt=" " width="800" height="1200"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;User signs up (Aadhaar + platform partner ID)
&lt;/li&gt;
&lt;li&gt;Background risk profiling runs instantly
&lt;/li&gt;
&lt;li&gt;AI recommends a personalized weekly plan
&lt;/li&gt;
&lt;li&gt;User subscribes via UPI
&lt;/li&gt;
&lt;li&gt;System continuously monitors real-world data
&lt;/li&gt;
&lt;li&gt;Trigger met → &lt;strong&gt;instant payout&lt;/strong&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The entire journey had to feel automatic, invisible, and trustworthy.&lt;/p&gt;




&lt;h2&gt;
  
  
  Day 3: Adding Intelligence with AI/ML
&lt;/h2&gt;

&lt;p&gt;We refused to settle for static rules. The system had to be smart and adaptive.&lt;/p&gt;

&lt;p&gt;Here’s what we built:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Risk Profiling&lt;/strong&gt; — XGBoost model classifying users into dynamic risk tiers
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Weather &amp;amp; Disruption Forecasting&lt;/strong&gt; — LSTM-based prediction engine
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Fraud Detection&lt;/strong&gt; — Isolation Forest + custom anomaly detection
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Plan Recommendation Engine&lt;/strong&gt; — personalized weekly plans that evolve with user behavior
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Every week the models retrain and improve. The system literally gets smarter over time.&lt;/p&gt;




&lt;h2&gt;
  
  
  Day 4: Why We Chose a Progressive Web App (PWA)
&lt;/h2&gt;

&lt;p&gt;We made a very deliberate technical decision: &lt;strong&gt;no native app&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Our users typically run low-end Android devices, have limited storage, and need instant access. So we built a blazing-fast PWA:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Zero installation friction
&lt;/li&gt;
&lt;li&gt;Works offline where possible
&lt;/li&gt;
&lt;li&gt;Instant updates without Play Store delays
&lt;/li&gt;
&lt;li&gt;Can still be “installed” to the home screen
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Sometimes the simplest technical choice is the most user-centric one.&lt;/p&gt;




&lt;h2&gt;
  
  
  Day 5: The Magic Moment - Instant Payouts
&lt;/h2&gt;

&lt;p&gt;This is where everything clicks.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Real-world example:&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
Heavy rain hits a city. Rainfall crosses the threshold. The system pulls live data from IMD and CPCB APIs, verifies conditions, and triggers a UPI payout in &lt;strong&gt;seconds&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;No forms.&lt;br&gt;&lt;br&gt;
No approvals.&lt;br&gt;&lt;br&gt;
No stress.&lt;/p&gt;

&lt;p&gt;Just money in the partner’s account when they need it most.&lt;/p&gt;




&lt;h2&gt;
  
  
  Under the Hood: The Tech Stack
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Frontend&lt;/strong&gt;  &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;React.js + Tailwind CSS
&lt;/li&gt;
&lt;li&gt;Full PWA implementation (service workers, offline support, install prompts)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Backend&lt;/strong&gt;  &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Node.js (Fastify for performance) + Express where needed&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Database &amp;amp; Infrastructure&lt;/strong&gt;  &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;MongoDB (flexible schemas)
&lt;/li&gt;
&lt;li&gt;Redis (caching + rate limiting + session management)
&lt;/li&gt;
&lt;li&gt;AWS (EC2, ECS, S3, CloudWatch)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Key Integrations&lt;/strong&gt;  &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Aadhaar eKYC via UIDAI sandbox
&lt;/li&gt;
&lt;li&gt;Razorpay UPI for instant payouts
&lt;/li&gt;
&lt;li&gt;IMD Weather API + CPCB Air Quality API&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Sentinel: Our Fraud Detection Layer
&lt;/h2&gt;

&lt;p&gt;Automation is powerful -but only when it’s safe.&lt;/p&gt;

&lt;p&gt;We built &lt;strong&gt;Sentinel&lt;/strong&gt;, a dedicated fraud prevention engine that:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Detects GPS spoofing in real time
&lt;/li&gt;
&lt;li&gt;Flags unnatural activity patterns
&lt;/li&gt;
&lt;li&gt;Identifies duplicate or suspicious accounts
&lt;/li&gt;
&lt;li&gt;Routes clean claims for instant approval
&lt;/li&gt;
&lt;li&gt;Flags high-risk cases for human review&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Trust without naivety.&lt;/p&gt;




&lt;h2&gt;
  
  
  📊 Real Impact Scenario
&lt;/h2&gt;

&lt;p&gt;Picture a delivery partner earning ₹600–800 per day.&lt;/p&gt;

&lt;p&gt;When heavy rain washes out the entire evening shift, Zenvest automatically detects the trigger and credits the payout within seconds.&lt;/p&gt;

&lt;p&gt;No panic.&lt;br&gt;&lt;br&gt;
No lost income.&lt;br&gt;&lt;br&gt;
Just dignity and continuity.&lt;/p&gt;




&lt;h2&gt;
  
  
  Phase 1 Results &amp;amp; What’s Next
&lt;/h2&gt;

&lt;p&gt;We’re proud to share that &lt;strong&gt;Zenvest scored 4/5 stars in Phase 1 of the hackathon&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;The judges loved the real-world problem, the parametric approach, and the technical depth. But more importantly, the idea clearly resonated.&lt;/p&gt;

&lt;p&gt;This was just the beginning.&lt;/p&gt;




&lt;h2&gt;
  
  
  🤝 We Want Your Feedback, Dev Community
&lt;/h2&gt;

&lt;p&gt;We’re still early and actively iterating. If you’ve made it this far, we’d genuinely love your thoughts:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;What would you improve in the architecture?
&lt;/li&gt;
&lt;li&gt;Better approaches for fraud detection at scale?
&lt;/li&gt;
&lt;li&gt;Ideas for expanding parametric triggers?
&lt;/li&gt;
&lt;li&gt;UI/UX suggestions for gig workers?
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Drop your comments below. We’re building this in public and learning with every conversation.&lt;/p&gt;




&lt;p&gt;&lt;strong&gt;Thanks for reading.&lt;/strong&gt;  &lt;/p&gt;

&lt;p&gt;If this story or the problem resonates with you, let’s connect. Whether you’re a developer, designer, gig worker, or just someone who believes technology should solve real Indian problems — we’d love to hear from you.&lt;/p&gt;

&lt;p&gt;Let’s build something that actually matters.&lt;/p&gt;

&lt;p&gt;— The Zenvest Team&lt;/p&gt;

</description>
      <category>ai</category>
      <category>machinelearning</category>
      <category>fintech</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
