Skip to content

Channels ​

A channel is where customers reach a chatbot. Each channel uses your organization's own bot or app, and its credentials are stored in the vault.

Open the chatbot, go to the Channels tab and choose Add channel.

ChannelYou needGood for
TelegramA bot from @BotFatherCustomers who use Telegram
MessengerA Meta app and a Facebook PageCustomers who write to your Page
Zalo BotA bot token from Zalo Bot ManagerA small business in Vietnam; no Official Account needed
Zalo Official AccountA Zalo app and a verified Official Account on a paid packageA business that already runs an Official Account
Web widgetNothingVisitors of your website

Telegram ​

  1. In Telegram, create a bot with @BotFather and copy its token.
  2. Add a Telegram channel and paste the bot token.
  3. Choose how updates arrive. Webhook needs the public bot. address of your installation, and Inferaz registers it with Telegram by itself. Polling needs no public address.

Customers write to the bot, and the chatbot answers.

Answer in a person's own chats ​

Telegram lets a person hand their private chats to a bot. The chatbot then answers the people who write to that person, in that person's name. This suits a salesperson or a shop owner whose customers write to their personal account.

Once, for the bot

In @BotFather, open the bot, go to Mode Settings and turn on Secretary Mode. Leave Bot to Bot Communication Mode off.

For each person

  1. In Telegram, the person opens Settings → Chat automation and enters the bot's username.
  2. They choose which chats the bot may access. Ask them to pick Only selected chats, or to exclude their personal contacts: the bot reads every chat it is given.
  3. In Inferaz, open the Telegram channel. The account appears under Connected Telegram accounts as waiting for approval. Choose Approve.

Until you approve an account, nothing of its chats is read or stored. Stop ends the access at any time.

How it behaves

  • Customers see the replies as coming from the person. Asked whether it is a person, the chatbot says it is that person's automated assistant.
  • When the person types a reply themselves, the chatbot stops answering in that conversation. It appears in the inbox with the reason the account owner replied, and resumes when someone chooses Back to bot.
  • Telegram accepts a reply only in a chat that had an incoming message in the last 24 hours.
  • Text messages only.

Messenger ​

  1. In Meta for Developers, create an app with the Messenger product and connect your Facebook Page.
  2. Add a Messenger channel with the Page ID, the Page access token and the app secret.
  3. In the Meta app, set the callback URL shown on the channel's card, with the verify token stored for the channel, and subscribe the Page to messages.

Zalo Bot ​

  1. In Zalo, open the Official Account Zalo Bot Manager, choose Create bot, and copy the token it sends you.
  2. Add a Zalo Bot channel and paste the token. Inferaz checks it and shows the bot's name.
  3. Choose Webhook or Polling. Zalo recommends polling for trials only.

Customers open the bot from its link or QR code in Zalo Bot Manager. It is a separate account, not your personal Zalo.

On this channel the chatbot also handles pictures:

  • A customer can send a picture. The chatbot reads it when its model accepts images, and staff see it in the inbox.
  • The chatbot can send a picture, such as a product photo or a price list. It sends only a picture whose address appears in its instructions, in a tool result or in a document, never an address a customer typed.
  • A sticker, a voice message or a file is shown in the inbox, and the customer is told once that the chatbot reads text and pictures.

Each reply counts toward the bot's monthly quota at Zalo.

Zalo Official Account ​

  1. In Zalo for Developers, create an app and verify the domain of your bot. address.
  2. Add a Zalo channel with the App ID, the app secret key and the OA secret key.
  3. In the app, under Official Account, set the callback URL from the channel's card and tick the permissions to send messages, manage OA information and receive message events.
  4. Under Webhook, set the webhook URL from the card and switch on the event "user sends a text message".
  5. On the channel's card, choose Connect Official Account and approve as an admin of the Official Account.

Zalo delivers a reply only within 7 days of the customer's last message, and only for a verified Official Account on a package that includes the OpenAPI.

Web widget ​

  1. Add a Web widget channel with a title and a greeting.
  2. List the sites allowed to embed it.
  3. Copy the embed code from the channel's card into your website.

Visitors chat without signing in. A visitor is recognized by their browser.

When a reply does not go out ​

A reply that a channel refuses is marked Not delivered in the inbox with the reason, and the channel's card shows its last failure until a message goes through again.