twitch / trigger / schema v1
Poll Ended
Fires when a poll closes, with the final vote counts
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. |
Inputs and outputs
Inputs
No ports declared.
Outputs
on_event- On Poll Ended (output)poll_id- Poll ID (output)title- Question (output)status- Status (completed / terminated / archived) (output)choices- Choices With Vote Counts (output)started_at- Started At (output)ended_at- Ended At (output)
Output data schema
[
{
"key": "poll_id",
"type": "string",
"description": "Poll ID",
"label": "Poll ID",
"bindingRole": "event_subject"
},
{
"key": "title",
"type": "string",
"description": "Question",
"label": "Question"
},
{
"key": "status",
"type": "string",
"description": "Status (completed / terminated / archived)",
"label": "Status (completed / terminated / archived)"
},
{
"key": "choices",
"type": "array",
"description": "Choices With Vote Counts",
"label": "Choices With Vote Counts",
"items": {
"key": "item",
"type": "any",
"optional": true
}
},
{
"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
fac08c35d6f70fc48888ce8e70d6b2012ba579113100fd7973846e91ad42aaf7