Skip to content

Set Workflow Variables ​

Persists one or more named variables to the workflow's variable store so they are available as initial parameters on subsequent workflow runs.

Purpose ​

Use this task to maintain state between separate executions of the same workflow. For example, a scheduled workflow can record the timestamp of the last email it sent, a processing counter, or a cursor position, and read those values back automatically the next time it runs. Only non-secure variables can be written by this task; secure variables set through the API are preserved unchanged. All stored variables, including decrypted secure ones, are loaded into the workflow data context immediately after the task completes so that downstream tasks in the same run can also access the updated values.

Inputs ​

FieldTypeRequiredDescription
Workflow VariablesKey-Value PairsYesKey-value pairs to write to the workflow variable store. Supports variable references in values so that data from earlier tasks can be persisted. At least one entry is required.

Outputs ​

This task performs an action and does not produce output variables.

Tentech