Skip to main content

Edge Handle Reference

Every input and output handle has a type, and edges are colored by it. Two handles of the same color are compatible. Hovering a handle in the editor shows the same label and color listed here.

Primitive Types​

string Text: usernames, messages, URLs, IDs.
number Numbers: counts, costs, timestamps, durations.
bool True or false.

Special Types​

⚡ pulse A signal with no payload: "something happened". Triggers effect nodes that don't need an input value.
any Accepts any type of data. Prefer specific types so the editor can catch wiring mistakes.

Object Types​

Use an Extract node to pull individual fields out of an object.

User​

A Twitch user.

FieldTypeNotes
user_idstringTwitch user ID
user_loginstringUsername (lowercase)
user_namestringDisplay name
colorstring?Chat color (hex)
profile_image_urlstring?Profile image URL
typestring?"staff", "admin", "global_mod", or ""
broadcaster_typestring?"partner", "affiliate", or ""
note

Triggers only guarantee user_id, user_login and user_name. Other fields may be absent depending on the trigger.

Event​

A generic event envelope for flows that handle several event kinds on the same wire.

FieldTypeNotes
typestringEvent type identifier
timestampnumberWhen the event occurred (unix ms)
payloadobjectEvent-specific data
metadataobject?Metadata

Message​

A simplified chat message: text, fragments and badges.

FieldTypeNotes
textstringFull message text
fragmentsarrayText, emote, mention, and cheermote fragments
badgesarraySender's chat badges

Chat Message​

The full Twitch chat message: broadcaster and chatter info, message content, color, badges, cheer info and shared-chat source fields.

FieldTypeNotes
broadcaster_user_id / _login / _namestringChannel where the message landed
chatter_user_id / _login / _namestringWho sent it
message_idstringUnique message ID
message.textstringPlain text
message.fragmentsarrayParsed fragments (text / emote / mention / cheermote)
colorstringChatter's color (hex)
badgesarray{ set_id, id, info }[]
message_typestring"text", "channel_points_highlighted", "power_ups_message_effect", etc.
cheerobject | null{ bits } when the message includes Bits
channel_points_animation_idstring | null"simmer", "rainbow-eclipse", "cosmic-abyss"
channel_points_custom_reward_idstring | nullSet when this message redeemed a custom reward
source_broadcaster_user_*string | nullPopulated for shared-chat messages

Redeem​

A Channel Points custom reward. The core fields are always present. The optional settings are filled in when the reward is looked up from Twitch.

FieldTypeNotes
idstringTwitch custom-reward ID
titlestringReward title
costnumberPoint cost
promptstringDescription shown to viewers
is_enabledboolean?Settings (lookup only)
background_colorstring?Hex
is_pausedboolean?
is_user_input_requiredboolean?
max_per_stream_settingobject?{ is_enabled, max_per_stream }
max_per_user_per_stream_settingobject?{ is_enabled, max_per_user_per_stream }
global_cooldown_settingobject?{ is_enabled, global_cooldown_seconds }
should_redemptions_skip_request_queueboolean?

Power-up​

A custom Power-up: a Bits redemption configured in the Twitch dashboard. Community can read them but not create, edit or delete them, and there is no redemption queue, so unlike Redeem there is no fulfill or cancel.

FieldTypeNotes
idstringTwitch power-up ID
titlestringPower-up title
bitsnumberCost in Bits
promptstringDescription shown to viewers
redemptionIdstring?Set only on trigger payloads; absent on the data node
is_enabledboolean?Settings (data node only)
is_pausedboolean?
is_in_stockboolean?
is_user_input_requiredboolean?
background_colorstring?Hex
max_per_stream_settingobject?{ is_enabled, max_per_stream }
max_per_user_per_stream_settingobject?{ is_enabled, max_per_user_per_stream }
global_cooldown_settingobject?{ is_enabled, global_cooldown_seconds }

Tally​

One entry of a List Tally output: how many times a value occurred in the source list.

FieldTypeNotes
valuestringThe tallied value (or field value). Always a string: numbers and booleans are stringified
countnumberHow many times it occurred

Alert Types​

Alert Builder nodes create these and Alert Activator nodes consume them.

SubAlert​

Subscription alert: { type: "sub", name, tier, months, message, voice?, extra?, assets, display_message?, tts_message? }.

GiftSub​

Gifted subscription alert: { type: "gift-subs", name | null, recipient | null, tier, quantity, assets, display_message? }. name is null when the gift is anonymous and recipient is null for bulk announcements.

Cheer​

Cheer alert: { type: "cheer", name | null, bits, message, voice?, extra?, assets, display_message?, tts_message? }.

Custom​

Custom alert: { type: "custom", name?, data: Record<string, unknown>, assets, display_message? }.

Chatbox Event Payload Types​

Each Twitch chatbox event emits its full payload as one typed object, so downstream check nodes and Select Event Variant can branch on it. Field names are camelCase.

Subscription​

New subscription (no message).

FieldTypeNotes
userIdnumber?Local user ID, when resolved
twitchUserIdstringTwitch user ID
usernamestring
tier1 | 2 | 3Mapped from Twitch's 1000/2000/3000
isGiftboolean

Resub​

Resubscription with a message.

FieldTypeNotes
userIdnumber?
twitchUserIdstring
usernamestring
messagestringUser-written resub message
tier1 | 2 | 3
cumulativeMonthsnumber
streakMonthsnumber

Gift Sub​

Gift sub batch (one or many subs at once).

FieldTypeNotes
gifterUserIdnumber?Absent when anonymous
gifterTwitchUserIdstring?Absent when anonymous
gifterUsernamestring"Anonymous" when isAnonymous is true
isAnonymousboolean
giftCountnumberNumber of subs in this batch
tier1 | 2 | 3
cumulativeTotalnumberLifetime gifts to this channel; 0 when anonymous

Raid​

Incoming raid.

FieldTypeNotes
raiderUserIdnumber?
raiderTwitchUserIdstring
raiderUsernamestring
viewerCountnumber

Follow​

New follower.

FieldTypeNotes
userIdnumber?
twitchUserIdstring
usernamestring

Channel Point Redeem​

A custom-reward redemption.

FieldTypeNotes
userIdnumber?
twitchUserIdstring
usernamestring
rewardIdstringTwitch reward UUID, used by redeem-id-equals checks
rewardTitlestring
rewardCostnumber
rewardPromptstring
userInputstringText the viewer typed; "" when the reward has no input

Dynamic Types​

Array Types​

Any Array<T> is shown as a lightened version of the inner type's color, labeled T[]. Arrays don't nest.

string[] Lightened blue: a list of strings.
number[] Lightened purple: a list of numbers.
User[] Lightened orange: a list of users.

Custom Types​

Your own object types, a name plus primitive fields (text, number, boolean or color), usable anywhere edges carry data. Each type gets its own Create and Break Apart nodes, and every variable store can hold single values or lists of them. See Custom Types.

A custom type gets its own color, the same on every handle that carries it, and is labeled with just its name. Lists of custom types use the lightened-array color.

Type Compatibility​

  • A handle connects to another handle of the same type.
  • Any output connects to an any input.
  • A pulse output connects to most inputs, where it acts as a trigger signal.
  • Array<T> connects to Array<T>. Arrays aren't unwrapped automatically.
  • A list input (the List nodes' and For Each's list handle) accepts any list type but never a single value. To use a list variable, wire the variable's node, not a Text node holding its name. When you open a flow, any saved connection that no longer matches is removed and the editor tells you how many.
  • A custom type connects only to the same custom type.

The editor blocks incompatible connections and shows an inline error.