Entities are the items or data your chatbot will ask for and use in the conversation. Zoom Virtual Agent has prebuilt entities you can use like dates, major cities, airports, or urls. When you use a prebuilt entity, you’re telling your chatbot that you want the user to answer in that particular format. If you want to define what the chatbot will accept, then you can create your own custom entities which can be used in bot flows. For example, you could create an entity called “Product” that has a list of different products you sell (for example, face wash, sunscreen, moisturizer). Then, you can set up your bot and use that entity to ask, “What type of product are you looking for today?” and only accept replies which are “face wash”, “sunscreen”, or “moisturizer”.
Entities can be used to collect specific information which can be used to route the user down a path, store information, or make data calls. In Zoom Virtual Agent, custom entities are created in intents and used by bot flows and variables.
In your bot flow, there’s a Text Input type option from the drop-down menu in the Collect Input widget. This is where you can tell your bot to only accept text inputs from users if they match a certain entity option. For example, if you have a “My Product Types” entity with entity variants such as eye Cream, face wash, and toner, you could have your bot ask, “What product type?” and only accept values that are eye cream, face wash, and toner.
You can store your user's response as a variable locally or globally. Locally means the response will only be used by a single bot flow they’re in. This option can be used for information that you don't want your bot to remember. Globally means that variable is stored by the bot so you can use it in other flows or pass it onto agents.