Templates / Analyze Telegram messages with OpenAI and send notifications via Gmail & Telegram

Analyze Telegram messages with OpenAI and send notifications via Gmail & Telegram

Needs changes

by Immanuel ✓ · 1,132 views · created 2025-03-24 · Ticket Management, AI RAG

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes). 1 breaking item(s) found. Static check, last run 2026-10-19.

What 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).

  1. 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
  2. Send Telegram Alert (Telegram): uses Telegram
  3. Send Gmail Notification (Gmail): uses Gmail

Services it uses

OpenAI Chat ModelTelegramGmailMcp (community)

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.0Replace 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)

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…

Excerpt from Immanuel's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.