Automation library · Scheduling

Multi-agent salon appointment management with Telegram

Started by an incoming Telegram message, and works across Google Calendar, Redis and Telegram. It puts Gemini and OpenAI behind a retrieval step, so answers are drawn from documents you supply rather than from the model alone. 52 steps, 6 branches, 1 loop or waits: large, and worth reading before you trust it with anything live.

LargeCalls a model: Gemini, OpenAIRetrieval

52 stepsLarge: read it before trusting it with anything live
6Branches: places the flow splits
1Loop or waits
3Services it connects to

The flow

Starts it 2Model 8Logic 19Service 23

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

  1. 1Execute Airtable AgentExecute WorkflowLogic
  2. 2Redis Chat MemoryMemory Redis ChatModel
  3. 3nail-salon-booking-mcpMcp Client ToolModel
  4. 4Telegram TriggerTelegram triggerStarts it
  5. 5Schedule Trigger1Schedule triggerStarts it
  6. 6send_acknowledgementTelegram ToolService
  7. 7gemini-2.5-flashLm Chat Google GeminiModel
  8. 8gpt-5-miniLm Chat Open AiModel
  9. 9cancel_agentAgent ToolModel
  10. 10Booking AgentAgentModel
  11. 11Is Owner?IfLogic
  12. 12Calculate Tomorrow1CodeLogic
  13. 13Send Booking MessageTelegramService
  14. 14Set Initial DataSetLogic
  15. 15Get Schedule Events1Google CalendarService
  16. 16Rate LimiterCodeLogic
  17. 17Format Reminder Data1CodeLogic
  18. 18Redis HourlyRedisService
  19. 19Send Client Reminder1TelegramService
  20. 20Increment Counter HourlyRedisService
  21. 21Check LimitCodeLogic
  22. 22Check Rate LimitedIfLogic
  23. 23Send Mesage?IfLogic
  24. 24PushRedisService
  25. 25Send User Message1TelegramService
  26. 26Set Processing LockRedisService
  27. 27Send Owner Message1TelegramService
  28. 28WaitWaitLogic
  29. 29Get Current Processing LockRedisService
  30. 30Am I the Processor?IfLogic
  31. 31Pop All Batched MessagesRedisService
  32. 32Delete Message ListRedisService
  33. 33Delete Processing LockRedisService
  34. 34Combine MessagesCodeLogic
  35. 35Get many eventsGoogle CalendarService
  36. 36Limit Reached?CodeLogic
  37. 37SwitchSwitchLogic
  38. 38TextSetLogic
  39. 39Get Audio Url1Http RequestService
  40. 40Get Image Url1Http RequestService
  41. 41Only PDF File1IfLogic
  42. 42Not supported1TelegramService
  43. 43Download Audio1Http RequestService
  44. 44Analyze Image1Open AiModel
  45. 45Get File Url1Http RequestService
  46. 46Incorrect format1TelegramService
  47. 47Transcribe Audio1Open AiModel
  48. 48Image1SetLogic
  49. 49Download File1Http RequestService
  50. 50Audio1SetLogic
  51. 51Extract from File1Extract From FileService
  52. 52File1SetLogic

How it's built

Starts on
An incoming Telegram message
Steps
52, with 6 branches, 1 loop or waits
Size
Large: read it before trusting it with anything live
Connects to
Google Calendar, Redis, Telegram
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 Google Calendar, Redis and Telegram 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 Telegram 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 52 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 52 steps before you point it at anything that matters.