Quester Studio

set

Write flow variables for later {{vars.*}} references

Merges key/value pairs into the flow’s vars bag. The previous node’s output is passed through unchanged.

String values are templated: {{input.*}} or {{nodes.id…}}. Overview: How flows work.

in ×1 set out ×1
Writes vars; passes wire through. Multiple outgoing edges (fan-out) share the same output.

Data

FieldTypeDefaultDescription
labelstringOptional UI label
variablesobject{}Keys to set; string values are templated

Values may be string, number, or boolean.

Input / output

Value
Execute inputPrevious node output
OutputSame as input (passthrough)
Side effectUpdates vars for subsequent nodes

Examples

Static and templated vars

{
  "id": "init",
  "type": "set",
  "data": {
    "variables": {
      "greeting": "Hello {{input.username}}",
      "retryCount": 3,
      "enabled": true
    }
  }
}

Later: {{vars.greeting}}, {{vars.retryCount}}.

Capture from a previous extract

If the previous node output is a token string (e.g. from extract):

{
  "id": "storeToken",
  "type": "set",
  "data": {
    "variables": {
      "token": "{{nodes.tokenExtract}}"
    }
  }
}

Or after an HTTP node:

{
  "variables": {
    "token": "{{nodes.login.body.token}}"
  }
}

Branch labels

Often paired with if:

{
  "id": "setYes",
  "type": "set",
  "data": { "variables": { "path": "yes" } }
}