# Route WhatsApp support requests with Claude and Supabase: n8n workflow

> Started by an incoming WhatsApp message, and works across Gmail, Google Calendar, Google Drive, HubSpot and five others.

Source: https://millionrounds.com/workflow/route-whatsapp-support-requests-with-claude-and-supabase (Millionrounds; every figure on the page links to its filing or article)

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

# Route WhatsApp support requests with Claude and Supabase

Started by an incoming WhatsApp message, and works across Gmail, Google Calendar, Google Drive, HubSpot and five others. It puts Claude and OpenAI behind a retrieval step, so answers are drawn from documents you supply rather than from the model alone. 37 steps, 2 branches: large, and worth reading before you trust it with anything live.

Large Calls a model: Claude, OpenAI Retrieval

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Froute-whatsapp-support-requests-with-claude-and-supabase)

**37 steps** Large: read it before trusting it with anything live

**2** Branches: places the flow splits

**0** Loops or waits

**9** Services it connects to

## The flow

Starts it 1 Model 12 Logic 7 Service 17

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

- 1 **WhatsApp Webhook** Whats App trigger *Starts it*
- 2 **OpenAI Embeddings** Embeddings Open Ai *Model*
- 3 **OpenAI Model (Sentiment)** Lm Chat Open Ai *Model*
- 4 **OpenAI Model (Parser)** Lm Chat Open Ai *Model*
- 5 **Cohere Reranker** Reranker Cohere *Model*
- 6 **Google Calendar Tool** Google Calendar Tool *Service*
- 7 **HubSpot Contact Tool** Hubspot Tool *Service*
- 8 **HubSpot Ticket Tool** Hubspot Tool *Service*
- 9 **Slack Tool** Slack Tool *Service*
- 10 **Gmail Tool** Gmail Tool *Service*
- 11 **Simple Memory** Memory Buffer Window *Model*
- 12 **Anthropic Chat Model** Lm Chat Anthropic *Model*
- 13 **Message Type Router** Switch *Logic*
- 14 **Knowledge Base Tool** Vector Store Supabase *Model*
- 15 **Sentiment + Language Detection** Sentiment Analysis *Model*
- 16 **Structured Output Parser** Output Parser Structured *Model*
- 17 **Claude AI Agent** Agent *Model*
- 18 **Whisper STT** Open Ai *Model*
- 19 **GPT-4o Vision** Open Ai *Model*
- 20 **PDF/DOCX Parser** Extract From File *Service*
- 21 **Text Pass Through** Set *Logic*
- 22 **Track Analytics** Data Table *Service*
- 23 **Merge Message Types** Merge *Logic*
- 24 **Intent Router** Switch *Logic*
- 25 **Supabase: Load Session** Supabase *Service*
- 26 **Google Calendar** Google Calendar *Service*
- 27 **HubSpot Contact** Hubspot *Service*
- 28 **Gmail Send** Gmail *Service*
- 29 **Slack Notify** Slack *Service*
- 30 **Slack Escalation** Slack *Service*
- 31 **FAQ Response** Set *Logic*
- 32 **Merge Intent Handlers** Merge *Logic*
- 33 **Google Drive Upload** Google Drive *Service*
- 34 **HubSpot Ticket** Hubspot *Service*
- 35 **Supabase: Save Session** Supabase *Service*
- 36 **Response Formatter** Code *Logic*
- 37 **WhatsApp Send** Whats App *Service*

## How it's built

- **Starts on:** An incoming WhatsApp message
- **Steps:** 37, with 2 branches
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Gmail, Google Calendar, Google Drive, HubSpot, Slack, Supabase, Supabase vectors, WhatsApp, n8n data table
- **Model:** Claude, 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 Gmail, Google Calendar, Google Drive, HubSpot, Slack, Supabase, Supabase vectors and WhatsApp accounts, and a key for Claude and 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 Claude and 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?

Take your time. At 37 steps it is large: read it before trusting it with anything live.

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 37 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%2Froute-whatsapp-support-requests-with-claude-and-supabase)
- **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.

[Gmail](https://millionrounds.com/workflows?service=Gmail#library)[Google Calendar](https://millionrounds.com/workflows?service=Google+Calendar#library)[Google Drive](https://millionrounds.com/workflows?service=Google+Drive#library)[HubSpot](https://millionrounds.com/workflows?service=HubSpot#library)[Slack](https://millionrounds.com/workflows?service=Slack#library)[Supabase](https://millionrounds.com/workflows?service=Supabase#library)[Supabase vectors](https://millionrounds.com/workflows?service=Supabase+vectors#library)[WhatsApp](https://millionrounds.com/workflows?service=WhatsApp#library)[n8n data table](https://millionrounds.com/workflows?service=n8n+data+table#library)

## Workflows like it

Also customer support, with the same services where possible, closest in size first.

- [**AI-powered WhatsApp customer service with OpenAI and Gmail** 37 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/ai-powered-whatsapp-customer-service-with-openai-and-gmail)
- [**WhatsApp AI customer service chatbot – handles text, voice** 37 steps · calls a model · Google Drive, Postgres](https://millionrounds.com/workflow/whatsapp-ai-customer-service-chatbot-handles-text-voice)
- [**Answer HR policy and benefits questions with BambooHR** 39 steps · calls a model · Supabase vectors](https://millionrounds.com/workflow/answer-hr-policy-and-benefits-questions-with-bamboohr)
- [**Use OCR and vector search to answer questions with WhatsApp** 35 steps · calls a model · Google Drive, Pinecone](https://millionrounds.com/workflow/use-ocr-and-vector-search-to-answer-questions-with-whatsapp)
- [**WhatsApp personal AI assistant with PDF** 35 steps · calls a model · Airtable, Gmail](https://millionrounds.com/workflow/whatsapp-personal-ai-assistant-with-pdf)
- [**Build an AI-powered SMS support system with Twilio and OpenAI** 40 steps · calls a model · Gmail, Postgres](https://millionrounds.com/workflow/build-an-ai-powered-sms-support-system-with-twilio-and-opena)
