Get User Team
Runs on: Backend — looks up team membership from the database.
The Get User Team node accepts a user (or a username string) and returns the name of the team that user belongs to in this streamer's channel. If the user is not assigned to any team, the node outputs an empty string rather than stopping the flow, so downstream nodes always receive a value.
Teams are a feature of the Avatar platform that let streamers group viewers into named categories — for example, regular subscribers, VIP supporters, or moderation volunteers. Use this node to personalize responses, unlock team-specific rewards, or branch a flow differently depending on who is interacting with the stream.
Inputs
| Name | Type | Description |
|---|---|---|
user | user or string | The user to look up. Accepts a full User object from a trigger or a plain username string. |
Outputs
| Name | Type | Description |
|---|---|---|
output | string | The name of the team the user belongs to, or an empty string if they are not in any team. |
Example
After a Channel Point Redeem trigger, pass the redeeming user into a Get User Team node. Connect the output to an If Check node comparing it against the string "VIP Squad". If it matches, the Pass path activates a special VIP-only overlay and a unique TTS voice. Everyone else goes down the Fail path to the standard redemption response.