Overview
An n8n workflow drafts WhatsApp support replies from your own knowledge base, asks a person in Telegram to approve each reply, and hands uncertain questions to staff with the full conversation.
Problem or Objective
More in Sales, Marketing and Support
AI Agents and Models
Tools and Integrations
- Tools
- n8n · WhatsApp Business Cloud · Telegram
- Prerequisites
- An n8n instance (cloud or self-hosted), WhatsApp Business Cloud credentials, a Telegram bot added to the staff chat, a chat model and an embedding model with API keys, and a vector store.
How It Works
Load your help articles, policies and price lists into a vector store in n8n so an AI agent can retrieve them. Start the workflow with the WhatsApp Trigger node on incoming messages. Add an AI Agent node with a chat model and connect tools to it: the vector store as a knowledge tool, a WhatsApp send-message tool for replies, and a Telegram send-message tool for escalations to a staff chat. In the agent's instructions, tell it to answer only from retrieved passages, and when the passages do not cover the question, or the customer asks for a refund, cancellation or anything account-specific, to send the staff chat the customer's question, the recent conversation and the passages it found, and to propose only a short holding reply. In the Tools Panel, put the WhatsApp reply tool behind a human review step with Telegram as the approval channel, so every reply waits for a person to approve or deny it. Test with the test webhook first, then publish the workflow.
Implementation Workflow
Steps assembled from the agents, tools and prompt of this entry. Adapt them to your own setup.
- Choose the agentSet up n8n.
- Connect the toolsConnect the tools this workflow relies on: n8n, WhatsApp Business Cloud, Telegram.
- Check the prerequisitesAn n8n instance (cloud or self-hosted), WhatsApp Business Cloud credentials, a Telegram bot added to the staff chat, a chat model and an embedding model with API keys, and a vector store.
- Gather your detailsCollect what the prompt asks for: Business name, Reply language, Topics that always go to staff, How many recent messages to forward.
- Run the starter promptPaste the starter prompt below into n8n and adapt it to your case.
- Check against the documentationCompare what you get with the documentation at docs.n8n.io before you rely on it.
Practical Starter Prompt: Answer or escalate one WhatsApp question
Fill the fields to adapt the prompt. Empty fields stay as visible [placeholders].
You answer customer questions for [Business name] on WhatsApp. Use only passages from the knowledge base tool. If they answer the question, propose a short reply in [Reply language]; a person approves every reply before it is sent. If they do not, or the customer asks about [Topics that always go to staff], send the staff chat the question, the last [How many recent messages to forward] messages and the passages you found, and propose only a holding reply saying a colleague will follow up. Never promise refunds, cancellations or bookings.Keep human review on the WhatsApp reply tool with Telegram as the approval channel, so every reply is approved before it is sent. Staff answer escalated chats themselves.
Expected Results and Benefits
This is a suggested workflow, not a reported result. The points below are what the cited documentation says the tools can do.
This is a suggested workflow, not a reported outcome. The n8n docs support starting a workflow from WhatsApp events, grounding an AI agent's answers in documents stored in a vector store, and making the agent wait for human approval in a channel such as Telegram before it runs a chosen tool. They do not say how well the agent judges when to escalate, and nothing here measured it.
Limitations and Considerations
Keep human review on the reply tool so nothing reaches a customer before a person approves it, and never let the agent promise refunds, cancellations or bookings. Check that the WhatsApp and Telegram nodes are offered as agent tools in your n8n version before the first run; if not, have the workflow post drafts to the staff chat and reply to customers by hand. The WhatsApp Trigger page notes that WhatsApp allows only one webhook per app, so testing and the published workflow cannot both receive events at once. Check your WhatsApp Business account's rules for automated replies and how staff can answer escalated chats, and keep payment details out of the staff chat. Model and hosting costs depend on your setup. Results depend on your setup and were not independently reproduced by Top 200 Repos.
GitHub Repositories
AI Agent Repository
Source code of the agent that does the work.
Official Website
The official site of the main tool or project in this use case.
Related Videos
About n8n-io/n8n
Give Your Agent Tools (n8n Agents Course 5/7) (opens in a new tab)
Walkthrough of n8n by n8n: it is on the project’s own channel.
Watch on YouTube (opens in a new tab)About n8n-io/n8n
n8n AI Nodes: Connect OpenAI, Claude, and Local Models (opens in a new tab)
Walkthrough of n8n by AI Daily Lab: its description links the GitHub repository.
Watch on YouTube (opens in a new tab)Independent creators. Listing a video implies no endorsement, sponsorship or partnership.
Sources
- WhatsApp Trigger | Nodes | n8n Docs (opens in a new tab)
Project documentation · docs.n8n.io · Undated · Source checked 26 Nov 2026, 23:44 UTC
What this source supports
- Use the WhatsApp Trigger node to respond to events in WhatsApp and integrate WhatsApp with other applications.
- Retrieve relevant context | Build | n8n Docs (opens in a new tab)
Project documentation · docs.n8n.io · Undated · Source checked 27 Nov 2026, 11:21 UTC
What this source supports
- RAG (Retrieval-Augmented Generation) in n8n grounds AI answers in your own data: you insert documents into a vector store, then query it from an AI agent or directly.
- Human-in-the-loop for tools | Build | n8n Docs (opens in a new tab)
Project documentation · docs.n8n.io · Undated · Source checked 26 Nov 2026, 17:35 UTC
What this source supports
- You can make an AI agent wait for human approval, in Slack, n8n Chat, or another channel, before it runs a specific tool.
- The workflow pauses and sends an approval request through your configured channel (such as Slack, Telegram, or the n8n Chat interface).
- AI Agent | Nodes | n8n Docs (opens in a new tab)
Project documentation · docs.n8n.io · Undated · Source checked 26 Nov 2026, 17:27 UTC
What this source supports
- You must connect at least one tool sub-node to an AI Agent node.

