Skip to main content

Data Types

Every edge carries a specific type of data.

Basic Types​

TypeDescriptionExample
stringText"Hello world", "StreamerName"
numberNumbers42, 3.14, 1000
booleanTrue or falsetrue, false
pulseA signal with no value: "something happened"(no value)
anyAccepts any type of data(varies)

Text Style​

One of your saved text styles, or a built-in one. The Text Style Data node outputs it, and the style inputs of Flow Alert, Flow Event and Widget Action take it. It connects to string inputs and outputs, and the other way round. Variables can be typed Text Style too: see Variables.

Object Types​

User​

A Twitch user.

FieldTypeDescription
user_idstringThe user's Twitch ID
user_loginstringThe user's login name (lowercase)
user_namestringThe user's display name
colorstringThe user's chat color
profile_image_urlstringURL to the user's profile image

Use the Extract node to pull individual fields out of a User.

Message​

A chat message.

FieldTypeDescription
textstringThe full message text
fragmentsarrayMessage fragments (text, emotes, cheermotes)
badgesarrayThe user's chat badges

Event​

A generic event payload.

FieldTypeDescription
typestringThe event type
timestampstringWhen the event occurred
payloadobjectEvent-specific data

Alert Types​

Used when building and activating stream alerts.

TypeDescription
SubAlertSubscription alert payload
GiftedSubAlertGifted subscription alert payload
CheerAlertCheer alert payload
CustomAlertCustom alert payload

Alert Builder nodes create alert objects and Alert Activator nodes consume them.

Easing Type​

Describes how an animation accelerates and decelerates, and how long it lasts.

FieldTypeDescription
easingstringThe easing curve identifier (e.g., easeInOutCubic, easeOutBounce)
durationnumberHow long the easing lasts
unitstringDuration unit: s (seconds) or ms (milliseconds)

The Easing Data node creates easing values for downstream nodes that control animation curves and transitions.

Array Types​

TypeDescription
Array<string>A list of text values
Array<number>A list of numbers
Array<User>A list of Twitch users

Type Compatibility​

  • An output connects to an input 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.

The editor blocks connections between incompatible types.