Automation library · Scheduling

Personal Google Calendar & reminder bot on Telegram

Started by an incoming Telegram message, and works across Google Calendar 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. 21 steps, 1 branch: large, and worth reading before you trust it with anything live.

LargeCalls a model: Gemini, OpenAIRetrieval

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

The flow

Starts it 2Model 5Logic 4Service 10

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

  1. 1Google Gemini ModelLm Chat Google GeminiModel
  2. 2Reminder ScheduleSchedule triggerStarts it
  3. 3Delete eventGoogle Calendar ToolService
  4. 4Simple MemoryMemory Buffer WindowModel
  5. 5Get eventsGoogle Calendar ToolService
  6. 6Create EventGoogle Calendar ToolService
  7. 7Update EventGoogle Calendar ToolService
  8. 8StartTelegram triggerStarts it
  9. 9Reminder Message AgentAgentModel
  10. 10Calendar Manage!AgentModel
  11. 11Get Upcoming EventsGoogle CalendarService
  12. 12SwitchSwitchLogic
  13. 13Send ReminderTelegramService
  14. 14Send AI ResponseTelegramService
  15. 15Filter Duplicate RemindersRemove DuplicatesLogic
  16. 16Send Typing IndicatorTelegramService
  17. 17📥 Download VoiceTelegramService
  18. 18Edit FieldsSetLogic
  19. 19OpenAIOpen AiModel
  20. 20MergeMergeLogic
  21. 21Typing 2TelegramService

How it's built

Starts on
An incoming Telegram message
Steps
21, with 1 branch
Size
Large: read it before trusting it with anything live
Connects to
Google Calendar, 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 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 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.