# Qualify WhatsApp insurance leads with OpenAI and HubSpot: n8n workflow

> Started by an incoming WhatsApp message, and works across HubSpot, Slack and WhatsApp. It puts OpenAI behind a retrieval step, so answers are drawn from...

Source: https://millionrounds.com/workflow/qualify-whatsapp-insurance-leads-with-openai-and-hubspot (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Lead generation](https://millionrounds.com/workflows?category=Lead+generation#library)

# Qualify WhatsApp insurance leads with OpenAI and HubSpot

Started by an incoming WhatsApp message, and works across HubSpot, Slack and WhatsApp. It puts OpenAI behind a retrieval step, so answers are drawn from documents you supply rather than from the model alone. 12 steps, 2 branches: a working afternoon to understand properly.

Medium Calls a model: OpenAI Retrieval

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fqualify-whatsapp-insurance-leads-with-openai-and-hubspot)

**12 steps** Medium: a working afternoon

**2** Branches: places the flow splits

**0** Loops or waits

**3** Services it connects to

## The flow

Starts it 1 Model 6 Logic 2 Service 3

The steps in the order they run, from what starts it.

- 1 **Lead Messages on WhatsApp** Whats App trigger *Starts it*
- 2 **Chat Model (Conversation)** Lm Chat Open Ai *Model*
- 3 **Remember Conversation** Memory Buffer Window *Model*
- 4 **Chat Model (Analysis)** Lm Chat Open Ai *Model*
- 5 **Parse Lead Data (JSON)** Output Parser Structured *Model*
- 6 **AI Insurance Assistant** Agent *Model*
- 7 **Qualify & Score Lead** Chain Llm *Model*
- 8 **Reply on WhatsApp** Whats App *Service*
- 9 **Qualified Lead?** If *Logic*
- 10 **Wants a Human?** If *Logic*
- 11 **Upsert Lead in CRM** Hubspot *Service*
- 12 **Alert Sales Team (Handover)** Slack *Service*

## How it's built

- **Starts on:** An incoming WhatsApp message
- **Steps:** 12, with 2 branches
- **Size:** Medium: a working afternoon
- **Connects to:** HubSpot, Slack, WhatsApp
- **Model:** OpenAI
- **Retrieval:** Answers are drawn from documents you supply, not from the model alone

## Questions

What does it need to run?

An n8n account, plus your own HubSpot, Slack and WhatsApp accounts, and a key for OpenAI. You connect your own accounts after importing it; none are included.

What starts it?

It starts on an incoming WhatsApp message.

Does it use AI?

Yes. It calls OpenAI. Its answers draw on documents you give it, not on the model alone. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Plan an afternoon. 12 steps is enough that you should read each one before running it.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

**Before you run it**

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 12 steps before you point it at anything that matters.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fqualify-whatsapp-insurance-leads-with-openai-and-hubspot)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Connects to

Each opens the other workflows that use it.

[HubSpot](https://millionrounds.com/workflows?service=HubSpot#library)[Slack](https://millionrounds.com/workflows?service=Slack#library)[WhatsApp](https://millionrounds.com/workflows?service=WhatsApp#library)

## Workflows like it

Also lead generation, with the same services where possible, closest in size first.

- [**AI Lead Validator: Verify Emails with MCP and HubSpot** 12 steps · calls a model · HubSpot, Slack](https://millionrounds.com/workflow/ai-lead-validator-verify-emails-with-mcp-and-hubspot)
- [**AI-Powered Lead Qualification & Routing with OpenAI and Slack** 12 steps · calls a model · Airtable, Email](https://millionrounds.com/workflow/ai-powered-lead-qualification-and-routing-with-openai-and-sl)
- [**Monitor Reddit brand mentions and send lead alerts with Apify** 12 steps · calls a model · Apify, Discord](https://millionrounds.com/workflow/monitor-reddit-brand-mentions-and-send-lead-alerts-with-apif)
- [**Process social media leads with OpenAI and Google Sheets** 12 steps · calls a model · Google Sheets, Jira](https://millionrounds.com/workflow/process-social-media-leads-with-openai-and-google-sheets)
- [**Qualify LinkedIn post engagers into scored leads with Apify** 12 steps · calls a model · Google Sheets, Slack](https://millionrounds.com/workflow/qualify-linkedin-post-engagers-into-scored-leads-with-apify)
- [**Qualify real estate leads with OpenAI and Slack** 12 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/qualify-real-estate-leads-with-openai-and-slack)
