Use System Entities when you want your chatbot to recognize and validate values entered by your visitors. Save information to attributes, reuse it ongoing chats or pass it to your web services and databases.
ChatBot offers a list of different System Entities such as email address, number, integer, temperature and more. You don’t need to configure them, just pick one and add it to the user says field. Check out the list of ready to use system entities.
Learn how to add system entities to your Stories
Let’s create a taxi booking bot and use System Entities to collect information.
{{
to trigger the entity window and select the one you need.{{
to trigger the entity window and select the one you need.- Create a new ChatBot story or use the existing one.
- Add User input block to the Bot response block called Welcome message.
- Open the block you’ve added.
- In the User says section, use the System entity to get an integer number. To do that, type two curly brackets
{{
to open the entity window. Choose the Parameter validation: Number and set the attribute’s name tonumber
.
- Add a new Bot response block to your User input.
- Open the added block and complete your bot response.
- Let’s test our ChatBot Story to check how it works.