Dynamic Variables Explaination
This section will help you to use Dynamic Variable feature in WorkFlow
Last updated
This section will help you to use Dynamic Variable feature in WorkFlow
Last updated
The objective of Dynamic variables within CX Genie would be to make their interaction with the chatbot more personalized and flexible, pulling variable data in dynamically upon conversations. It would therefore be able to change responses at will, depending on any specific information at that particular moment through user input, APIs, or other sources of information.
In short, Dynamic Variables enable CX Genie's chatbot to:
Personalize responses: Calling out the user's name or referring to actual data about them, making the conversation appear more personalized.
Data Collection and Usage from Outside Sources: It may fetch and use real-time data from APIs or databases, such as fetching stock availability or order status, or personalized recommendations.
Automate decision-making: The chatbot can change responses dynamically, or execute different sequences of actions based on the variable values, making workflows smarter and context-aware.
This ensures that customer interactions are more accurate, engaging, and relevant, improving overall service quality.
This is the name of the dynamic variable you are creating. You should enter a clear and descriptive name that reflects the purpose of the variable, such as "CustomerName" or "OrderTotal." This name will be used to reference the variable in the workflow.
This field is for the code representation of the dynamic variable. The code must be written in snake_case (all lowercase with words separated by underscores). For example: "customer_name" or "order_total." This is how the system will identify the variable.
Specified result: Select this option if you want to specify a fixed result that the dynamic variable will return, meaning a specific result that you already know.
Random result: Choose this option if you want the system to return a random result, useful for cases where the outcome is unpredictable or for testing scenarios.
Here you provide the data or information that the system will use to return the variable’s value. For example, if you are pulling information from an API, the returned value might be in JSON format, and you would need to provide the paths to the specific data you want.
API Information: Choose this option if you want the dynamic variable to pull data from an external API. An API allows the system to connect to external services or databases to retrieve specific information.
CURL: Choose this option if you want to use CURL, a command-line tool used for transferring data with URLs. CURL is often used for making more complex HTTP requests.
If you selected API Information as the Type, this is where you enter the URL of the API you want to pull data from. The URL is the web address that the system will query to retrieve data.
If you selected CURL as the Type, this is where you enter the CURL of the API you want to pull data from. The CURL is the web address that the system will query to retrieve data.