Roadie

Hype train ended event

Automation · 3 min read ·

A hype train finished. Learn its setup, options and use in Roadie Automation.

Hype train ended (twitch.hype_train_end) — A hype train finished.

Source: twitch. Selection: Events picker.

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.

  • {level} — Level; number; required; The level it ended on; sample: 3.
  • {total} — Total; number; required; Points the whole train raised; sample: 4200.
  • {record} — Record; number; optional; The channel’s best level before this train; sample: 6.
  • {beaten} — Record beaten; flag; required; It went past the channel’s best level; sample: false.
  • {type} — Type; choice; required; Regular, Golden Kappa or Treasure; choices: Regular, Golden Kappa, Treasure; sample: Regular.
  • {shared} — Shared; flag; required; A train shared with other channels; sample: false.
  • {twitch.level} — Level; number; required; Twitch’s level for the train; sample: 3.
  • {twitch.total} — Total; number; required; Points the whole train has raised; sample: 4200.
  • {twitch.type} — Train type; choice; optional; Twitch’s word for the kind: regular, golden_kappa or treasure; choices: regular, golden_kappa, treasure.
  • {twitch.is_shared_train} — Shared train; flag; required; A train shared with other channels; sample: false.
  • {twitch.top_contributions} — Top contributions; text; optional; The top contributors, one per line: name, bits or subscription, and the points.
  • {twitch.top_contributions.count} — Top contributions: how many; number; optional; How many top contributors Twitch listed.
  • {twitch.id} — Train id; text; optional; Twitch’s id for this train.
  • {twitch.started_at} — Started at; text; optional; When the train started, as Twitch’s time.
  • {twitch.ended_at} — Ended at; text; optional; When the train ended, as Twitch’s time.
  • {twitch.cooldown_ends_at} — Cooldown ends at; text; optional; When the next train can start.
  • {roadie.hype_train.beaten} — Record beaten; flag; required; It went past the channel’s best level; 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.

  • {level} — Level.
  • {total} — Total.
  • {record} — Record.
  • {beaten} — Record beaten.
  • {type} — Type.
  • {shared} — Shared.
  • {twitch.level} — Level.
  • {twitch.total} — Total.
  • {twitch.type} — Train type.
  • {twitch.is_shared_train} — Shared train.
  • {twitch.top_contributions} — Top contributions.
  • {twitch.top_contributions.count} — Top contributions: how many.
  • {twitch.id} — Train id.
  • {twitch.started_at} — Started at.
  • {twitch.ended_at} — Ended at.
  • {twitch.cooldown_ends_at} — Cooldown ends at.
  • {roadie.hype_train.beaten} — Record beaten.

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