Automation library · Scheduling

Telegram appointment scheduler bot with Google Calendar

Started by an incoming Telegram message, and works across Google Calendar, Google Sheets and Telegram. 25 steps, 4 branches: large, and worth reading before you trust it with anything live.

Large

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

The flow

Starts it 1Logic 8Service 16

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

  1. 1Telegram TriggerTelegram triggerStarts it
  2. 2SwitchSwitchLogic
  3. 3Respuesta Bot InicialTelegramService
  4. 4Code in JavaScriptCodeLogic
  5. 5Code in JavaScript1CodeLogic
  6. 6Code in JavaScript2CodeLogic
  7. 7Respuesta Bot DefectoTelegramService
  8. 8Get many eventsGoogle CalendarService
  9. 9Get many events1Google CalendarService
  10. 10Buscar citas de clienteGoogle SheetsService
  11. 11IfIfLogic
  12. 12If1IfLogic
  13. 13If2IfLogic
  14. 14Create an eventGoogle CalendarService
  15. 15Respuesta Hora no disponibleTelegramService
  16. 16Respuesta Cita no encontradaTelegramService
  17. 17Delete an eventGoogle CalendarService
  18. 18Respuesta Citas no encontradasTelegramService
  19. 19Code in JavaScript3CodeLogic
  20. 20Agregar cita en Google SheetsGoogle SheetsService
  21. 21Buscar cita agendadaGoogle SheetsService
  22. 22Respuesta de Cita Agendada1TelegramService
  23. 23Respuesta de Cita AgendadaTelegramService
  24. 24Delete rows or columns from sheetGoogle SheetsService
  25. 25Respuesta Cita CanceladaTelegramService

How it's built

Starts on
An incoming Telegram message
Steps
25, with 4 branches
Size
Large: read it before trusting it with anything live
Connects to
Google Calendar, Google Sheets, Telegram
Model
None. This is plumbing, not judgement

Questions

What does it need to run?

An n8n account, plus your own Google Calendar, Google Sheets and Telegram accounts. 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?

No. Every step is fixed logic or a call to a service, so it does the same thing every time.

How long does it take to set up?

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