User choices are buttons that a chatbot displays to a user. The chatbot visitor would click and choose one of the many choices the bot displays.
It is simply a mechanism to collect an intended choice from a user. Based on the choice selected by the user, the flow of the bot can be configured to a different step as per your business need. For example, user choices can be used to display the most frequently asked questions for a user to choose from. These can also be used to collect feedback.
How to create User Choices in the Bot Builder
To configure an action to give user choices, follow the steps below -
-
Open the bot builder and choose the bot you want to configure
-
Go to the required point on the chatbot flow where the user choice needs to be added
-
Choose User Choice action
-
Choose which one of the following configuration types you want -
S. No | Action Type | What happens when a user selects this type of User Choice action |
1 |
Link to an existing step |
Takes end users to the next step in the flow (Bot Builder Admin can reuse steps at multiple places) |
2 |
Link to a new step |
Takes end users to the next step in the flow |
3 |
Goto Bot |
Takes end users to another bot configured, starting at any of the steps |
4 |
Open Link in the New tab |
Takes end users to a configured URL in a new tab |
5 |
Transfer to the Live Chat department |
Takes end users to the Live Agents using HappyFox Chat |
Link to an existing Step
Takes end users to the next step in the flow (Bot Builder Admin can reuse steps at multiple places). To make use of this follow the below steps
-
Link to Existing Step
-
Choose this action, when you want the user choice/button to go to a step or a flow you’ve already built
-
This means you can have the same flows in the chatbot with different step names
-
To configure this, choose Link to Existing Step as the action type and choose the label of the step you want the choice to go to
-
Link to a new Step
To build a User Choice, follow the steps below -
-
Click on + for a list of actions and choose User Choice
-
Give a name to the User Choice (button) you’d like to show your users
-
Select one of the following options for Action on selecting a choice
-
Link to new Step
-
Give the user choice step a label
-
When you choose this action, the Next Step Name is the same as the Step Label
-
Save and curate your next step with information
-
-
Go to Bot
-
Choose this action to take the flow to another related bot from your primary bot
-
You can also use this flow to take your related bot back to your primary bot
Open Link in New Tab
-
Paste the link you’d want your users to be taken to when they click on this choice
Transfer Chat to department
-
Choose this action to transfer your chat to an agent using HappyFox Live Chat
-
To enable this, follow the steps below
-
Under the Apps section, choose HappyFox Chat and Install the app
-
Paste the API key and Connect
-
You can get/create your API key from the REST API section under Apps > Goodies in your HappyFox Chat account.
-
-
Save the action
-
Save and Publish the Chatbot
Testing Your Chatbot
Click on the button Test to open a new tab with your published bot