Skip to main content

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​

NameTypeDescription
userUserThe viewer whose variable to read, typically the user from your trigger.

Outputs​

NameTypeDescription
outputstring, number, or booleanThe 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!"