Analyze Telegram messages with OpenAI and send notifications via Gmail & Telegram
Needs changesWhat this workflow does
This AI workflow has 12 nodes and runs on Telegram events (message). Along the way it connects OpenAI Chat Model, Telegram, Gmail and Mcp (community).
How it runs
Trigger: On Telegram events (message).
- Analyze Message with AI (AI Agent): runs an AI agent, with model: OpenAI Chat Model; 6 tools (Brave Search, Airbnb Search, Brave Execute, Airbnb Execute…); memory: Simple Memory
- Send Telegram Alert (Telegram): uses Telegram
- Send Gmail Notification (Gmail): uses Gmail
Services it uses
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- AI Agent v1 (old agent modes) in Analyze Message with AI (v1.8): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
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) Analyze Message with AI (v1.8) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (7)
- OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Mcp Client Tool
n8n-nodes-mcp.mcpClientTool - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - Telegram Trigger
n8n-nodes-base.telegramTrigger - AI Agent
@n8n/n8n-nodes-langchain.agent - Gmail
n8n-nodes-base.gmail - Telegram
n8n-nodes-base.telegram
From the author
AI-powered Telegram message analysis with multi-tool notifications (Gmail, Telegram) This workflow triggers on Telegram updates, analyzes messages with an AI Agent using MCP tools, and sends notifications via Gmail and Telegram. Detailed Description Who is…