Add system entities to your Story

Dariusz Zabrzenski
2 min read
updated: Mar 9, 2022

This version of this article refers to new ChatBot Visual Builder.

Click here if you still use old builder and want to read the old version of this article.

Recognize and validate user input.Link icon

The system entities can help your chatbot validate information such as email addresses or phone numbers. You can save collected data as attributes and pass them to your external systems.

ChatBot offers different system entities:

  • email address

  • number

  • integer number

  • phone number

  • URL

  • temperature

  • Yes and no entities

  • Yes-no entities

How to use system entitiesLink icon

Let’s create a taxi booking bot and use system entities to collect information.

Type double curly brackets {{ to trigger the entity window and select the one you need.
Type double curly brackets {{ to trigger the entity window and select the one you need.
  1. Create a new Story or use the existing one.

  2. Add User input block to the Bot response block called Welcome message.

  3. Open the block you’ve added.

  4. 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 to number.

  5. Add a new Bot response block after the User input.

  6. Open the added block and complete your bot response.

  7. Test our ChatBot Story and see whether it works as intended.

See AlsoLink icon

Was this article helpful?

Got it!

Thanks for your feedback.

Thank you!

We’re happy to help.

Start a free ChatBot trial
and build your first chatbot today!

Free 14-day trial No credit card required

Discover our other products