Gift bomb event
Automation · 4 min read ·
Several subs gifted to the community at once — one event for the whole bomb.
Gift bomb (twitch.gift_bomb) — Several subs gifted to the community at once — one event for the whole bomb.
Source: twitch. Selection: Events picker. Before it can fire: Support log 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.
{user}— Gifter; person; optional; The gifter — missing when they gifted anonymously; sample: NachoAverage (@nachoaverage).{count}— How many; number; required; Subs in the bomb; sample:10.{tier}— Tier; choice; required; 1, 2, 3 or Prime; choices:1,2,3,Prime; sample:1.{anonymous}— Anonymous; flag; required; Whether the gifter hid their name; sample:false.{total}— Their gifts here; number; optional; Subs this gifter has given in this channel to date, counting this bomb; sample:25.{twitch.chatter_user_id}— Chatter id; text; optional; Twitch’s id for the chatter; sample:1001.{twitch.chatter_user_login}— Chatter login; text; optional; The login of the chatter, lower case; sample:nachoaverage.{twitch.chatter_user_name}— Chatter display name; text; optional; The display name of the chatter; sample:NachoAverage.{twitch.community_sub_gift.total}— How many; number; required; Subs in the bomb; sample:10.{twitch.community_sub_gift.sub_tier}— Sub tier code; choice; optional; Twitch’s tier code: 1000 is Tier 1, 2000 is Tier 2, 3000 is Tier 3; choices:1000,2000,3000.{twitch.chatter_is_anonymous}— Anonymous; flag; required; Whether the gifter hid their name; sample:false.{twitch.community_sub_gift.cumulative_total}— Their gifts here; number; optional; Subs this gifter has given in this channel to date; sample:25.{twitch.community_sub_gift.id}— Gift bomb id; text; optional; Twitch’s id for the bomb.{twitch.system_message}— Twitch’s line; text; optional; Twitch’s own sentence for the notice.{twitch.message_id}— Message id; text; optional; Twitch’s id for the chat line.{twitch.color}— Name color; text; optional; The chatter’s name color, as #RRGGBB. Empty when unset.{twitch.badges}— Badges; text; optional; The chatter’s badges as set/version, comma-separated: subscriber/12,moderator/1.
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}— Gifter.{user.login}— Gifter — their login, for links.{user.name}— Gifter — their display name.{user.id}— Gifter — their Twitch id.{user.avatar}— Gifter — their avatar picture, for a Discord card (picture address).{count}— How many.{tier}— Tier.{anonymous}— Anonymous.{total}— Their gifts here.{twitch.chatter_user_id}— Chatter id.{twitch.chatter_user_login}— Chatter login.{twitch.chatter_user_name}— Chatter display name.{twitch.community_sub_gift.total}— How many.{twitch.community_sub_gift.sub_tier}— Sub tier code.{twitch.chatter_is_anonymous}— Anonymous.{twitch.community_sub_gift.cumulative_total}— Their gifts here.{twitch.community_sub_gift.id}— Gift bomb id.{twitch.system_message}— Twitch’s line.{twitch.message_id}— Message id.{twitch.color}— Name color.{twitch.badges}— Badges.
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.