Skip to main content

Random Clip

Runs on: Backend — queries the Twitch Helix API for channel clips.

The Random Clip node takes a Twitch channel login name and returns a randomly selected clip from that channel as a resolved clip object. You can optionally limit the selection to featured clips only, and cap the maximum duration so that very long clips are excluded from the pool.

The output is a fully resolved clip object — the same structure produced by the Resolve Clip node — ready to be passed directly into a Play Clip effect or broken apart with Extract nodes.

Inputs

NameTypeDescription
channelstringThe Twitch login name of the channel to pull clips from.

Outputs

NameTypeDescription
outputobjectA randomly selected clip object containing the video URL, title, broadcaster, duration, and thumbnail.

Configuration

  • Max Duration (seconds): Only clips shorter than or equal to this length are eligible for selection. Leave blank to include clips of any length.
  • Featured clips only: When checked, only clips that have been marked as featured on Twitch are included in the random pool.

Example

A !clip chat command flow feeds the broadcaster's login name into Random Clip with Featured clips only enabled and a 45-second max duration. The resulting clip object is passed to Play Clip, which displays the video on the overlay. Every !clip command surprises chat with a different highlight.