Viber notifications

In order to send notifications for different actions from the request, please open the "Dispatcher" menu and create a new rule.

Depending on what actions you want to receive notifications for, you need to select the mandatory and additional conditions.

 

In our example, a notification will be sent to Viber's account each time a new request is received in the system. Once the rule is created, you need to select "Send webhook" in the actions and fill in the information as in the screenshot:

 

Where:

 

  • auth_token - your Viber bot's token, which can be found in the account settings at: https://partners.viber.com/account
  • name (sender) - the signature of the message name (from whom, it is displayed at the top of the message) 
  • text - the text that will be sent by bot as a notification. As an example, we also added the {link_staff} tag, which is responsible for the link to the request, so you can immediately open the necessary ticket directly from Viber.

 
Here is an example of a template for sending notifications, in which you will need to replace the data instead of * with your own:

{
   "receiver": "***",
   "auth_token": "***",
   "min_api_version":1,
   "sender":{
      "name": "***"
   },
   "tracking_data": "tracking data",
   "type": "text",
   "text": "New request : {link_staff}"
}