Templates / Automate Telegram support handover from AI to humans with GPT4 and email alerts

Automate Telegram support handover from AI to humans with GPT4 and email alerts

Ready for 3.0

by Meelioo ✓ · 655 views · created 2025-10-21 · Support Chatbot, AI Chatbot

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 33 nodes and runs on Telegram events (message) (plus 1 other trigger). Along the way it connects Telegram, OpenRouter Chat Model and Azure OpenAI Chat Model. It also calls api.telegram.org over HTTP.

How it runs

Trigger: On Telegram events (message) (plus 1 other trigger).

  1. Topic Message (If): checks a condition and branches into true / false
  2. Personal (Edit Fields (Set)): sets 2 fields: personal, group
  3. Exit (If): checks a condition and branches into true / false
  4. Text Message (If): checks a condition and branches into true / false
  5. Close Topic (HTTP Request): calls api.telegram.org
  6. Forward Message (HTTP Request): calls api.telegram.org
  7. Configuration (Edit Fields (Set)): sets 5 fields: user, smtp, operator…
  8. Update Closed Topic (Data table): update
  9. Get Temporary Message (Data table): get
  10. Message Router (Switch): routes items into 3 branches

…plus 16 more steps. See the full node list below.

Services it uses

TelegramOpenRouter Chat ModelAzure OpenAI Chat Model

HTTP calls to: api.telegram.org

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (14)

From the author

How it Works This is a Telegram AI-to-Human Handover System that seamlessly transitions customer support conversations between an AI agent and human operators: 1. AI-First Response: When users message the Telegram bot, an AI agent handles the conversation…

Excerpt from Meelioo'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.