twitch / trigger / schema v1
Gift Subscription
Fires when a subscription is gifted
Prerequisites
- Add the twitch plugin inside this workflow.
- Connect and authorize a twitch account before running this node.
Parameters
| Parameter | Type | Description |
|---|---|---|
Channelchannel | twitch_self Required | Triggers only on your connected Twitch channel. |
Minimum GiftsminimumGifts | number Optional | Only trigger for gift batches of at least this size |
Inputs and outputs
Inputs
No ports declared.
Outputs
on_event- On Gift Subscription (output)gifter_id- Gifter User ID (output)gifter_username- Gifter Username (output)tier- Subscription Tier (output)total_gifted- Subs Gifted in This Batch (output)
Output data schema
[
{
"key": "gifter_id",
"type": "string",
"description": "Gifter User ID",
"label": "Gifter User ID",
"bindingRole": "actor"
},
{
"key": "gifter_username",
"type": "string",
"description": "Gifter Username",
"label": "Gifter Username",
"bindingRole": "actor"
},
{
"key": "tier",
"type": "string",
"description": "Subscription Tier",
"label": "Subscription Tier"
},
{
"key": "total_gifted",
"type": "number",
"description": "Subs Gifted in This Batch",
"label": "Subs Gifted in This Batch",
"optional": true
}
]Examples and troubleshooting have not yet been reviewed for this contract.
Version and compatibility
This reference follows the current authoring contract. Existing workflows retain their saved node revisions.
Contract identifier
493c4747a8302c5fa04c273645ce4d8d000db5f968c3757d2be8cd2c4b83dc07