Skip to content
ZeeGrowth logozeegrowth
AI agentsFree

Telegram/WhatsApp AI Assistant — Free n8n Workflow Template

Connect an AI assistant to your Telegram bot or WhatsApp Business number. Customers ask questions in natural language and the assistant responds using your product info, FAQ and policies. It handles common queries, shares links and can collect lead info — all without human intervention.

Free

Instant download · No signup · MIT license

Download JSON

Workflow nodes

Telegram TriggerWebhook (WhatsApp)AI AgentOpenAI Chat ModelVector Store ToolHTTP Request (WhatsApp reply)Telegram (send)Google SheetsSticky Note

Apps used

Setup guide

Requirements

  • An n8n instance (Cloud or self-hosted, v1.x+)
  • Telegram Bot Token or WhatsApp Business API access
  • OpenAI API key
  • Your business FAQ and product information

Credentials

AppTypeWhere to get it
TelegramBot TokenChat with @BotFather on Telegram → /newbot → copy the token
OpenAIAPI keyplatform.openai.com → API keys
WhatsApp BusinessBearer tokenMeta Business Suite → WhatsApp → API Setup
  1. 1

    Import the workflow

    Download and import the JSON into n8n.

  2. 2

    Choose your channel

    Enable the Telegram Trigger for Telegram, the Webhook for WhatsApp, or both.

  3. 3

    Upload your business knowledge

    Index your FAQ, product catalog and policies into the vector store using the included setup sub-workflow.

  4. 4

    Connect APIs

    Add your Telegram Bot Token, OpenAI key and/or WhatsApp token to the relevant nodes.

  5. 5

    Customize the personality

    Edit the AI Agent's system prompt with your brand name, tone of voice and any rules (e.g. 'don't discuss competitor pricing').

  6. 6

    Test conversations

    Message your bot from a test account and verify responses are accurate and on brand.

Frequently asked questions

Can it handle Telegram and WhatsApp simultaneously?+

Yes. Both triggers are in the same workflow. The AI Agent processes the query identically, and the response routes to the correct channel.

Does it remember previous messages?+

Yes. The workflow maintains conversation memory per user session so the assistant can reference earlier messages in the same chat.

Can it collect customer information?+

Yes. The AI can ask for name, email and phone when configured, and log the data to a spreadsheet or CRM.

What languages does it support?+

It responds in whatever language the customer uses. OpenAI models handle most major languages well.

Related templates

Want us to set it up for you?

We install the workflow on your n8n instance, connect credentials, and leave you with a running automation.

Get setup help

Free n8n automations that grow your business.