Get User Variable
Runs on: Backend — reads the stored user variable from the database.
The Get User Variable node reads the current value of a User Variable for a specific viewer. Connect a User into the node, choose which variable to read, and the node outputs that viewer's value.
User variables are stored per viewer, so the same variable name returns a different value for each person. If the viewer has no value for the chosen variable, the node outputs nothing.
Inputs
| Name | Type | Description |
|---|---|---|
user | User | The viewer whose variable to read — typically the user from your trigger. |
Outputs
| Name | Type | Description |
|---|---|---|
output | string, number, or boolean | The viewer's current value for the chosen variable. |
Configuration
- Variable: The name of the user variable to read.
Example
A chat command flow triggered by !points connects the command's User into a Get User Variable node set to points. The output feeds a Generate Text node that replies in chat: "You have (input 0) points!"