This article will explain the benefits of Variables and how you can add them to be used in other parts of Gnatta.
Adding Variables
You can find Variables in the Configuration Menu, so first, open the menu and scroll down to open the tab as below.
Select the Add button and you will see the segment load as shown below.

You can then give your Variable a Name and a Value. We’re going to follow the use case of Delivery Timeframes, see below.

Click Save and your Variable will be added to the list. You can select your Variable from the list to delete it or make edits to the name and value.

Using Variables
Once you have created a variable it can be used in various different places, here are the main places Variables are used.
- Workflow Decision Nodes, almost like a switch a variable with the value ON or OFF can be used to change the routing or behaviours in Workflow. For example, if you created a Variable with the name Telephony and set the value to ON. In the workflow, you would then have a decision to check that value of this variable equals ON, if so proceed with the normal routing but if not you may want to play an automated message and end the call.
- Workflow Autoresponses, you can reference a variable in an autoresponse or multiple autoresponses. If we use the example use case of delivery timeframes again, you can then just update the value of the variable instead of having to update it across multiple autorespones.
- Content Placeholders, you can reference a variable in a context placeholder. Similar to workflow autoresponses for repeated information this saves updating this across multiple responses and just being able to control it by updating the variable value.
To reference a variable you when inputting a context in workflow or content the format is Variables.{Name of your variable} as shown below when using context placeholders. On Context inputs (like in workflow and content placeholders) you should be provided available variables as you type.

If you wish to reference a variable in a workflow autoresponder you will need to add as {{Variables.DeliveryTimeframes}}.