Start Commercial
Runs on: Backend — calls the Twitch Helix API to start a commercial.
The Start Commercial effect triggers an ad break on your channel. Twitch supports commercial lengths of 30, 60, 90, 120, 150, or 180 seconds. Connect any signal to the Activate input to trigger the node, and optionally provide a specific length via the Duration input. If nothing is wired to Duration, the inline number field controls the length (defaulting to 30 seconds).
This requires the channel:edit:commercial scope on your authorization. Only broadcasters or editors with the appropriate permission can start commercials.
Inputs
| Name | Type | Description |
|---|---|---|
activate | any | Any incoming signal that triggers the commercial to start. |
duration | number | Length of the commercial in seconds (30–180). Optional — uses the inline field value when not connected. |
Configuration
- Duration (inline): The fallback commercial length in seconds when the
Durationhandle is not wired. Accepts 30–180; the value is clamped to that range. Defaults to30.
Example
A chat command !ad is set up for your trusted moderators. When triggered, the command flow sends a signal to Start Commercial with a 60-second duration. The ad break kicks off immediately so you can step away or set up a scene without manually clicking in the Twitch dashboard.