Creating a Simple Voice Bot Creating a Simple Voice Bot

Creating a Simple Voice Bot

Daiana Gallardo Daiana Gallardo

Overview

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.

 

simplechatbot1.png

Three Actions must be added to the button for it to trigger the Voice Bot:

  1. Set Actor: to set the variable that will indicate to the App which number to call.
  2. Initialize Actor: to set the values for the current Actor in the Journey
  3. Start Voice Bot: to run the selected Voice Bot.

startvoicefromwebpage.png

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.

 

voicebot1.png

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.

 

voice2.png

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.

 

startchatbot.png

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.

 

stylevariant.png

We recommend adding transparent naming to all Voice Bot components to easily connect the  Decision Options to each expected result.

Further Reading

This is a simple introduction to Voice Bots, see below for further information:

 

Was this article helpful?

0 out of 0 found this helpful

Add comment

Please sign in to leave a comment.