Send AI-generated emails via Telegram using GPT-4o-mini and Gmail
Needs changesWhat this workflow does
This AI workflow has 6 nodes and runs on Telegram events (message). Along the way it connects Telegram, OpenAI Chat Model and Gmail.
How it runs
Trigger: On Telegram events (message).
- AI Agent: runs an AI agent, with model: OpenAI Chat Model; 1 tool (Gmail); memory: Simple Memory
- Telegram: uses Telegram
Services it uses
Other OpenAI + Gmail templates (1,623) · Other Telegram + OpenAI templates (807) · Other Gmail + Telegram templates (361)
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 AI Agent (v1.9): 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).
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) AI Agent (v1.9) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (6)
- Telegram Trigger
n8n-nodes-base.telegramTrigger - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - Gmail Tool
n8n-nodes-base.gmailTool - Telegram
n8n-nodes-base.telegram
From the author
✉️ Telegram Email Agent with GPT + Gmail Category: Messaging / AI Agent Level: Beginner-Friendly Tags: Telegram, Email Automation, AI Agent, Gmail, GPT Model Watch Step-by-step video guide here:…