How do I build a chatbot for WhatsApp or Telegram?
Two steps handle simple chat on WhatsApp and Telegram:
- Conversational AI: understands a message and writes a reply.
- Conversation Reply: sends a reply back into the same WhatsApp or Telegram chat.
Conversational AI
Section titled “Conversational AI”| Action | What it does |
|---|---|
| Extract intent | Works out what the person wants, for example order_status, price_question or complaint, plus details like an order number |
| Generate response | Writes a reply using your instructions and the conversation so far |
| Full pipeline | Both: understands, then replies |
| Select workflow | Picks which of your workflows should handle the message |
It keeps the recent conversation, so follow-up questions (“and the blue one?”) make sense.
Conversation Reply
Section titled “Conversation Reply”Sends text back into the chat the message came from, with no phone numbers or chat IDs to set. Put it at the end of each branch that should answer.
The WhatsApp and Telegram triggers can also reply automatically with the workflow’s result (Reply with the workflow’s result / Auto-reply with the result), in which case you don’t need this step.
A simple FAQ bot
Section titled “A simple FAQ bot”WhatsApp Trigger ─▶ Conversational AI (extract intent) ├─ price_question ─▶ Google Sheets: look up price ─▶ Conversation Reply ├─ order_status ─▶ Shopify: get order ─────────────▶ Conversation Reply └─ other ─▶ Conversational AI (generate) ───▶ Conversation ReplyUse a Router after the intent step to send each intent down its own path. See If / Else and Router.
Conversational AI or AI Agent?
Section titled “Conversational AI or AI Agent?”| Use Conversational AI when | Use an AI Agent when |
|---|---|
| The conversation follows a few known paths | Questions are open-ended |
| You want each path fixed and predictable | It should decide which tools to use itself |
| No memory beyond the current chat is needed | It should remember people and facts over weeks |
Most new assistant templates use an AI Agent. Conversational AI is the lighter choice for menus and FAQs.
Templates
Section titled “Templates”Questions
Chatbot or AI agent: which do I need?
A chatbot (Conversational AI) suits a few known paths, like menus and FAQs. An AI agent suits open-ended questions, memory and choosing tools itself.
How does the bot reply in the same chat?
Add a Conversation Reply step. It answers in the chat the message came from, with no phone numbers or chat IDs to set.
Can it remember earlier messages?
Conversational AI keeps the recent conversation for follow-ups. For memory over weeks, use an AI Agent.