Personal assistant bot with multi-agent system using Telegram & Google Gemini
Needs changesWhat this workflow does
This AI workflow has 79 nodes and runs on a schedule (cron 0 8 * * *) (plus 2 other triggers). Along the way it connects Telegram, Google Gemini Chat Model, Google Gemini and Airtable and 7 more.
How it runs
Trigger: On a schedule (cron 0 8 * * *) (plus 2 other triggers).
- Edit Fields (Edit Fields (Set)): sets 1 field: text
- Switch: routes items into 4 branches
- Edit Fields (Edit Fields (Set)): sets 1 field: text
- Merge: merges the data from its input branches
- Edit Fields (Edit Fields (Set)): sets 1 field: text
- Telegram: work with file
- Edit Fields (Edit Fields (Set)): sets 1 field: text
- Telegram: work with file
- Manager Agent (AI Agent): runs an AI agent, with model: Google Gemini Chat Model; 6 tools (email_agent, memory_base, calendar_agent, research_Agent…); memory: Window Buffer Memory
- Transcribe a recording (Google Gemini): work with audio
…plus 4 more steps. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
2 things in this workflow are removed in n8n 3.0. Fix them before you upgrade:
- AI Agent v1 (old agent modes) in Manager Agent (v1.7): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
- SerpApi (Google Search) in SerpAPI: no direct replacement: call the SerpApi REST API with an HTTP Request tool, or use a verified community node.
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) Manager Agent (v1.7) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
| SerpApi (Google Search) SerpAPI | No direct replacement: call the SerpApi REST API with an HTTP Request tool, or use a verified community node |
Rarely used nodes in this template: @n8n/n8n-nodes-langchain.toolWolframAlpha
Nodes used (20)
- Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - Telegram Trigger
n8n-nodes-base.telegramTrigger - Telegram
n8n-nodes-base.telegram - Merge
n8n-nodes-base.merge - Edit Fields (Set)
n8n-nodes-base.set - Switch
n8n-nodes-base.switch - AI Agent
@n8n/n8n-nodes-langchain.agent - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Code
n8n-nodes-base.code - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - Google Gemini
@n8n/n8n-nodes-langchain.googleGemini - AI Agent Tool
@n8n/n8n-nodes-langchain.agentTool - Airtable Tool
n8n-nodes-base.airtableTool - Todoist Tool
n8n-nodes-base.todoistTool - SerpApi (Google Search)
@n8n/n8n-nodes-langchain.toolSerpApi - Wikipedia
@n8n/n8n-nodes-langchain.toolWikipedia - Wolfram|Alpha
@n8n/n8n-nodes-langchain.toolWolframAlpha - Gmail Tool
n8n-nodes-base.gmailTool - Google Sheets Tool
n8n-nodes-base.googleSheetsTool - Google Calendar Tool
n8n-nodes-base.googleCalendarTool
From the author
How It Works - Telegram Trigger receives incoming messages (text, voice, photo, document). - Switch routes by message type to appropriate processors: - Text → forwarded as-is. - Voice → downloaded and sent to Transcribe a recording. - Photo → downloaded,…