Messengers

viber
Viber

is a messenger application that allows you to send messages, make video and voice VoIP calls over the Internet.

Connection

1. Bot configuration on Viber side

First of all, you need to configure on the Viber side.
Register or log in to .
Register or log in to .
The
@Bot
account creation form will automatically open. Fill in all required fields. ​
image.png
After filling in the fields, save the changes by clicking the Create button.
After creating an account for the
@Bot
, a pop-up window will appear containing the bot token. Copy the token.
image.png

2. Agent channel configuration in the Platform

You need to create and configure an
@Project Channel
with the “Viber” connector.
Click on the agent settings button. ​
image.png
Click the Add channel button. ​
image.png
The
@End Channel
selection panel will open. ​
image.png
Select
@Viber
.
The
@Project Channel
creation panel will open. ​
image.png
Optionally, enter a title for this
@Project Channel
in the Name field with the placeholder New channel. ​
image.png
Paste the into the Viber token field. ​
image.png
To save the
@Project Channel
without activating it, click the CREATE button. ​
image.png
To save and activate the
@Project Channel
, click the CREATE & ACTIVATE button. ​
image.png
The
@Project Channel
will be saved and activated if:
The
@Agent
is trained;
The token in the Viber token field is unique (there are no active channels of the same type with the same token);
The channel address is accessible;
The channel webhook is registered succesfully.
The
@Project Channel
will be saved but not activated if one or more conditions are not met.
To cancel
@Project Channel
creation, click the CANCEL button. ​
image.png

Editing and Deleting Agent Channel

To edit an
@Project Channel
, click on its icon on the
@Agent
card. ​
image.png
To edit any field, click the field and enter a new value.
To apply changes to an activated
@Project Channel
, click the APPLY button. ​
image.png
Changes will be applied if:
The
@Agent
is trained;
The token in the Viber token field is unique (there are no active channels of the same type with the same token);
The channel address is accessible;
The channel webhook is registered succesfully.
Changes will not be applied if one or more conditions are not met.
To deactivate the
@Project Channel
, click the DEACTIVATE button. ​
image.png
To apply changes to a non-activated
@Project Channel
, click the SAVE button. ​
image.png
To apply changes and activate the
@Project Channel
, click the SAVE & ACTIVATE button. ​
image.png
Changes will be applied and the
@Project Channel
will be activated if:
The
@Agent
is trained;
The token in the Viber token field is unique (there are no active channels of the same type with the same token);
The channel address is accessible;
The channel webhook can be registered.
Changes will be applied but the
@Project Channel
will not be activated if one or more conditions are not met.
To cancel making changes, click the CANCEL button. ​
image.png
To delete the
@Project Channel
, click the DELETE button. ​
image.png

Communication

Mapping of Channel variables from Viber
18
Channel variable
End channel
Variable in the body of an incoming request from a channel
Peculiarities
1
channel_visitor_id
Viber
sender.id
Viber user id
2
channel_conversation_id
Viber
sender.id
Viber user id
3
channel_visitor_firstname
Viber
No
4
channel_visitor_lastname
Viber
No
5
channel_visitor_account
Viber
No
6
channel_visitor_phone
Viber
No
7
channel_visitor_email
Viber
No
8
channel_visitor_source
Viber
No
9
channel_visitor_auth
Viber
No
10
channel_visitor_location
Viber
No
11
channel_message_id
Viber
message_token
12
channel_message_recipient
Viber
No
13
channel_reply_to
Viber
no
No results from filter
Communication in Viber
20
Functionality
Channel
Availability
Description
1
channel_chat_id
Viber
No
2
Messages will reach the Bot User if the Agent writes first in an existing chat
Viber
Yes
3
Buttons
Viber
Yes
Button click comes as button label text
4
Transfer to operator
Viber
No
Viber does not have this functionality
5
Transferring files as files from the Agent
Viber
No
6
Transferring files as links from the Agent
Viber
Yes
7
Receiving a file from the Bot User into a script
Viber
Yes
Format:
тип|тип|id файла|ссылка на файл
8
Receiving geolocation from an Bot User in a Script
Viber
Yes
Format:
location:53.952693|27.781444
9
Delivery of messages over 1000 characters from Agent to Bot User
Viber
Yes
10
Get a link to the lead source
Viber
No
11
Markdown usage
Viber
No
12
Mailing with Notification
Viber
No
No results from filter
Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.