Estimated reading time: 5 minutes Updated: 7/24/2024 Created by: Jessica B

How to validate data with your bot?

This document describes the process for validating data with the chatbot.


In this article, you will learn how to validate data in Bot Designer. To learn how to validate data in an intent chatbot (previous version), see this article in the Intent Chatbot section.


Estimated reading: 05 minutes




The chatbot (designed in both Bot Designer and an intent chatbot) verifies the veracity of the information it provides during conversations.


One of the bot's functions is to validate a contact's data, such as real phone numbers and email addresses.


In addition, the bot is capable of extracting additional information from said contact, such as their name.


Learn how to use this tool to ensure you are working with valid information.


How to get the data in a chatbot designed with Bot Designer?


In the desired part of the flow, add a user input with a form to request the data and save it, as shown in the following image:



You can also access the data using code actions. In the part of the flow you want, add a code action. Please note that the scripts must be previously created in the Chatbots>Code, https://go.botmaker.com/#/actions).




With data validation, manage your conversations securely, guaranteeing the confidentiality of your client's information and the integrity of the data they provide.


Remember to visit our Help Center for more information.




Written by: Botmaker Team


Updated: 1/03/2024