Get Active Prediction

Check if a prediction is currently active and unlocked

Variables

The following variables will be populated after executing this sub-action:

Description
activebool

Indicator whether an active prediction is running (and not locked yet)

Example: true
prediction.CreatedAtDateTime

The timestamp that the prediction was created

Example: 8/4/2023 10:56:06 AM
prediction.Idstring

Twitch's internal id for the prediction

prediction.PredictionWindownumber

The duration of the prediction

Example: 300
prediction.Titlestring

The title of the prediction

Example: My prediction title
prediction.outcome#.colorstring

In capital letters the color name for this outcome

Example: BLUE
prediction.outcome#.idstring

The id for this outcome

prediction.outcome#.pointsnumber

The amount of channel points used for this outcome

Example: 1200
prediction.outcome#.titlestring

The title for this outcome

Example: Outcome 1
prediction.outcome#.usersnumber

How many users voted for this outcome

Example: 20