Now you can use the Logical Jump feature to make the chatbot smart.
This will help you to jump between questions based on the replies received from your visitor. By introducing a conditional flow into your chatbot conversations, you can make the conversation more interesting to your user.
Consider the following example, where the chatbot asks the visitor, "What do you like? - Coffee or Tea". Your visitor can choose any option and the chatbot should respond accordingly.
If "Coffee" was selected, a set of questions related to coffee will follow. If "Tea" was selected, a set of questions related to tea will follow.
Access the Builder section of your chatbot. Go to Script tab. Here, you can find the logical jump icon, next to the move icon. This option is available in every question.
There are three possible options for every question. It can be:
- No Jump - This is the default option that is set for every conversation. When this option is selected, the chatbot will go to the next conversation line without jumping.
- Redirect to URL - This option allows you to redirect the page in which chatbot has been added.
- End of Conversation - When this option is selected, the chatbot will stop the conversation.
- Other questions - You can scroll (or type) and select the question that should follow the currently selected question.
By default in Collect.chat, the conversation flow is from top to bottom. The questions will appear in the order they have been arranged.
Take a good look at your chatbot conversation and make a note of how the flow should be. In this example:
- For the option "Coffee", there are two messages about coffee that should follow. They are arranged just after the main question.
- For the option "Tea", there are another two messages that should follow. For the chatbot to get to these messages, we will have to use logical jump.
Click the logical jump icon for the question, "What do you prefer?". Select the message to jump to for the option "Tea".
Why didn't we specify logical jump for the option "Coffee"? Because, as per the default flow, we are positive that the next two messages will be displayed. You can explicitly specify logical jump for the option, "Coffee". But it is not going to make any difference.
Make sure, you to use the option "End the Conversation", wherever required. In this example after the message, "Enjoy your Coffee", the conversation must end. Otherwise, the remaining messages that are related to "Tea" will be displayed.
Logical Jump option is available on all the messages. Different script types allow you set the conditions in a different way.
For script types like Message, Multi-Select, Links, Appointment and File Upload you will only see a single Jump option with a dropdown list of questions to choose from. This gives you the option to just change the conversation flow. There are no conditions to be applied in this case.
For script types like Email, Text Question and Suggest, you can apply conditions in the Logical Jump settings as shown below. Here the comparison is text-based and case-sensitive. In case, none of the values match, you can provide a default jump at the end as well using "In all other cases jump to".
For the Rating Script type, you will find a standard set of options against which you can apply the jumps.
For the Multi-Choice script type, you will find the options that you have provided listed in the Logical Jump settings. From there you can decide how the conversation must change when a particular option is selected.
For Number and Range script types, you will be able to apply numerical comparison operators like "Equal to", "Between", "Greater than" and "Less than"
For Date script type, you will find similar options to apply comparison operators on the date that is inputed by the user.
Make sure all your questions and messages are ready before you start using the logical jump. Also after you have applied logical jump, preview the chatbot to go through all the possible cases.
Still need help?Contact us