Table of Contents
Using the Dynamic variables node
Table of Contents
When configuring the Dynamic variables node, you need to follow these steps, which are described in detail below:
- Add a Dynamic variables node to a workflow, define variable groups, and create variables for the group
- Define rules in the rule builder
- Reference the Dynamic variables in downstream nodes
Configuring a Dynamic variables node
- In Flow, create a new workflow or edit an existing one.
- In the Action area, select Add for the Dynamic variable action.

- Select Save. The workflow is displayed with the Dynamic variables node added.
- Select the Dynamic variables node to open its configuration panel.
- Select Create new.
- Enter a name for the dynamic variable group, and, optionally, add a description explaining the group’s purpose.
- Select Save and create variables.
- Select Create new.
- Enter a variable key. Currently, you can create a variable specifying only the Else value. For more information about the Else value, see Defining rules in the Rule Builder.
- Select Save.
Defining rules in the Rule Builder
The Rule Builder defines how a variable’s value is calculated.
Define Conditions (When)
- Select Edit rules.
- In the When section:
- Select an input field (API response, metadata field, tag, or existing dynamic variable).
- Choose a comparison operator.
- Enter or insert a comparison value.
- Combine multiple conditions using AND or OR.
Define the Result (Then)
In the Then section:
- Enter a static value (text, number, date), and/or
- Insert fields or variables, and
- Combine values using concatenation or arithmetic where needed.
Optional Else Branch
You can define an Else rule to:
- Set a default value
- Leave the value empty
- Apply alternative logic
Save the rule when finished.
Repeat this process for additional variables.
Example configuration
Group: RightsAndUsage
Variable: rights_usage_terms
Condition:
objectStatus = "Owned"
AND department != "Collection"
AND CurrentDate.year - artist_end_year < 71
Then:
"Can be used until " + (artist_end_year + 71)
Else:
Empty value ""
Reference Dynamic variables in downstream nodes
Dynamic variables do not update metadata by themselves. They must be referenced in another node.
To use them:
- Add or configure a Metadata macros node after the Dynamic Variables node.
- In the field mapping or macro editor, select Insert value.
- Select the relevant dynamic variable.
- Save and run the workflow. The following occurs:
- Input and API data are processed.
- The Dynamic variables node evaluates all rules.
- Calculated values become available.
- The Metadata macros node writes them to the asset.