Skip to main content

Create a two-way WhatsApp + Telegram integration for 10k+ customer support chats

Workflow preview

Workflow preview
100%
Create a two-way WhatsApp + Telegram integration for 10k+ customer support chats preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

Next Gen Customer Support: Two Way WhatsApp + Telegram Integration for 10k+ Clients Who is this workflow for This workflow is designed for customer support teams, e commerce founders, and operati...

Best for

  • Support Chatbot automation workflows
  • AI Chatbot automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.telegramtrigger, n8n-nodes-base.set, n8n-nodes-base.supabase, n8n-nodes-base.whatsapp, n8n-nodes-base.if, n8n-nodes-base.merge, n8n-nodes-base.stickynote, n8n-nodes-base.whatsapptrigger

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Ruthwik.

Original n8n.io source

1.1 Workflow description

Title
Create a two-way WhatsApp + Telegram integration for 10k+ customer support chats
Workflow name
Create a two-way WhatsApp + Telegram integration for 10k+ customer support chats

⚡ Next-Gen Customer Support: Two-Way WhatsApp + Telegram Integration for 10k+ Clients


Who is this workflow for

This workflow is designed for customer support teams, e-commerce founders, and operations managers who want to handle thousands of customer queries seamlessly. Instead of building a brand-new chat application, it leverages WhatsApp (where customers already are) and Telegram (where your support team operates) to create a scalable, topic-based support system.

If you are a brand handling 1000s of daily WhatsApp customer messages and need a structured way to map each customer into a dedicated support thread without chaos, this workflow is for you.


What it does / How it works

This two-way n8n automation bridges WhatsApp and Telegram by creating one Telegram forum topic per customer and syncing messages both ways:

  1. Incoming WhatsApp → Telegram
    • When a new WhatsApp message arrives, the workflow checks if the customer already has a topic in Telegram.
    • If yes → The message is forwarded into that existing topic.
    • If no → A new topic is created automatically, the mapping is saved in the database, and the message is posted there.
    • Result: every customer has a dedicated thread in your Telegram supergroup.
  2. Outgoing Telegram → WhatsApp
    • When a support agent replies in a Telegram topic, the workflow looks up the linked WhatsApp number.
    • The reply is sent back to the customer on WhatsApp, preserving context.
    • Result: two-way synced conversations without building a custom app.

How to set it up

  1. Configure WhatsApp Cloud API
    • Create a Meta Developer account and register a WhatsApp Business number.
    • Generate an access token and phone number ID.
  2. Configure Telegram Bot
    • Use BotFather to create a bot and enable it in a Telegram Supergroup with Topics.
    • Get the chat_id and allow the bot to create/send messages in topics.
  3. Database (Supabase/Postgres)
    • Create a table wa_tg_threads to map phone_e164telegram_topic_idsupergroup_id.
  4. n8n Workflows
    • Workflow A: WhatsApp → Telegram
      • Trigger: WhatsApp Webhook
      • Steps: Lookup customer → If exists send to topic, else create topic → Save mapping → Forward message.
    • Workflow B: Telegram → WhatsApp
      • Trigger: Telegram Webhook
      • Steps: Filter only topic replies → Lookup mapping → Send WhatsApp message.
  5. Testing
    • Send a WhatsApp message → Check Telegram topic created.
    • Reply in Telegram topic → Ensure customer receives WhatsApp reply.

Requirements

  • A free or paid n8n instance (self-hosted or cloud).
  • WhatsApp Cloud API credentials (phone number ID + access token).
  • Telegram Bot token with access to a Supergroup with Topics enabled.
  • A Postgres/Supabase database to store thread mappings.
  • Basic familiarity with editing HTTP Request nodes in n8n.

How to customize the workflow

  • Brand personalization: Pre-populate first message templates (thank you, order status, delivery updates).
  • Routing rules: Assign specific agents to certain topics by ID ranges.
  • Integrations: Extend to CRMs (HubSpot, Zoho) or support platforms (Freshdesk, Zendesk).
  • Notifications: Push high-priority WhatsApp queries into Slack/Teams for instant alerts.
  • Archival: Auto-close inactive topics after N days and mark customers as dormant.

Why Telegram instead of building a new App

The client's requirement was clear: use an existing, reliable, and scalable chat platform instead of building a new app from scratch.

  • Telegram Supergroups with Topics scale to 100,000+ members and millions of messages, making them ideal for managing 10k+ customer threads.
  • Agents don't need to install or learn a new tool---they continue inside Telegram, which is fast, free, and mobile-friendly.
  • Building a custom chat app would require authentication, push notifications, scaling infra, and UX---all solved instantly by Telegram.

This decision saves development cost, accelerates deployment, and provides proven scalability.


Why this improves support productivity

  • Organized by customer: Each WhatsApp number has its own Telegram topic.
  • No missed messages: Agents can quickly scroll topics without drowning in one endless chat.
  • Two-way sync: Replies flow back to WhatsApp seamlessly.
  • Scales automatically: Handle 10k+ conversations without losing track.
  • Leverages existing tools: WhatsApp (customers) + Telegram (agents).

Result: faster responses, better tracking, and zero need to reinvent chat software.


1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Telegram Trigger

Type / Role
n8n-nodes-base.telegramTrigger - telegramTrigger
Config choices
Version 1.2

Block 2 - Filter messages that are replies in topics

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 3 - Get a row

Type / Role
n8n-nodes-base.supabase - supabase
Config choices
Version 1

Block 4 - Send message

Type / Role
n8n-nodes-base.whatsApp - whatsApp
Config choices
Version 1

Block 5 - If

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 6 - Create a row

Type / Role
n8n-nodes-base.supabase - supabase
Config choices
Version 1

Block 7 - Merge

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3.2

Block 8 - Set Telegram SuperGroupID

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 9 - Customer Details

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 10 - Merge1

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3.2

Block 11 - Get existing customer details

Type / Role
n8n-nodes-base.supabase - supabase
Config choices
Version 1

Block 12 - Get customer by phone

Type / Role
n8n-nodes-base.supabase - supabase
Config choices
Version 1

Block 13 - Set Customer Name

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 14 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 15 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 16 - WhatsApp Trigger

Type / Role
n8n-nodes-base.whatsAppTrigger - whatsAppTrigger
Config choices
Version 1

Block 17 - Send Telegram Message to existing topic

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 18 - Create a Telegram Topic

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 19 - Send a Telegram message to topic

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 20 - Check existing conversation or not

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 21 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 22 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 23 - Sticky Note6

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 24 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Showing the first 24 of 30 workflow blocks. Download the JSON for the full node graph.

3. Summary Table

Workflow Create a two-way WhatsApp + Telegram integration for 10k+ customer support chats
Complexity advanced
Nodes 30
Categories Support Chatbot, AI Chatbot
Author Ruthwik
Published 07 Sept 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/8350/8350.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Create a two-way WhatsApp + Telegram integration for 10k+ customer support chats do?

Next Gen Customer Support: Two Way WhatsApp + Telegram Integration for 10k+ Clients Who is this workflow for This workflow is designed for customer support teams, e commerce founders, and operati...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Support Chatbot, AI Chatbot use case.