Automation library · Customer support

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.

LargeCalls a model: Claude, OpenAIRetrieval

37 stepsLarge: read it before trusting it with anything live
2Branches: places the flow splits
0Loops or waits
9Services it connects to

The flow

Starts it 1Model 12Logic 7Service 17

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

  1. 1WhatsApp WebhookWhats App triggerStarts it
  2. 2OpenAI EmbeddingsEmbeddings Open AiModel
  3. 3OpenAI Model (Sentiment)Lm Chat Open AiModel
  4. 4OpenAI Model (Parser)Lm Chat Open AiModel
  5. 5Cohere RerankerReranker CohereModel
  6. 6Google Calendar ToolGoogle Calendar ToolService
  7. 7HubSpot Contact ToolHubspot ToolService
  8. 8HubSpot Ticket ToolHubspot ToolService
  9. 9Slack ToolSlack ToolService
  10. 10Gmail ToolGmail ToolService
  11. 11Simple MemoryMemory Buffer WindowModel
  12. 12Anthropic Chat ModelLm Chat AnthropicModel
  13. 13Message Type RouterSwitchLogic
  14. 14Knowledge Base ToolVector Store SupabaseModel
  15. 15Sentiment + Language DetectionSentiment AnalysisModel
  16. 16Structured Output ParserOutput Parser StructuredModel
  17. 17Claude AI AgentAgentModel
  18. 18Whisper STTOpen AiModel
  19. 19GPT-4o VisionOpen AiModel
  20. 20PDF/DOCX ParserExtract From FileService
  21. 21Text Pass ThroughSetLogic
  22. 22Track AnalyticsData TableService
  23. 23Merge Message TypesMergeLogic
  24. 24Intent RouterSwitchLogic
  25. 25Supabase: Load SessionSupabaseService
  26. 26Google CalendarGoogle CalendarService
  27. 27HubSpot ContactHubspotService
  28. 28Gmail SendGmailService
  29. 29Slack NotifySlackService
  30. 30Slack EscalationSlackService
  31. 31FAQ ResponseSetLogic
  32. 32Merge Intent HandlersMergeLogic
  33. 33Google Drive UploadGoogle DriveService
  34. 34HubSpot TicketHubspotService
  35. 35Supabase: Save SessionSupabaseService
  36. 36Response FormatterCodeLogic
  37. 37WhatsApp SendWhats AppService

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.