Skip to main content

Prediction Progressed

  • Alert key: twitch-predictionProgressed
  • Source: Twitch
  • Event list label: Prediction progressed

Default message template

Prediction {{prediction_title}} progressed. The current leader is {{prediction_winning_outcome_title}} with {{prediction_winning_outcome_points}} points

Template variables

Use any of these in alert text, TTS, or chat templates. The same names appear under data.extraSettings.* when you subscribe via Overlay.on('alert').

Template variableOverlay payload fieldDescription
{{prediction_title}}data.extraSettings.prediction_titlePrediction title
{{prediction_id}}data.extraSettings.prediction_idPrediction id
{{prediction_possible_outcomes}}data.extraSettings.prediction_possible_outcomesPrediction possible outcomes
{{prediction_winning_outcome_title}}data.extraSettings.prediction_winning_outcome_titlePrediction winning outcome title
{{prediction_winning_outcome_points}}data.extraSettings.prediction_winning_outcome_pointsPrediction winning outcome points
{{prediction_winning_outcome_color}}data.extraSettings.prediction_winning_outcome_colorPrediction winning outcome color
{{prediction_outcome1_title}}data.extraSettings.prediction_outcome1_titlePrediction outcome1 title
{{prediction_outcome1_points}}data.extraSettings.prediction_outcome1_pointsPrediction outcome1 points
{{prediction_outcome1_color}}data.extraSettings.prediction_outcome1_colorPrediction outcome1 color
{{prediction_outcome2_title}}data.extraSettings.prediction_outcome2_titlePrediction outcome2 title
{{prediction_outcome2_points}}data.extraSettings.prediction_outcome2_pointsPrediction outcome2 points
{{prediction_outcome2_color}}data.extraSettings.prediction_outcome2_colorPrediction outcome2 color
{{prediction_started_at}}data.extraSettings.prediction_started_atTime prediction started at
{{prediction_ends_at}}data.extraSettings.prediction_ends_atTime prediction ends at

Example payloads

Each scenario below mirrors what Lumia emits in Overlay.on('alert', (data) => …).

Prediction Yes/No

{
"alert": "twitch-predictionProgressed",
"dynamic": {
"value": "Will Lumia Stream be my only app for stream"
},
"extraSettings": {
"poll_title": "Is Lumia Stream the best",
"prediction_outcomes": "Yes,No",
"prediction_outcome1_title": "Yes",
"prediction_outcome1_points": 0,
"prediction_outcome1_color": "#ff00ff",
"prediction_outcome2_title": "No",
"prediction_outcome2_points": 0,
"prediction_outcome2_color": "#0000ff",
"prediction_title": "",
"prediction_id": "",
"prediction_possible_outcomes": "",
"prediction_winning_outcome_title": "",
"prediction_winning_outcome_points": "",
"prediction_winning_outcome_color": "",
"prediction_started_at": "",
"prediction_ends_at": ""
}
}

Variation conditions

Dimensions you can branch on when configuring alert variations:

  • RANDOM
  • EQUAL_STRING - Title is equal to
  • EQUAL_VARIABLE