Skip to main content
Sets a variable in the global scope. Use this to remember a value once and reuse it anywhere later in the same run, even across different steps. You give the variable a name and a value (which can pull in data from the item currently being processed), and from then on you can drop that value into any field with the placeholder @{globals.<name>}. It is handy for things like a default shipping country, a batch reference, or a timestamp that several later steps all need to share. This step does not change the item itself; it only stores the value behind the scenes for the rest of the run to use.

Fields

Sample data

This example stores the item’s country as a global variable named default_country, then a later step reads it back with @{globals.default_country} and writes it to shipping_country. The stored value is kept behind the scenes, so the visible change shows up only once a later step uses it.
FieldValue
Keydefault_country
Value&{order.customer.country}
Input:
{
    "order": {
        "customer": {
            "country": "NL"
        }
    }
}
Output:
{
    "order": {
        "customer": {
            "country": "NL"
        }
    },
    "shipping_country": "NL"
}