younifyd
Menu

Set Variables

Set one or more typed variables for the rest of this execution, readable via {{runtimeVariables.name}}

Use it in a workflow

  1. Add a step and choose the Variable connector.
  2. Pick the Set Variables action (under logic).
  3. Fill in the fields below, then reference the result from later steps as {{setVariables.response.data}}.

Fields

variablesarray<object>required

One or more variables to set.

namestringrequired

Referenced later as {{runtimeVariables.<name>}}.

typestringrequired

One ofstringnumberbooleanobjectarrayDefault "string"

valuestringrequired

Always a JSON string, even for a boolean/number/object/array Type — write "true" or "42" or '{"a":1}', never a bare true or 42. A whole {{...}} expression is resolved and used as-is instead (its type is preserved, not coerced from Type).

defaultValuestring

Used only when Value resolves to null or undefined — a {{...}} expression referencing a field that does not exist, say. Same format as Value: a JSON string like "true" or "42", or a whole {{...}} expression. Leave blank to store null/undefined as-is.

Need more? See the Variable guide for connection setup and behaviour shared by every action.

Was this page helpful?