twitch / trigger / schema v1
Goal Ended
Fires when a creator goal finishes. Reached or not
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 When ReachedachievedOnly | boolean Optional | Skip goals that ended without hitting their target |
Inputs and outputs
Inputs
No ports declared.
Outputs
on_event- On Goal Ended (output)goal_id- Goal ID (output)goal_type- Goal Type (follower / subscription…) (output)description- Description (output)is_achieved- Was Reached (output)current_amount- Final Amount (output)target_amount- Target (output)started_at- Started At (output)ended_at- Ended At (output)
Output data schema
[
{
"key": "goal_id",
"type": "string",
"description": "Goal ID",
"label": "Goal ID",
"bindingRole": "event_subject"
},
{
"key": "goal_type",
"type": "string",
"description": "Goal Type (follower / subscription…)",
"label": "Goal Type (follower / subscription…)"
},
{
"key": "description",
"type": "string",
"description": "Description",
"label": "Description"
},
{
"key": "is_achieved",
"type": "boolean",
"description": "Was Reached",
"label": "Was Reached"
},
{
"key": "current_amount",
"type": "number",
"description": "Final Amount",
"label": "Final Amount"
},
{
"key": "target_amount",
"type": "number",
"description": "Target",
"label": "Target"
},
{
"key": "started_at",
"type": "string",
"description": "Started At",
"label": "Started At"
},
{
"key": "ended_at",
"type": "string",
"description": "Ended At",
"label": "Ended 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
09373a2787a82b1653818cf1da63934329664a90cc4b0772fccd9a848d420fc9