Skip to main content

Flow Variable

Runs on: Shared (backend or chatbox overlay).

Reads the current value of a variable scoped to this flow. Flow variables are defined in the flow's variable panel, exist only within that flow and reset to their default each time it starts (unless configured otherwise). Use them for counters, flags and temporary values. The variable must be defined before this node can read it.

Outputs​

NameTypeDescription
Valuestring, number, or booleanThe variable's current value. The type depends on how the variable was defined.

Configuration​

  • Variable: The flow variable to read.

Example​

A flow variable deathCount goes up each time !death is used. Connect a Flow Variable node reading deathCount to a Generate Text node with the template Current death count: {{0}} to show the latest count.