Automation library · Scheduling

Automate multi-modal appointment booking with WhatsApp

Started by an incoming WhatsApp message, and works across WhatsApp. It puts OpenAI behind a retrieval step, so answers are drawn from documents you supply rather than from the model alone. 22 steps, 1 branch: large, and worth reading before you trust it with anything live.

LargeCalls a model: OpenAIRetrieval

22 stepsLarge: read it before trusting it with anything live
1Branch: places the flow splits
0Loops or waits
1Service it connects to

The flow

Starts it 1Model 9Logic 6Service 6

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

  1. 1OpenAI Chat ModelLm Chat Open AiModel
  2. 2Simple MemoryMemory Buffer WindowModel
  3. 3check_availabilityHttp Request ToolService
  4. 4book_appointmentTool Http RequestModel
  5. 5find_bookingTool Http RequestModel
  6. 6cancel_bookingTool Http RequestModel
  7. 7reschedule_bookingTool Http RequestModel
  8. 8WhatsApp TriggerWhats App triggerStarts it
  9. 9AI AgentAgentModel
  10. 10Split out message1Split OutLogic
  11. 11CodeCodeLogic
  12. 12Identify and ReRoute Message Types1SwitchLogic
  13. 13Send messageWhats AppService
  14. 14Get Audio URLWhats AppService
  15. 15Get Image URLWhats AppService
  16. 16Edit Fields 1SetLogic
  17. 17Download AudioHttp RequestService
  18. 18Download ImageHttp RequestService
  19. 19Audio TranscriberOpen AiModel
  20. 20Analyze imageOpen AiModel
  21. 21Edit Fields 3SetLogic
  22. 22Edit Fields 2SetLogic

How it's built

Starts on
An incoming WhatsApp message
Steps
22, with 1 branch
Size
Large: read it before trusting it with anything live
Connects to
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 WhatsApp account, 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?

Take your time. At 22 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 22 steps before you point it at anything that matters.