# Building an AI Workforce for Insurance with n8n, OpenAI, LangGraph and Supabase

> Source: <https://dev.to/gaurav_talesara/building-an-ai-workforce-for-insurance-with-n8n-openai-langgraph-and-supabase-4cj1>
> Published: 2026-06-16 18:59:15+00:00

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.
