15.11.2022
1003

How to Connect Viber as Data Destination

How to Connect Viber as Data Destination

The integration will allow you to send messages to Viber in response to an action on other systems. For example, if there is a new row in Google Sheets, the lead in CRM has moved to another stage of the funnel or when a new lead appears on your site, the message will be automatically sent to Viber. This will allow you to automate workflows efficiently and save a lot of time.

Let's go through the entire Viber setup steps together!

Navigation :
1. What will integration with Viber do?
2. How to connect the Viber account to ApiX-Drive?
3. How can set up the selected action transfer data to Viber?
4. An example of the data that will be sent to your Viber.
5. Auto-update and update interval.

Answers to frequently asked questions:
1. There is no test message or response that the bot is successfully connected.

Once you've set up a Data Source system, such as Google Sheets, you can set up Viber as a Data Destination.

To do this, click "Start configuring Data Destination".

How to Connect Viber as Data Destination | Go to setup the Data Destination

Select the system as Data Destination. In this case, you must specify Viber.

How to Connect Viber as Data Destination | System selection

Next, you need to specify the action "Send MESSAGE".

How to Connect Viber as Data Destination | Action selection

The next step is to select the Viber account from which will get the data.

If there are no accounts connected to the system, click "Connect account".  

How to Connect Viber as Data Destination | Account connection

In the window that appears, click "Continue".

Next, you will see a new Settings window where you want to:

- copy data in the field "Line for connecting Viber bot"

- click on the bot @apixdrivebot from the device, the application Viber will open and our Public account will start.

- to activate the Public account, insert the copied settings into the message and press "Send". In response, you should get a message that the Viber bot is connected.

After that, close the settings window and restart the page.

How to Connect Viber as Data Destination | Connection setup
How to Connect Viber as Data Destination | Connect Viber bot
How to Connect Viber as Data Destination | Connect Viber bot

When the connected account is displayed in the list, select it and click "Continue".

How to Connect Viber as Data Destination | Account selection

Now, you need to create a message from the data that will be sent to the Public account.

In order to add a variable, click on the field "Message" and select the desired variable from the drop-down list. If necessary, you can write the data manually.

When the message is generated, click "Continue".

How to Connect Viber as Data Destination | Assigning Field
How to Connect Viber as Data Destination | Assigning Field

Now you can see the test data of what your message will look like.

To check the correctness of the settings - click "Send test data to Viber" and go to your Viber to check the result.

If something does not suit you - click "Edit" and go back one step.

If everything suits you, click "Next" for further settings.

How to Connect Viber as Data Destination | Data Test
How to Connect Viber as Data Destination | Data Test

This completes the Data Destination system setup!

Note! If the test message does not arrive:

- check with what settings you launched the Public account (Accesses - Messengers - Viber), and which Viber account (if there are several) is selected at the Access stage

- check if you received a message in response that the Public account is connected, and if not, follow the following algorithm:

  1. You need to disable our Public account, clear the entire history and completely delete the dialogue with it. To do this, in the dialogue with the Public account, click on "Leave and delete".
  2. In our system, go to the Access - Messengers - Viber section and delete all created accounts.
  3. Go to your connection in the Data Destination on the Access stage and create a new account.
  4. According to the help, re-set up Viber and send test data to the Public account.

Now you can start choosing the update interval and enabling auto-update.

To do this, click "Enable update".

How to Connect Viber as Data Destination | Enable auto-update

On the main screen, click on the gear icon to select the required update interval or setup scheduled launch. To start the connection by time, select scheduled start and specify the desired time for the connection update will be started, or add several options at once when you need the connection will be started.

Attention! In order for the scheduled launch to work at the specified time, the interval between the current time and the specified time must be more than 5 minutes. For example, you select the time 12:10 and the current time is 12:08 - in this case, the automatic update of the connection will occur at 12:10 the next day. If you select the time 12:20 and the current time is 12:13 - the auto-update of the connection will work today and then every day at 12:20.

To make the current connection transmit data only after another connection, check the box "Update connection only after start other connection" and specify the connection after which the current connection will be started.  

How to Connect Viber as Data Destination | Update Interval
How to Connect Viber as Data Destination | Update Priority

To enable auto-update, switch the slider to the position as shown in the picture.

To perform a one-time data transfer, click on the arrow icon.

How to Connect Viber as Data Destination | Enable auto-update

This completes the setup of Viber as a Data Destination! See how easy it is!?

Now don't worry, ApiX-Drive will do everything on its own!