For the complete documentation index, see llms.txt. This page is also available as Markdown.

Connect a Conversation Platform: Viber

Connect your Agent to Viber (Beta): obtain a Viber Bot Token, create a Viber conversation platform in MaiAgent, configure a welcome message, and learn about limitations such as one-on-one conversation

Viber is a messaging app widely used in many countries. Once connected, users can chat with your Bot in Viber and receive replies from a MaiAgent Agent. Conversation records also appear in MaiAgent's All Conversations.

The Viber integration is currently in Beta and is labeled Beta on the conversation platform selection screen.

Before You Connect

Step 1: Obtain a Viber Bot Token

Viber Bots require a commercial partnership. Apply through Viber directly or one of its partners. See Viber's Viber Partners page for application channels. Once your Bot is activated, you will receive a Bot Token to use in the next step.

Step 2: Create a Viber Conversation Platform in MaiAgent

1. Open Connect Conversation Platform

In the left menu, click Customer Conversations → Conversation Platforms, click Connect Conversation Platform in the upper-right corner, and select Viber.

2. Fill In the Basic Settings

Field
Description

Name

Give this integration a name (required). This is only a label within MaiAgent

AI Assistant

Select the Agent that will reply to Viber messages

Bot Token

The Token obtained in Step 1 (required)

Welcome Message

Automatically sent when a user first opens a conversation, up to 7,000 characters; leave blank to send no reply

Enable Reset Commands

Once enabled, you can add one or more command phrases (for example, “Start over”). When a user's Viber message exactly matches one of them, a new conversation is started for that user. The command itself receives no reply. The AI responds in the new conversation when the user sends their next message

The Bot name and avatar shown to users in Viber are imported from the Viber Bot account when the platform is created. You do not need to enter them separately in MaiAgent. If the name exceeds 28 characters, only the first 28 characters appear in replies.

3. Feature Settings

Switch to the Feature Settings tab to adjust Enable OCR, Use System Time in Responses, and Use Sender Name in Responses. For explanations of each toggle and the time zone rules, see Feature Settings.

4. Assign Permissions and Create the Platform

Switch to the Permission Settings tab, select the roles that can view and manage this conversation platform, then click Connect Conversation Platform.

MaiAgent first validates the Bot Token with Viber. After successful validation, it automatically configures the Webhook for you. You do not need to enter a URL in Viber. Once the platform is created, chat with the Bot in Viber to test it.

Settings You Can Change After Creation

In the Conversation Platforms list, click Edit for this platform to:

  • Change the Welcome Message or reset commands, or use Reset All Conversations to reset every conversation on this platform at once (this cannot be undone). The Bot Token field shows “Configured; can only be entered during creation” and cannot be changed.

  • Enable Waiting Notification in Feature Settings to send a notification after a user sends a message while the AI is still processing (for example, “AI is processing. Please wait...”). Viber cannot edit or delete sent messages, so only one notification is sent per question. The Notification Repeat Interval in Seconds setting has no effect in Viber.

  • Configure advanced tabs such as Human Handoff Settings, Webhook Settings, and AI Copilot. See Conversation Platform Settings Overview, Human Handoff Settings, and Customer Service Copilot for details.

Supported Message Types

User Sends
How the Agent Handles It

Text

Answers directly

Image

Saves as an attachment for the Agent to process

Video

Saves as an attachment in the conversation record

URL

Processes it as URL text

Contact

Processes the contact's name and phone number as text

Location

Converts it to “Location sharing” and latitude/longitude text for processing

Sticker

Records it in the conversation only; there is no text content to answer

When the Agent replies:

  • Text: Bold, italic, and strikethrough formatting is converted to Viber text styles. Links appear as “text (URL)”. Messages exceeding 7,000 characters are automatically split without truncation.

  • Attachments: Images are sent as image messages. Other files (including audio and video) are sent as file messages, with a 50 MB limit per file. File names must include an extension.

FAQ

Can I Add the Bot to a Viber Group?

No. Viber Bots cannot join groups. All conversations are one-on-one between a user and the Bot.

Why Does “Bot Is Already Registered in Another Inbox” Appear During Creation?

A Viber Bot can connect to only one conversation platform. If the Bot is already connected to another conversation platform in your organization, the message includes that platform's name. Delete the old conversation platform first, or use another Bot.

Why Does “Invalid Token” Appear During Creation?

Viber does not accept this Bot Token. Make sure you copied the entire Token with no extra spaces and that the Bot is still active.

Why Can't the Agent Read Files Sent by Users?

Only the message types listed in the table above are currently processed. Document files sent by users in Viber are not read. Ask users to paste text or send images instead.

How Do I Replace the Bot Token or Connect a Different Bot?

The Bot Token cannot be changed after creation. Delete this conversation platform and recreate it with the new Token. When you delete the platform, MaiAgent also removes the Webhook previously configured in Viber.

Why Do Some Users Not Receive Replies?

When a user unsubscribes from the Bot in Viber, the Agent stops replying to that user. Replies resume when the user subscribes again.

Last updated

Was this helpful?