Variables
What is a Variable?
A variable is a container that has a name and a value. XCALLY Motion has a list of standard variables that can be used to access information about Omni Channel Interactions (Voice Calls, Web Chat, Email and so on).
In addition to these, you are able to create your custom variables that can be used within the entire Motion system. For example, you can create a variable named order and use it in a Cally Square project to add logic to your IVR flow or customize the phonebar popup displayed for agents.
This section explains mainly how to create and use custom variables.
The Variables section
You can find the Variables section under Tools menu:
Create a Variable
To create a variable, click on New Variable button
Enter variable Name and Description then click on Add Variable. After the variable is created, you can view it in the list of variables.
Edit a Variable
Find the variable from the variables list (you can use the search box on the top-right of the page to filter) and Click on Edit Variable.
Edit Name or description and click on Save.
Delete Variables
To delete a single variable, find the variable in the variables list and click Delete Variable:
To delete multiple variables, select the list of variables by marking the checkbox on the left side, click on Delete button and click OK to confirm.
Export list of Variables
To export list of variables in CSV, select the list of variables to export by marking the checkbox on the left side and click on the icon Export button:
How to use Variables
You can use Motion standard variables and custom variables in your Motion system according to your needs.
The following are some of the sections where variables can be used:
Triggers:
to customize phonebar or web pop-up displayed for agents
to pass custom parameters to a web or windows application
to forward custom parameters in HTTP GET/POST request
Cally Square project:
to insert logic in the call flow
Routes Dialplan:
to insert logic in the call flow
Integrations:
to pass custom information to 3rd party applications like Zendesk, Freshdesk...
Templates:
to customize the content with the values you need
Jscripty:
to customize contents in agent scripts
Email:
to customize the outbound email messages contents
Variable Syntax
The syntax you need to use to access the value of a variable slightly differs from section to section.
In Triggers, Templates and Jscripty, variables are referenced using the following syntax:
{{VARIABLENAME}}