Skip to Content

Triggers

Triggers define when an action fires. Every action needs at least one trigger, and you can attach multiple triggers to the same action.

Trigger Events

Nexmod supports 15 trigger events covering chat, channel events, stream state, and external sources.

Chat

EventDescriptionConfiguration
Chat MessageFires when a message is sent in chat. Optionally filter by a message pattern.messagePattern — glob-style pattern (e.g., !hello *)

Channel Events

EventDescriptionConfiguration
FollowA new viewer follows the channel.
SubscriptionA viewer subscribes or resubscribes.tierFilter — Filter by tier: Any, Tier 1, Tier 2, or Tier 3
Cheer / BitsA viewer cheers with bits.minimumBits — Minimum bits to trigger (default: 1)
RaidAnother streamer raids your channel.minimumViewers — Minimum raid size to trigger (default: 1)
Channel Point RedemptionA viewer redeems a channel point reward.rewardName — The specific reward name to match

Moderation Events

EventDescriptionConfiguration
BanA user is banned from the channel.
TimeoutA user is timed out.

Stream State

EventDescriptionConfiguration
Stream OnlineThe stream goes live.
Stream OfflineThe stream ends.
Category ChangeThe stream category/game is changed.

Twitch Interactive

EventDescriptionConfiguration
Poll EndA Twitch poll finishes.
Prediction ResolveA Twitch prediction is resolved.

Timers & External

EventDescriptionConfiguration
Timer TickFires on a recurring schedule from a configured timer.timerName — The timer to listen for
Custom WebhookFires when an external service sends data to a Nexmod webhook endpoint.webhookPath — The path for the inbound webhook

Trigger Types

Each trigger has a type that controls how it behaves in the dashboard UI:

TypeDescription
BasicA simple on/off trigger — fires whenever the event occurs.
ToggleActs as a toggle switch (on/off state).
RangeFires within a numeric range (e.g., bits between 100–500).
SelectFires for a selected option from a list (e.g., specific reward name).
TextFires based on text matching (e.g., message pattern).

Multiple Triggers

A single action can have multiple triggers. This is useful when you want the same automation to run for different events.

Example: A “Welcome Alert” action with two triggers:

  • Follow — Fire when someone follows
  • Subscription — Fire when someone subscribes

Both events run the same sub-actions (send a chat message, trigger an OBS scene change, etc.).

Event Data

When a trigger fires, it provides event context that sub-actions can reference. The data available depends on the event type:

Follow Event Data

FieldDescription
userNameThe follower’s username
userDisplayNameThe follower’s display name
userIdThe follower’s Twitch user ID

Subscription Event Data

FieldDescription
userNameThe subscriber’s username
userDisplayNameThe subscriber’s display name
userIdThe subscriber’s Twitch user ID
tierSubscription tier (1000, 2000, or 3000)
isGiftWhether the sub was gifted

Cheer Event Data

FieldDescription
userNameThe cheerer’s username
userDisplayNameThe cheerer’s display name
userIdThe cheerer’s Twitch user ID
bitsNumber of bits cheered
messageThe cheer message

Raid Event Data

FieldDescription
raidingBroadcasterNameThe raider’s username
raidingBroadcasterDisplayNameThe raider’s display name
viewersNumber of viewers in the raid

Stream Online / Offline Event Data

FieldDescription
broadcasterNameThe broadcaster’s username
broadcasterDisplayNameThe broadcaster’s display name

Use event data in your sub-action messages and templates. For example, a follow trigger can use the follower’s display name in a “Send Message” sub-action.

Last updated on