Search K
Appearance
Appearance
Defines or updates named variables in the workflow context, making them available to all downstream tasks.
Use Set Variables to introduce new values into the workflow at any point during execution, or to overwrite values that were set earlier. It is the standard way to declare constants, build derived values, or reset state before a conditional branch. The task supports two modes: setting a batch of key-value pairs at once, or updating a single property deep inside an existing object variable.
| Field | Type | Required | Description |
|---|---|---|---|
| Operation | Dropdown | No | Determines the mode. SetVariables defines a batch of new variables. UpdateObjectProperty updates a single property within an existing object. Defaults to SetVariables. |
| New Variables | Key-Value Pairs | No | A dictionary of variable names and their values to add to the workflow context. Visible when Operation is SetVariables. |
| Object Variable Name | Text | No | The name of an existing object variable to modify. Visible when Operation is UpdateObjectProperty. |
| Property Path | Text | No | Dot-notation path to the target property within the object (e.g. address.city). Visible when Operation is UpdateObjectProperty. |
| New Value | Text | No | The value to assign to the specified property. Visible when Operation is UpdateObjectProperty. |
| Output Variable Name | Text | No | Optional name for the updated object. If omitted, the original variable is updated in place. Visible when Operation is UpdateObjectProperty. |
New Variables is visible when Operation is SetVariables. Object Variable Name, Property Path, New Value, and Output Variable Name are visible when Operation is UpdateObjectProperty.
| Operation | Description |
|---|---|
| SetVariables | Adds or overwrites one or more named variables in the workflow context from a key-value dictionary. |
| UpdateObjectProperty | Navigates to a specific property inside an existing object variable and sets it to a new value. |
| Name | Description |
|---|---|
| SetVariables | A dictionary containing each variable name and its resulting value. Produced by the SetVariables operation. |
For UpdateObjectProperty, the updated object is stored under the name specified in Output Variable Name (or the original variable name if that field is left blank).