Automation library · Chat assistants

Telegram personal AI agent with Gemini and Airtable

Started by an incoming Telegram message, and works across Airtable and Telegram. It puts Gemini behind a retrieval step, so answers are drawn from documents you supply rather than from the model alone. 26 steps, 1 branch: large, and worth reading before you trust it with anything live.

LargeCalls a model: GeminiRetrieval

26 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 1Model 10Logic 9Service 6

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

  1. 1Telegram TriggerTelegram triggerStarts it
  2. 2CalculatorTool CalculatorModel
  3. 3Save MemoryAirtable ToolService
  4. 4Google Gemini 2.0Lm Chat Google GeminiModel
  5. 5Google Gemini 2.5 ProLm Chat Google GeminiModel
  6. 6Simple MemoryMemory Buffer WindowModel
  7. 7Google CalendarMcp Client ToolModel
  8. 8Google TasksMcp Client ToolModel
  9. 9InternetMcp Client ToolModel
  10. 10DiscordMcp Client ToolModel
  11. 11Home InventoryMcp Client ToolModel
  12. 12SwitchSwitchLogic
  13. 13AI AgentAgentModel
  14. 14Get a fileTelegramService
  15. 15Merge Input with MemoriesMergeLogic
  16. 16Search recordsAirtableService
  17. 17No Operation, do nothingNo OpLogic
  18. 18Telegram Bot DetectedTelegramService
  19. 19Send a text messageTelegramService
  20. 20Transcribe audio or videoEleven LabsService
  21. 21Get Date & TimeDate TimeLogic
  22. 22Merge Time & Date w/ Input & MemoriesMergeLogic
  23. 23AggregateAggregateLogic
  24. 24CodeCodeLogic
  25. 25Split Date & TimeCodeLogic
  26. 2624 Hour to 12 HourCodeLogic

How it's built

Starts on
An incoming Telegram message
Steps
26, with 1 branch
Size
Large: read it before trusting it with anything live
Connects to
Airtable, Telegram
Model
Gemini
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 Airtable 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. 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 26 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 26 steps before you point it at anything that matters.