Variables
Variables
Variables are used to store values, and you can access these values throughout the entire process. When you want to assign a value to a variable, simply specify the name of the variable you want to receive that value.
Variables Name
You can name a variable anything you want. However, to make it easier to access the variable, it’s best to avoid using spaces, special characters such as (@)
, and square brackets ([])
in the variable name.

Accessing Variables
You can access the value of a variable that was created during the execution of any script (in the Variables panel displayed at the bottom).
Change the Data Type of a Variable to an Array
When you use the $push
prefix, the automation system will automatically change the variable's data type to an array.
If the variable already has a value, that value will become the first element of the array. Then, when you assign new values to the variable, instead of overwriting the existing value, the system will append the new value to the variable as an additional element in the array.
Suppose you are looping or iterating through different elements and want to extract the text of each element using a Text Extraction Node and assign the extracted text to a variable with the $push
prefix, such as $push:texts
In the first iteration, the value of the texts
variable will be:
["Text 1"]
In the second iteration, the value will be:
["Text 1", "Text 2"]
This process will continue in the same way.
The example below will help you understand $push
more clearly.
$push
more clearly.In Case 1, we will insert the values of variable1
and variable2
into the texts
variable using the Insert Data
node.

Last updated