Dynamic variables are variables that are generated during workflow execution. These variables enable workflows to adapt to real-time data, allowing workflows to function dynamically rather than relying on inputs that contain static values. They can represent various types of data, including metadata, user input, step outputs, or event payloads. To simplify the process of selecting and using dynamic variables, Blink provides the Variable Picker—a tool that allows users to insert dynamic variables without needing to understand complex expression syntax.
This refers to the data received from the triggering event in an Event-based workflows. When an event occurs, it generates specific data that is passed into the workflow, enabling it to execute the necessary actions based on the event’s details.
There are two distinct ways in which you can add dynamic variables to input parameters throughout Workflows.
The Variable Picker
The Variable Picker allows users to insert dynamic variables easily into workflows without manually writing expressions. It is compatible with all input types.
Blinks Expression Language
The Dynamic Variables can also be added manually using the expression language syntax.
Using the Variable Picker to Add Dynamic Variables
Note: When using the same dynamic variable in multiple steps with different value types, the variable will always take the value type from the last step where it was set. The first value type will be overwritten by the second one.
1
Access the Variable Picker
Click the button in the parameter field
where you want to use a variable.
2
Search for a Specific Variable
In the Variable Picker, type to search for a specific variable.
3
Select the Desired Variable
Select the desired variable. It appears in the picker’s headline.
4
View the Variable Tag in the Step Field
The variable tag is displayed in the step’s input field.
5
Workflow Executes and Replaces the Tag
When executed, the workflow replaces the tag with the actual value.
To quickly inspect a step, click the icon. This opens a view showing all input parameters for that step.
2
In preview mode, you can see the actual values of all dynamic variables used in the step’s input parameters
You can view dynamic variables alongside their actual values by clicking the icon in the top-right corner of the text input to enlarge the preview. Then, select the icon to display both the dynamic variables and their corresponding values side by side.
From the panel on the left of the expanded preview, you can directly edit the dynamic variables. Any changes you make will instantly update on the right side, allowing you to see in real time how adjustments affect the final output.
In preview mode, dynamic variables in the python action cannot be displayed. You can view input values from other scripting languages (Bash, PowerShell, and Node.js), but Python- generated dynamic values are not available to preview.