3 min read.
Variable structuring can get complicated and it's difficult to remember references when using them in your templates. You can instead use variables to define easy to remember references inside your template. Once you have defined a custom variable, it will be used in the rest of the template. These variables can also be given to your end user to use as tags in their integrations.
Variable structuring can get complicated and it's difficult to remember references when using them in your templates. You can instead use variables to define easy to remember references inside your template. Once you have defined a custom variable, it will be used in the rest of the template. These variables can also be given to your end user to use as tags in their integrations.
On your dashboard, go to templates and then click on the Add Step button and select add variable, upon which the variable screen will appear as shown below.

Here you can create variables that can be used in Twig expressions in the template.
You can add the variable by defining the Name and Value fields in this section. Clicking the Add Variable button will show a new Name and Value field for adding a second variable and so on. The Value field can be a constant, variable or a twig expression.
You can collapse a variable by clicking on the cross or the Collapse option written next to it.
You can delete a variable by clicking on the bin icon found on the right, next to the value field.