Automation library · Scheduling

AI-Powered WhatsApp Chatbot : Complete Booking Assistant

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

LargeCalls a model: Gemini, OpenAIRetrieval

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

The flow

Starts it 3Model 11Logic 8Service 15

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

  1. 1Update eventGoogle Calendar ToolService
  2. 2Delete eventGoogle Calendar ToolService
  3. 3Create eventGoogle Calendar ToolService
  4. 4Get eventsGoogle Calendar ToolService
  5. 5Add clientGoogle Sheets ToolService
  6. 6Workflow Error HandlerError triggerStarts it
  7. 7WhatsApp TriggerWhats App triggerStarts it
  8. 8CalculatorTool CalculatorModel
  9. 9Send EmailGmail ToolService
  10. 10New clientGoogle Sheets ToolService
  11. 11Google Gemini Chat ModelLm Chat Google GeminiModel
  12. 12Google Gemini Chat Model1Lm Chat Google GeminiModel
  13. 13Send message1Whats AppService
  14. 14When chat message receivedChat triggerStarts it
  15. 15Postgres Chat MemoryMemory Postgres ChatModel
  16. 16Virtual AssistantAgentModel
  17. 17Notify: Workflow ErrorGmailService
  18. 18Input typeSwitchLogic
  19. 19EscalationWhats App Hitl ToolService
  20. 20Escalation1Chat Hitl ToolModel
  21. 21GuardrailsGuardrailsModel
  22. 22From ChatSetLogic
  23. 23SwitchSwitchLogic
  24. 24MessageSetLogic
  25. 25Get Audio UrlWhats AppService
  26. 26Not supportedWhats AppService
  27. 27Chat1ChatModel
  28. 28NormalizeSetLogic
  29. 29From audio to audio?IfLogic
  30. 30ChatChatModel
  31. 31Download AudioHttp RequestService
  32. 32Generate Audio ResponseOpen AiModel
  33. 33Send messageWhats AppService
  34. 34Transcribe AudioOpen AiModel
  35. 35Fix mimeType for AudioCodeLogic
  36. 36AudioSetLogic
  37. 37Send audioWhats AppService

How it's built

Starts on
An incoming WhatsApp message
Steps
37, with 3 branches
Size
Large: read it before trusting it with anything live
Connects to
Gmail, Google Calendar, Google Sheets, WhatsApp
Model
Gemini, 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 Sheets and WhatsApp accounts, and a key for Gemini 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 Gemini 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.