Get User Variable
Runs on: Backend.
Reads a User Variable for one viewer. Values are per viewer, so the same variable returns a different value for each person. If the viewer has no value for it, 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. |
Configuration
- Variable: The user variable to read.
Example
A !points command connects its User to a Get User Variable node set to points, then to a Generate Text node that replies "You have (input 0) points!"