How to create a block in a chatbot to detect customer's intent
How do I create a block in a chatbot to detect customer's intent?
This article explains how to set up a chatbot to analyze user messages to find out what they want. Follow these steps to train your chatbot with example inputs. This helps the assistant match customer phrases to correct outcomes.
In this article, you will learn how to
- Add an Intent Detector block to your chatbot.
- Provide training examples for customer phrases.
- Fix intent matching errors.
Before you start
Before creating a block in a chatbot to detect customer's intent, make sure you have an existing chatbot to add an Intent Detector block.
How to create a block in a chatbot to detect customer's intent
- Log in to your Flownally workspace.
- Go to the Chatbots tab.
- Click an existing chatbot to edit it, orcreate a new one to open the editor automatically.
- Click on + icon to add a new block.
- Choose the Intent Detector block.
- Choose if you want the chatbot to wait for a new message or use the last one.
- Add the intent name.
- Provide an example message you might receive from a customer that the intent detector would use to determine their intent.
- Optionally add additional intents to split your chatbot into more paths.
What happens after creating a block in a chatbot to detect customer's intent?
After creating a block in a chatbot to detect customer's intent, your assistant can interpret text messages. The system processes customer inputs and routes them to the best matching conversational step.
Troubleshooting
Wrong intent triggered
This can happen because your training examples overlap too much. To fix this you need to edit the phrases to make them distinct.
Chatbot can't be activated yet when trying to activate the chatbot
This happens because the text field is completely empty. To solve this problem, you should provide a name for the intent and examples of what the customer might say, before closing the settings.