Inspiration
🌊 DealFlow
AI-Powered Autonomous Insurance Protocol
Bridging the gap between on-chain liquidity and off-chain reality.
DEPLOYED LINK
https://deal-flows.netlify.app/
💡 Inspiration
Traditional insurance is plagued by slow, manual claim verification and opaque rejection reasons. dealFlow solves this by acting as an AI Forensic Auditor. It connects a user's real-world evidence (photos of bills/receipts) with a company's on-chain liquidity and policy rules, creating a system where valid claims are paid out instantly, and invalid ones are rejected with clear, transparent reasons.
📸 How It Works
1. The "Brain" (Automation Engine)
The core of dealFlow is a Make.com scenario that orchestrates the logic between Gmail, Google Gemini AI, and our Supabase ledger.
![https://eu1.make.com/public/shared-scenario/2CgSk0vkgBS/integration-gmail-http]
2. The Verdict (AI Forensic Auditor)
🚀 Key Features
- 🤖 AI Forensic Auditor: Uses computer vision (Google Gemini) to extract specific data from receipts (Merchant Name, Date, Total Amount) and cross-references it with the insurer's policy terms.
- ⚡ Automated Claim Settlement: No human intervention required. If the data matches the policy, the claim is approved instantly.
- 🏢 Dual-Dashboard System:
- Business Dashboard: Real-time financial tracking (Total Locked, Paid Out, Available Balance).
- Consumer Dashboard: Simple interface for users to track claim status.
- 📧 Zero-Friction Submission: Users don't need to learn complex dApps to file a claim; they simply reply to an email with their evidence.
⚙️ How It Works (The Flow)
- Business Onboarding: An Insurance Agent registers on the Business Dashboard and funds their liquidity pool.
- Claim Submission: A user submits a claim via the Consumer Portal or by sending an email with an attachment (photo of the bill).
- The "Watcher": Our Make.com engine detects the new submission.
- AI Analysis: Gemini AI scans the image, acting as a forensic auditor. It extracts the Bill Amount and Wallet Address and checks against the specific Company Policy stored in Supabase.
- The Verdict:
- Approved: The system updates the on-chain ledger and deducts the amount from the company's "Available Balance."
- Rejected: The AI drafts a specific reply explaining exactly what is missing.
- Notification: The user receives an instant email notification with the verdict.
🛠️ Built With
- Frontend: React + Vite
- Styling: Tailwind CSS + shadcn/ui
- AI Engine: Google Gemini API (Vision & Text Processing)
- Automation: Make.com (Orchestration)
- Database: Supabase (PostgreSQL & Real-time)
- Web3: Ethers.js (Wallet connection)
📦 Getting Started
Prerequisites
- Node.js (v16 or higher)
- npm or yarn
Installation
- Clone the repo
sh git clone [https://github.com/krish2413179-prog/dealFlow.git](https://github.com/krish2413179-prog/dealFlow.git) - Install NPM packages
sh npm install - Start the development server
sh npm run dev
🔮 What's Next for dealFlow
- Smart Contract Integration: Moving the ledger from Supabase to a fully decentralized Smart Contract on Polygon/Ethereum.
- Fraud Detection 2.0: Implementing advanced metadata analysis to detect Photoshop-edited receipts.
- Multi-Chain Support: Allowing payouts in USDC, ETH, or MATIC.
👥 Team
- [Krish Sharma] - Full Stack & Automation
Note to Judges: The
Make.comscenario JSON is included in the/automationfolder for review.What it does

Log in or sign up for Devpost to join the conversation.