Nodes are the building blocks of a bot. This topic describes the basic and advanced nodes that are available for building a bot and how to use them.
|
You can build a simple by adding basic nodes to it.
The Email Address node enables a bot to prompt a customer to provide their email address so that their response is validated and then automatically saved to their profile. This node eliminates the need to manually record the email address of the customer. In addition, it enables the bot to display an error message when the customer provides an invalid email address. In addition, by default, the Email Collected bot goal is applied to the node to enable you to track the number of customers who have responded to the node within the bot.
|
To design the Email Address node:
On the Bot Nodes tab, in the Ask for an email field, enter the message that asks the customer to respond with their email address.
By default, the Save the user's response to their profile checkbox is selected and the Email value appears in the drop-down list box below the checkbox to indicate that the customer's response is saved to the Email user property. For information about user properties, see LV Bot Properties. |
The Free Text Reply node enables a bot to prompt a customer to provide a response to continue the conversation.
To design the Free Text Reply node, on the Bot Nodes tab, in the Ask a question field, enter the question that you want to ask the customer.
The Multiple Choice node enables a bot to display a list of options (as buttons) with a supporting question to prompt a customer to select one or more buttons to continue the conversation. The following options are available for configuring the buttons:
Buttons: This option enables you to add multiple buttons with labels and define if the customer can select multiple buttons. You can also define if the customer can upload a file; this option, however, is applicable only if you have limited the customer to select only one button.
Buttons With Images: This option enables you to add multiple buttons with images, labels, and descriptions to create a view resembling a list of cards for options. You can use this option if you want to illustrate or distinguish the buttons, or if you want to highlight the differences between the buttons.
To design the Multiple Choice node:
On the Bot Nodes tab, in the Ask a question field, enter the question that you want to ask the customer.
If you want to enable the customer to upload an image, enable the Allow user to upload a file option.
You can enable this option only if you have enabled the Limit user to selecting only 1 button option. |
In the text box, enter a label for the button.
|
If required, in the first text box below the image, enter a description of the image.
If required, in the second text box below the image, enter a label for the button.
|
The No Reply node enables a bot to display a message that does not require a response from a customer. After displaying the message, this node automatically continues the conversation by displaying the next node in the bot flow. You can also use this node to transfer a chat to a live agent.
To design the No Reply node, on the Bot Nodes tab, in the Send a message field, enter the message that you want to convey to the customer.
If you want a chat to be transferred to a live agent, enter the following message: go_to_agent |
The Phone Number node enables a bot to prompt a customer to provide their phone number so that their response is validated (optional) and then automatically saved to their profile. This node eliminates the need to manually record the phone number of the customer.
The Phone Number is similar to the Free Text Reply node in that both enable you to display a message that is intended to prompt the customer to provide a response to continue the conversation. The Phone Number node, however, is intended to prompt the customer to provide their phone number so that it can be saved to their profile. |
This node also enables you to display an error message when the customer provides an invalid phone number.
To design the Phone Number node:
On the Bot Nodes tab, in the Ask for a phone number field, enter the message that asks the customer to respond with their phone number.
By default, the Save the user's response to their profile checkbox is selected and the Phone Number value appears in the drop-down list box below the checkbox to indicate that the customer's response is saved to the Phone Number user property. For information about user properties, see LV Bot Properties. |
If you want to allow the customer to enter a phone number in any format (for example, an extension), disable the Validate format of user's response option.
The User's Name node enables a bot to prompt a customer to provide their full name so that their response is automatically saved to their profile. This node eliminates the need to manually record the full name of the customer.
The User's Name is similar to the Free Text Reply node in that both enable you to display a message that is intended to prompt the customer to provide a response to continue the conversation. The User's Name node, however, is intended to prompt the customer to provide their full name so that it can be saved to their profile. |
To design the User's Name node, on the Bot Nodes tab, in the Ask for a name field, enter the message that asks the customer to respond with their full name.
By default, the Save the user's response to their profile checkbox is selected and the Full Name value appears in the drop-down list box below the checkbox to indicate that the customer's response is saved to the Full Name user property. For information about user properties, see LV Bot Properties. |
If the customer enters the text Jane Doe in response to the question displayed through the User's Name node, the customer's contact record is updated as follows:
You can build a complex bot to expand its capabilities by adding advanced nodes to it.
The Conditional Logic node enables a bot to route a customer to different paths within the bot based on their response to a different node in the bot, their user property, the completion of a bot goal, or the result of a Script node.
Some of the scenarios in which you can use this node are as follows:
To recognize a customer who has completed a bot goal.
For information about bot goals, see Goals. |
To design the Conditional Logic node:
If you want to be able to easily identify or find the node, in the Conditional Logic section, in the CONDITION NAME field, enter a name for the node.
In the Conditional Logic section, in the IF field, select one of the following options:
In the Value of the condition box, enter a value for the condition.
|
The Dialogflow node enables a bot to intelligently converse with a customer by detecting the intention of the customer based on their response. You can use this node to create a user interface that emulates a conversation with a live agent as the customer communicates with the bot in their natural language. The node can recognize the nuances of human language by translating the customer's text (natural language) into machine-readable data by using a machine-learning model that you can train by providing examples.
The node handles a conversation through intents, which are categories that represent the possible intentions for a question asked by the customer during a conversation. You can define as many intents as you want for a bot to handle the entire conversation. The node works by comparing the text entered by the customer with the intents, mapping the text to the best intent in the bot (intent matching), and then providing a response to the customer.
You can define intents and their responses by using Google's Dialogflow Console. For more information, see the Dialogflow documentation. |
The Dialogflow node must originate from the Free Text Reply node. |
Before you design the Dialogflow node:
|
To design the Dialogflow node:
In the Name of the node to get the user's question field, select the name of the Free Text Reply node from where the customer's question is intended to originate.
If you want to create text responses for each intent within the LiveVox Bot instead of the Dialogflow console, disable the Display text response from Dialogflow option.
For more information, see the Dialogflow Intent Response section. |
If you have selected the Each intent into a separate branch option, in the Which intents do you want this node to handle field, select the checkboxes next to the names of the intents that you want the node to detect.
|
You can refresh the list of intents by clicking Refresh my intents. |
In addition to creating intents, you can use the Dialogflow console to create and manage responses for each intent. When designing the Dialogflow node in LiveVox Bot, if you enable the Display text response from Dialogflow option, the bot displays the intent responses from the console. If, however, you want to create and manage responses for the intents of a Dialogflow node within LiveVox Bot, disable the Display text response from Dialogflow option and add the Conditional Logic node to the selected intents of the node.
In the following bot, two Dialogflow nodes are used. The first Dialogflow node (dialogflow-parent) includes the CreditCard and Mortgage intents. The second Dialogflow node (dialogflow-credit-card), which is linked to the CreditCard intent, includes the CreditCard.Block and CreditCard.Lost intents.
If a customer responds to the first node (user-question) with a message that matches the CreditCard intent, the customer is sent to the CreditCard intent path of the dialogflow-parent node. If the customer then responds to the Free Text Reply node (user-question-creditcard) with a message that matches the CreditCard.Block or CreditCard.Lost intent, the customer is sent to the respective path of the dialogflow-credit-card node.
Similarly, if the customer responds to the user-question node with a message that matches the Mortgage intent, the customer is sent to the Mortgage intent path of the dialogflow-parent node.
The Script node enables a bot to insert and run any JavaScript in the background as a customer interacts with the bot.
Some of the scenarios in which you can use this node are as follows:
To perform a calculation based on a value provided by a customer and use the calculated result elsewhere in the bot. This can be achieved by using setResult() in the script.
Suppose that a node prompts a customer to enter the amount that they want to borrow for a loan. You can use the Script node to calculate the interest for that amount based on your rate of interest. In addition, you can display the result of the Script node to the customer by using a different node in the same bot. |
If you want to display the result of the Script node elsewhere in the bot:
|
To design the Script node:
Enter the script.
Enter |
In the following bot, the Script node (Verify zip) is used to check if the ZIP Code provided by the customer in response to the Free Text Reply node (Zip) matches the ZIP Code that is saved on the customer's profile. If the codes match, the Conditional Logic node directs the customer to the No Reply node (Balance), which displays the balance of the customer.