A Power-up is used event
Automation · 4 min read ·
A viewer spent bits on a Power-up: one of Twitch’s own (Gigantify an emote, On-screen celebration, Message effects) or the channel’s custom one.
A Power-up is used (twitch.power_up) — A viewer spent bits on a Power-up: one of Twitch’s own (Gigantify an emote, On-screen celebration, Message effects) or the channel’s custom one.
Source: twitch. Selection: Power-ups tab.
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.
{user}— Username; person; required; Their name and avatar; sample: NachoAverage (@nachoaverage).{powerup.name}— Power-up; text; required; Its name; sample:Gigantify an emote.{powerup.id}— Which Power-up; text; required; gigantify_an_emote, celebration, message_effect, or a custom Power-up’s id; sample:gigantify_an_emote.{bits}— Bits; number; required; What it cost in bits; sample:50.{message}— Their message; viewer_text; optional; The chat line it came with — read literally; sample:taco1Hype.{emote}— Emote; text; optional; The emote they made giant; sample:taco1Hype.{twitch.user_id}— Username id; text; required; Twitch’s id for the viewer who used it; sample:1001.{twitch.user_login}— Username login; text; required; The login of the viewer who used it, lower case; sample:nachoaverage.{twitch.user_name}— Username display name; text; required; The display name of the viewer who used it; sample:NachoAverage.{twitch.power_up.type}— Power-up type; text; optional; Twitch’s word for its own: gigantify_an_emote, celebration or message_effect. Empty for a custom one.{roadie.power_up.name}— Power-up; text; required; Its name; sample:Gigantify an emote.{twitch.bits}— Bits; number; required; What it cost in bits; sample:50.{twitch.message.text}— Message text; viewer_text; optional; The chat line it came with — read literally; sample:taco1Hype.{twitch.power_up.emote.name}— Emote; text; optional; The emote they made giant; sample:taco1Hype.{twitch.power_up.emote.id}— Emote id; text; optional; Twitch’s id for the emote.{twitch.power_up.message_effect_id}— Message effect id; text; optional; Twitch’s id for the message effect.{twitch.type}— Bits use type; text; optional; power_up for Twitch’s own, custom_power_up for the channel’s.{twitch.custom_power_up.reward_id}— Custom Power-up id; text; optional; Twitch’s id for the channel’s own Power-up. Empty for one of Twitch’s.
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.
{user}— Username.{user.login}— Username — their login, for links.{user.name}— Username — their display name.{user.id}— Username — their Twitch id.{user.avatar}— Username — their avatar picture, for a Discord card (picture address).{powerup.name}— Power-up.{powerup.id}— Which Power-up.{bits}— Bits.{message}— Their message.{emote}— Emote.{twitch.user_id}— Username id.{twitch.user_login}— Username login.{twitch.user_name}— Username display name.{twitch.power_up.type}— Power-up type.{roadie.power_up.name}— Power-up.{twitch.bits}— Bits.{twitch.message.text}— Message text.{twitch.power_up.emote.name}— Emote.{twitch.power_up.emote.id}— Emote id.{twitch.power_up.message_effect_id}— Message effect id.{twitch.type}— Bits use type.{twitch.custom_power_up.reward_id}— Custom Power-up id.
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.