Voice Bots begin a phone call conversation with a user in a Journey.
They can be used as triggers to start a Journey, run from an action chain on a Web Page or even through an Event in Airkit.
Voice Bots are used to provide an alternative way to interact with users, that depending on the use case, can be more effective than following a Journey purely on a Web Flow.
Preparing the Web Page for the Voice Bot
The simplest example is to create a Voice Bot triggered from a Web Page to a phone number previously stored by the App.
Since the Voice Bot is triggered from a Web Page and the user will receive a phone call with an SMS option, a simple form and a Chat Bot must be created first.
In this example, the user will complete the form with their name and phone number and, when clicking on the “Track my order” button, a phone call will be triggered to their phone number.
Three Actions must be added to the button for it to trigger the Voice Bot:
- Set Actor: to set the variable that will indicate to the App which number to call.
- Initialize Actor: to set the values for the current Actor in the Journey
- Start Voice Bot: to run the selected Voice Bot.
Creating the Voice Bot itself
Voice Bots are created from the Activity Builder section.
Click on the '+' sign next to the Voice Bot component and then click on New.
Select Decision Menu and type the message the user will listen to. Next, enter the Decision Options the user will receive upon following the Voice Bot indications.
Use the Keyword Matcher to capture voice responses or the DTMF Matcher to capture pressed keys on the phone.
In this example, “Response 2” will allow the user to perform self-service. To configure “Response 2”, go to its Decision Menu and, in Actions, select Start Chat Bot from After Voice Prompt and pick the corresponding Chat Bot.
This way, after pressing the self-service option, the user will receive an SMS to continue to self-service from the Web Flow.
Finally, Style Variants can be added to Voice Bots to customize the message.
We recommend adding transparent naming to all Voice Bot components to easily connect the Decision Options to each expected result.
This is a simple introduction to Voice Bots, see below for further information: