Add system entities to your story
ChatBot.com

luiza jurczyk

Last update:

Use system entities when you want your bot to recognize and validate values entered by your visitors and save them to attributes and reuse in the ongoing conversation or pass to your web services and databases.

ChatBot offers plenty 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 stoties

Let’s try system entities with an example. There’re many situations when you need to know the quantity of something your customer orders. In this scenario, we’re creating a taxi booking bot.

Type double curly brackets ... to trigger the entity window and select the one you need.

  1. Create a new story and add an interaction.
  2. In the user says section, type two curly brackets to open the entity window and select sys.integer. Name the attribute get_integer.
  3. Select sys.integer and type here the user says message.
  4. Go to bot responses and call the attributes using again double curly brackets. Select the get_integer attribute we’ve just created.
  5. Complete your reply.
  6. Click on the save button to keep all the changes.
  7. Let's test our interaction using the built-in chat:

It looks that our interaction works well. Good job!

See Also

Go to next article arrow_forward