Roadie

Song requested event

Automation · 5 min read ·

A song was requested — with !sr, the channel point reward, or added on the Music page. Not when an Automation step adds one.

Song requested (roadie.song_requested) — A song was requested — with !sr, the channel point reward, or added on the Music page. Not when an Automation step adds one.

Source: roadie. Selection: Events picker. Before it can fire: Music switched on.

Start a flow

Select this event in Automation where its selection flow is available, then add any conditions and actions. A real occurrence matching the event starts the flow. The Test panel can supply representative sample fields, but Run test applies every action for real. Use only harmless actions while learning the trigger, and inspect its recent run before enabling effectful steps.

Trigger fields

These are the typed fields declared for this event. An optional value may be absent in a particular run; confirm a real event before relying on it.

  • {requester} — Requested by; person; required; Who asked for it; sample: NachoAverage (@nachoaverage).
  • {song.title} — Song; text; required; The song’s title on Spotify; sample: Mr. Brightside.
  • {song.artist} — Artist; text; required; Every artist on it, joined with commas; sample: The Killers.
  • {song.album} — Album; text; required; The album it is from; sample: Hot Fuss.
  • {song.art} — Album art; image; optional; The album cover, as a picture address; sample: https://i.scdn.co/image/ab67616d0000b273ccdddd46119a4ff53eaf1f5d.
  • {song.genre} — Genre; text; optional; The artist’s genres on Spotify, like “indie rock, shoegaze”. Empty when Spotify lists none; sample: alternative rock, rock.
  • {song.length} — Length; text; required; How long it is, like 3:45; sample: 3:42.
  • {song.year} — Year; text; optional; The year its album came out; sample: 2004.
  • {song.link} — Spotify link; text; required; The song on Spotify — open.spotify.com/track/…; sample: https://open.spotify.com/track/003vvx7Niy0yvhvHt4a68B.
  • {song.source} — Requested from; choice; required; Chat (!sr), Channel points, or the Music page; choices: Chat, Channel points, Music page; sample: Chat.
  • {song.waiting} — Waiting for a mod; flag; required; On when a mod has to accept it before it plays; sample: false.
  • {roadie.song.requester.user_id} — Requested by (id); text; required; Who asked for it — their Twitch id; sample: 1001.
  • {roadie.song.requester.user_login} — Requested by (login); text; required; Who asked for it — their Twitch login; sample: nachoaverage.
  • {roadie.song.requester.user_name} — Requested by (display name); text; required; Who asked for it — their Twitch display name; sample: NachoAverage.
  • {spotify.track.name} — Song; text; required; The song’s title on Spotify; sample: Mr. Brightside.
  • {spotify.track.artists} — Artist; text; required; Every artist on it, joined with commas; sample: The Killers.
  • {spotify.track.album.name} — Album; text; required; The album it is from; sample: Hot Fuss.
  • {spotify.track.album.images.url} — Album art; image; optional; The album cover, as a picture address; sample: https://i.scdn.co/image/ab67616d0000b273ccdddd46119a4ff53eaf1f5d.
  • {spotify.artist.genres} — Genre; text; optional; The artist’s genres on Spotify, like “indie rock, shoegaze”. Empty when Spotify lists none; sample: alternative rock, rock.
  • {spotify.track.external_urls.spotify} — Spotify link; text; required; The song on Spotify — open.spotify.com/track/…; sample: https://open.spotify.com/track/003vvx7Niy0yvhvHt4a68B.
  • {spotify.track.id} — Spotify id; text; required; Spotify’s id for the track.
  • {spotify.track.uri} — Spotify URI; text; required; The track as spotify:track:….
  • {spotify.track.duration_ms} — Length in ms; number; required; How long it is, in milliseconds.
  • {spotify.track.album.release_date} — Release date; text; optional; When its album came out, as Spotify has it — 2004, or 2004-06-07.
  • {spotify.track.explicit} — Explicit; flag; optional; On when Spotify marks it explicit.
  • {spotify.track.popularity} — Popularity; number; optional; Spotify’s popularity score, 0 to 100.
  • {roadie.song.length} — Length; text; required; How long it is, like 3:45; sample: 3:42.
  • {roadie.song.year} — Year; text; optional; The year its album came out; sample: 2004.
  • {roadie.song.source} — Requested from; choice; required; Chat (!sr), Channel points, or the Music page; choices: Chat, Channel points, Music page; sample: Chat.
  • {roadie.song.waiting} — Waiting for a mod; flag; required; On when a mod has to accept it before it plays; sample: false.

Fill-ins offered for this trigger

This is the editor’s event-specific fill-in list for this trigger. Person fields also expose their login, display name, Twitch ID and avatar address. Shared channel fill-ins are available separately.

  • {requester} — Requested by.
  • {requester.login} — Requested by — their login, for links.
  • {requester.name} — Requested by — their display name.
  • {requester.id} — Requested by — their Twitch id.
  • {requester.avatar} — Requested by — their avatar picture, for a Discord card (picture address).
  • {song.title} — Song.
  • {song.artist} — Artist.
  • {song.album} — Album.
  • {song.art} — Album art — a picture, for a Discord card (picture address).
  • {song.genre} — Genre.
  • {song.length} — Length.
  • {song.year} — Year.
  • {song.link} — Spotify link.
  • {song.source} — Requested from.
  • {song.waiting} — Waiting for a mod.
  • {roadie.song.requester.user_id} — Requested by (id).
  • {roadie.song.requester.user_login} — Requested by (login).
  • {roadie.song.requester.user_name} — Requested by (display name).
  • {spotify.track.name} — Song.
  • {spotify.track.artists} — Artist.
  • {spotify.track.album.name} — Album.
  • {spotify.track.album.images.url} — Album art — a picture, for a Discord card.
  • {spotify.artist.genres} — Genre.
  • {spotify.track.external_urls.spotify} — Spotify link.
  • {spotify.track.id} — Spotify id.
  • {spotify.track.uri} — Spotify URI.
  • {spotify.track.duration_ms} — Length in ms.
  • {spotify.track.album.release_date} — Release date.
  • {spotify.track.explicit} — Explicit.
  • {spotify.track.popularity} — Popularity.
  • {roadie.song.length} — Length.
  • {roadie.song.year} — Year.
  • {roadie.song.source} — Requested from.
  • {roadie.song.waiting} — Waiting for a mod.

Check a run

Open the flow’s run log after a real event or a safe test. Check that the expected event fired and that its conditions matched. A connector or upstream service can prevent a real event from arriving even when a sample test succeeds.

Browse events · Use fill-ins