Configure context variables for storing chat-related information
Specify chat context variables, also called Live Agent chat variables, for storing chat-related information, such as pre-chat survey responses. These variables contain contextual information that can be used to determine topic intent or control how chats are routed to live agents. You can also define variables to capture contextual information passed in Virtual Agent topic scripts to share with live agents.
Before you begin
Virtual Agent provides pre-built context variables. Before you add a variable, review the list of available Live Agent context variables.
Role required: virtual_agent_admin or admin
About this task
You can use context variables in scripts or with the condition builder. For example, you can reference context variables in the Live agent area in the topic Properties tab when creating a topic. When a condition is applied to a topic, it must return as true to display to the user.
For details about using context variables in topic scripts, see Virtual Agent scripts. For information about learning to use context variables, see Tutorial: Route interactions by context. For descriptions of Live Agent context variables, see Live agent chat context variables.