Variable settings and management
Variables can be used to store and manage customer information. Each variable are often attached to 1 entity type.
Variables will be temporarily stored on the system in 24 hours. Then, their values will automatically be deleted.
There are default variables on the FPT.AI Conversation system, including “sender_id” (sender id), “sender_input” (messages from customers), “sender_name” (customer names). Bot builders can use these default variables to transfer information to other systems, or set up scenarios with add variable condition.
For example, your Chatbot can start a conversation by calling customers by their names:
To create a variable, follow these steps:
Step 1: In Scenarios, select Variable Settings (1).
Step 2: In Variable Configuration, select Add variable (2).
Step 3: Enter Variable name (3).
Step 4: Choose the corresponding Entity type (4).
Step 5: Choose the Format (6) to be verified out of the 4 below:
Text: Bot does not verify the information entered by customers
Number: If information entities are not numbers, then the Bot will ask customers to enter numbers.
Email: If information entities are not emails, then the Bot will ask customers to enter emails.
URL: If information entities are not URLs, then the Bot will ask customers to enter URLs.
Step 6: Click on the Save symbol to save variable.