AI-powered Telegram & WhatsApp business agent workflow
Needs changesWhat this workflow does
This workflow has 15 nodes and runs on Telegram events (plus 1 other trigger). Along the way it connects Telegram and Google Sheets.
How it runs
Trigger: On Telegram events (plus 1 other trigger).
- Normalize Message Data (Edit Fields (Set)): sets or maps fields
- Get Customer History (Google Sheets): uses Google Sheets
- Build AI Context (Code): runs custom JavaScript code
- AI Business Assistant (OpenAI): uses OpenAI
- Process AI Response (Code): runs custom JavaScript code
- Platform Router (If): checks a condition and branches into true / false
- Send Telegram Message (Telegram): uses Telegram
- Send WhatsApp Message (HTTP Request): calls an HTTP API
- Log Conversation (Google Sheets): uses Google Sheets
- Check Escalation (If): checks a condition and branches into true / false
…plus 3 more steps. See the full node list below.
Services it uses
Other Telegram + Google Sheets templates (674)
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- OpenAI (legacy) in AI Business Assistant: replace with OpenAI node (AI section).
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 |
|---|---|
| OpenAI (legacy) AI Business Assistant | OpenAI node (AI section) |
Nodes used (10)
- Telegram Trigger
n8n-nodes-base.telegramTrigger - Webhook
n8n-nodes-base.webhook - Edit Fields (Set)
n8n-nodes-base.set - Google Sheets
n8n-nodes-base.googleSheets - Code
n8n-nodes-base.code - OpenAI
n8n-nodes-base.openAi - If
n8n-nodes-base.if - Telegram
n8n-nodes-base.telegram - HTTP Request
n8n-nodes-base.httpRequest - Respond to Webhook
n8n-nodes-base.respondToWebhook
From the author
This workflow contains community nodes that are only compatible with the self-hosted version of n8n. Deliver seamless, AI-driven customer support on Telegram and WhatsApp—powered by GPT-4 Turbo and n8n. --- 🌟 Key Features - Unified Messaging: Receive and…