Context and variables
Overview
In Moveo, store temporary information during a conversation using context variables. These variables apply only to a specific conversation and are automatically deleted once the conversation ends. Context is a collection of key-value pairs that help AI Agents make decisions, store state, and enhance dialog interactions.
Context variables can be set at different levels:
- Environment level (see Context Bundles)
- Agent level (within AI Agents and dialogs)
Additionally, context can store user-related information, such as their name, email, or other relevant data.
Types of context variables
Dialog variables
Create and store variables within a dialog using questions. These variables are flexible and can be named as needed.
User variables
User-related information is stored in specific system-defined variables, including:
$user.display_name– User's name$user.email– User's email address$user.user_idor$user.external_id– Unique user ID (depends on the communication channel)
Some user variables, such as user IDs, are automatically assigned by the system, while others require manual input via questions or forms at the start of a conversation.
User variables cannot be set directly. To assign a value using a
Set Variable action, select the appropriate key (e.g.,
$user.display_name).
For webhook responses, refer to the Webhook reference.