Automation library · Scheduling

Personal assistant for calendar & tasks with OpenAI

Started by an incoming Telegram message, and works across Google Calendar, Google Tasks and Telegram. It puts OpenAI behind a retrieval step, so answers are drawn from documents you supply rather than from the model alone. 22 steps: 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
0Branches: places the flow splits
0Loops or waits
3Services it connects to

The flow

Starts it 3Model 5Service 14

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

  1. 1Create an Event in Google Calendar with 1 AttendeeGoogle Calendar ToolService
  2. 2Create an Event in Google Calendar with 2 AttendeesGoogle Calendar ToolService
  3. 3Delete an event Google CalendarGoogle Calendar ToolService
  4. 4Create a weekly recurrent event EventGoogle Calendar ToolService
  5. 5complete_taskGoogle Tasks ToolService
  6. 6update tasksGoogle Tasks ToolService
  7. 7create_taskGoogle Tasks ToolService
  8. 8get_tasksGoogle Tasks ToolService
  9. 9delete taskGoogle Tasks ToolService
  10. 10move_task_positionHttp Request ToolService
  11. 11OpenAI Chat ModelLm Chat Open AiModel
  12. 12Telegram TriggerTelegram triggerStarts it
  13. 13Google Tasks MCPMcp Client ToolModel
  14. 14Google Calender MCPMcp Client ToolModel
  15. 15Simple MemoryMemory Buffer WindowModel
  16. 16Get_EventsGoogle Calendar ToolService
  17. 17GetAll_EventsGoogle Calendar ToolService
  18. 18MCP Server TriggerMcp triggerStarts it
  19. 19MCP Server Trigger1Mcp triggerStarts it
  20. 20AI AgentAgentModel
  21. 21Send MessageTelegramService
  22. 22Send Error MessageTelegramService

How it's built

Starts on
An incoming Telegram message
Steps
22
Size
Large: read it before trusting it with anything live
Connects to
Google Calendar, Google Tasks, Telegram
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 Google Calendar, Google Tasks and Telegram accounts, and a key for 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 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.