Automation library · Scheduling

Book and remind appointments with Telegram and Gemini

Started by an incoming Telegram message, and works across Google Calendar, Google Sheets and Telegram. It hands the judgement calls to Gemini. 21 steps, 2 branches: large, and worth reading before you trust it with anything live.

LargeCalls a model: Gemini

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

The flow

Starts it 2Model 2Logic 8Service 9

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

  1. 1When Telegram Message ReceivedTelegram triggerStarts it
  2. 2Every 15 MinutesSchedule triggerStarts it
  3. 3Google Gemini ModelLm Chat Google GeminiModel
  4. 4Parse Telegram MessageCodeLogic
  5. 5Fetch Upcoming EventsGoogle CalendarService
  6. 6Appointment Booking AgentAgentModel
  7. 7Filter Due RemindersCodeLogic
  8. 8Validate Appointment InputCodeLogic
  9. 9Read Reminder Log in SheetsGoogle SheetsService
  10. 10If Needs ClarificationIfLogic
  11. 11Assess Reminder StateCodeLogic
  12. 12Send Clarification RequestTelegramService
  13. 13Create Appointment EventGoogle CalendarService
  14. 14If Reminder Not SentIfLogic
  15. 15Format Appointment RecordCodeLogic
  16. 16Build Reminder MessageCodeLogic
  17. 17Append Appointment in SheetsGoogle SheetsService
  18. 18Read Owner from SheetsGoogle SheetsService
  19. 19Send Confirmation via TelegramTelegramService
  20. 20Send Reminder via TelegramTelegramService
  21. 21Append Log in SheetsGoogle SheetsService

How it's built

Starts on
An incoming Telegram message
Steps
21, with 2 branches
Size
Large: read it before trusting it with anything live
Connects to
Google Calendar, Google Sheets, Telegram
Model
Gemini

Questions

What does it need to run?

An n8n account, plus your own Google Calendar, Google Sheets and Telegram accounts, and a key for Gemini. 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. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

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