Automate multi-channel customer support with Gmail, Telegram, and GPT AI
Needs changesWhat this workflow does
This AI workflow has 21 nodes and runs on Gmail events (plus 2 other triggers). Along the way it connects Telegram, OpenAI Chat Model, Gmail and Google Sheets. It also calls hooks.slack.com over HTTP.
How it runs
Trigger: On Gmail events (plus 2 other triggers).
- 📋 Process Gmail Message (Edit Fields (Set)): sets 7 fields: channel, customer_email, customer_name…
- 📋 Process Telegram Message (Edit Fields (Set)): sets 7 fields: channel, customer_name, customer_id…
- 📢 Notify Admin of Error (HTTP Request): calls hooks.slack.com (POST)
- 🤖 Gmail AI Agent (AI Agent): runs an AI agent, with model: OpenAI Chat Model; 2 tools (knowledge base, Gmail Escalation Logger); memory: 🧠 Gmail Memory
- 🤖 Telegram AI Agent (AI Agent): runs an AI agent, with model: OpenAI Chat Model; 2 tools (knowledge base, Telegram Escalation Logger); memory: 🧠 Telegram Memory
- 📧 Send Gmail Reply (Gmail): reply
- 💬 Send Telegram Reply (Telegram): uses Telegram
- ✅ Mark Gmail as Read (Gmail): mark as read
- 📊 Log Gmail Interaction (Google Sheets): append
- 📊 Log Telegram Interaction (Google Sheets): append
Services it uses
Other Google Sheets + Gmail templates (2,102) · Other OpenAI + Google Sheets templates (2,011) · Other OpenAI + Gmail templates (1,623)
HTTP calls to: hooks.slack.com
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 🤖 Telegram AI Agent (v1.7), 🤖 Gmail AI 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.
- Also check Gmail Trigger below v1.4 runs as v1.4 (drafts skipped, max emails per poll).
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
Published 2025 — 19% of 2025 templates need changes for 3.0. See how template age affects 3.0 readiness →
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) 🤖 Telegram AI Agent (v1.7), 🤖 Gmail AI Agent (v1.7) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (12)
- Telegram Trigger
n8n-nodes-base.telegramTrigger - Edit Fields (Set)
n8n-nodes-base.set - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - Telegram
n8n-nodes-base.telegram - Gmail Trigger
n8n-nodes-base.gmailTrigger - Gmail
n8n-nodes-base.gmail - Google Sheets
n8n-nodes-base.googleSheets - Error Trigger
n8n-nodes-base.errorTrigger - HTTP Request
n8n-nodes-base.httpRequest - Google Sheets Tool
n8n-nodes-base.googleSheetsTool
From the author
Smart Customer Support AI Agent with Gmail and Telegram Who is this for? This workflow is perfect for: - Small to medium businesses looking to automate customer support - E-commerce stores handling order inquiries and customer questions - SaaS companies…