Skip to main content

Poll Started

  • Alert key: lumiastream-pollStarted
  • Source: Lumia
  • Event list label: Poll start

Default message template

New poll started {{poll_title}} with choices {{poll_choices}}

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
{{poll_title}}data.extraSettings.poll_titlePoll title
{{poll_id}}data.extraSettings.poll_idPoll id
{{poll_choices}}data.extraSettings.poll_choicesPoll choices

Example payloads

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

Poll Yes/No

{
"alert": "lumiastream-pollStarted",
"dynamic": {
"value": "Is Lumia Stream the best"
},
"extraSettings": {
"poll_title": "Is Lumia Stream the best",
"poll_choices": "Yes,No",
"poll_id": ""
}
}

Variation conditions

Dimensions you can branch on when configuring alert variations:

  • RANDOM
  • EQUAL_STRING - Poll Title is equal to
  • EQUAL_VARIABLE