Skip to main content

Build Sub Alert

The Build Sub Alert node constructs a subscription alert object by assembling individual input values into a single SubAlert object. Use this when you want to customize the data that appears in a subscription alert, such as modifying the message, adjusting the displayed month count, or pulling subscriber info from different sources.

After building the alert object, connect it to an Activate Sub Alert effect node to display it on your overlay.

Inputs

NameTypeDescription
UserstringThe display name of the subscriber
TierstringThe subscription tier (e.g., "1", "2", "3")
MonthsnumberThe number of months the viewer has been subscribed
MessagestringThe subscription message from the viewer

Outputs

NameTypeDescription
AlertSubAlertThe assembled subscription alert object, ready to be activated

Example

You want to create a resub alert that includes a custom congratulatory message based on how many months the viewer has been subscribed. Use the sub trigger to get the viewer's data, pass the months through a Generate Text node to build a message like "12 months strong!", and wire everything into the Build Sub Alert node. Connect the output to an Activate Sub Alert effect to display it.