Templates / AI-powered Telegram & WhatsApp business agent workflow

AI-powered Telegram & WhatsApp business agent workflow

Needs changes

by Amanda Benks ✓ · 1,366 views · created 2025-06-25 · Support Chatbot, AI Chatbot

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: OpenAI (legacy). 1 breaking item(s) found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

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

  1. Normalize Message Data (Edit Fields (Set)): sets or maps fields
  2. Get Customer History (Google Sheets): uses Google Sheets
  3. Build AI Context (Code): runs custom JavaScript code
  4. AI Business Assistant (OpenAI): uses OpenAI
  5. Process AI Response (Code): runs custom JavaScript code
  6. Platform Router (If): checks a condition and branches into true / false
  7. Send Telegram Message (Telegram): uses Telegram
  8. Send WhatsApp Message (HTTP Request): calls an HTTP API
  9. Log Conversation (Google Sheets): uses Google Sheets
  10. Check Escalation (If): checks a condition and branches into true / false

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

Services it uses

TelegramGoogle Sheets

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.0Replace with
OpenAI (legacy)
AI Business Assistant
OpenAI node (AI section)

Nodes used (10)

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…

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