Building an AI Workforce for Insurance with n8n, OpenAI, LangGraph and Supabase A developer built an AI workforce for insurance using n8n, OpenAI, LangGraph, and Supabase. The system comprises multiple specialized agents that handle discovery, research, policy comparison, recommendations, CRM, and follow-ups, while a human advisor reviews and makes final decisions. The architecture emphasizes human-in-the-loop AI, where AI prepares information and humans exercise judgment. AI for Preparation. Humans for Judgment. Most AI projects today are one of these: But I wanted to explore something bigger: What if businesses could build an AI Workforce? Instead of one AI assistant, imagine: Customer ↓ AI Workforce ├── Discovery Agent ├── Research Agent ├── Policy Comparison Agent ├── Recommendation Agent ├── CRM Agent └── Follow-up Agent ↓ Human Advisor ↓ Customer This article explains the architecture and design decisions behind such a system. Insurance is an interesting industry for AI. Because: This makes Insurance a perfect Human-in-the-Loop AI use case. This is the core philosophy. I don't want AI to automatically sell insurance. I don't want AI replacing advisors. I want: AI prepares. Humans decide. The workflow becomes: Customer ↓ AI Workforce ↓ Human Advisor Review ↓ Customer This creates: Customer ↓ WhatsApp Phone Call Website Chat Email ↓ AI Workforce ├── Discovery Agent ├── Research Agent ├── Comparison Agent ├── Recommendation Agent ├── CRM Agent └── Follow-up Agent ↓ Human Advisor ↓ Customer The Discovery Agent understands the customer. Responsibilities: Example Output: { "risk level":"medium", "family type":"married with children", "insurance goal":"health and term", "recommended health cover":"20L", "recommended term cover":"3Cr" } The Research Agent acts like an insurance analyst. Responsibilities: Example: { "customer profile summary":"...", "top recommendations": "...", "...", "..." , "risks": "...", "..." , "confidence score":0.92 } Creates structured comparisons: | Feature | Plan A | Plan B | Plan C | |---|---|---|---| | Coverage | ✓ | ✓ | ✓ | | Premium | ✓ | ✓ | ✓ | | Waiting Period | ✓ | ✓ | ✓ | | Claim Process | ✓ | ✓ | ✓ | Output: Creates: Everything before the advisor joins. Updates: Handles: One important decision: Customers should not install a new application. The AI Workforce should operate through: Different channels. Same intelligence. I intentionally started with n8n. Because: After validation: n8n ↓ NestJS ↓ LangGraph ↓ Production AI Workforce I don't think AI will replace Insurance Advisors. I think every advisor may eventually have: An AI Workforce working behind the scenes. AI provides: Humans provide: The future is not: Human vs AI The future is: Human + AI Workforce If you're building something similar, I'd love to hear your thoughts.