twitch / trigger / schema v1
Redemption Updated
Fires when a channel point redemption is fulfilled or refunded
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. |
Only WhenredemptionStatus | select Optional | Leave empty to trigger on both Options: Fulfilled (fulfilled), Refunded / cancelled (canceled) |
Inputs and outputs
Inputs
No ports declared.
Outputs
on_event- On Redemption Updated (output)redemption_id- Redemption ID (output)reward_id- Reward ID (output)reward_title- Reward Title (output)reward_cost- Reward Cost (output)user_id- User ID (output)username- Username (output)user_input- What They Typed (output)status- New Status (fulfilled / canceled) (output)redeemed_at- Redeemed At (output)
Output data schema
[
{
"key": "redemption_id",
"type": "string",
"description": "Redemption ID",
"label": "Redemption ID",
"bindingRole": "event_subject"
},
{
"key": "reward_id",
"type": "string",
"description": "Reward ID",
"label": "Reward ID",
"bindingRole": "selected_target"
},
{
"key": "reward_title",
"type": "string",
"description": "Reward Title",
"label": "Reward Title"
},
{
"key": "reward_cost",
"type": "number",
"description": "Reward Cost",
"label": "Reward Cost"
},
{
"key": "user_id",
"type": "string",
"description": "User ID",
"label": "User ID",
"bindingRole": "event_subject"
},
{
"key": "username",
"type": "string",
"description": "Username",
"label": "Username",
"bindingRole": "event_subject"
},
{
"key": "user_input",
"type": "string",
"description": "What They Typed",
"label": "What They Typed",
"optional": true
},
{
"key": "status",
"type": "string",
"description": "New Status (fulfilled / canceled)",
"label": "New Status (fulfilled / canceled)"
},
{
"key": "redeemed_at",
"type": "string",
"description": "Redeemed At",
"label": "Redeemed At"
}
]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
47cd75852ba5f883d22a702d10018722639c053706ad1e62017df5fd636780eb