Skip to main content

Extract

The Extract node pulls a single field out of a complex object. Triggers often output structured data like User objects or Message objects that contain multiple pieces of information. Rather than passing the entire object around, you can use Extract to grab just the field you need, such as a username, message text, or subscriber tier.

Inputs

NameTypeDescription
ObjectUser, Message, Event, or anyThe object to extract a field from

Outputs

NameTypeDescription
ValueanyThe value of the extracted field

Configuration

  • Field: The name of the field to extract from the object (e.g., username, text, bits, tier).

Example

A chat message trigger outputs a User object containing the viewer's username, display name, subscriber status, and more. You only need the display name to include in a custom alert. Add an Extract node, set the Field to displayName, and connect the User object to the input. The output will be just the display name string, ready to use in a Generate Text or alert builder node.