Live audience voting: buttons to vote, bar chart results, optional Google Sheets backend
| Field | Type | |
|---|---|---|
| question | string | required |
| options | array of strings (vote choices) | required |
| sheet_url | string (optional, Google Sheet CSV for live tallies) | optional |
| write_url | string (optional, GAS doGet URL to record votes) | optional |
| poll | number (optional, poll interval ms, default 5000) | optional |
| accent | string (optional, hex) | optional |
{
"type": "live_vote",
"question": "Which option do you prefer?",
"options": [
{
"label": "Option A",
"value": "a"
},
{
"label": "Option B",
"value": "b"
},
{
"label": "Option C",
"value": "c"
}
]
}
{
"identifier": "urn:air:a2uicatalog.ai:atom:live_vote",
"displayName": "Live Vote",
"type": "application/vnd.a2ui.atom+json",
"url": "https://a2uicatalog.ai/atoms/live_vote",
"capabilities": [
"apps-script-web"
],
"description": "Live audience voting: buttons to vote, bar chart results, optional Google Sheets backend",
"representativeQueries": [
"show a live audience voting with real-time bar chart results",
"live audience voting: buttons to vote, bar chart results, optional google sheets backend",
"render a live vote"
]
}
The renderer is open source. Deploy your own instance in 4 commands — you own the URL, no dependency on the demo endpoint.
git clone https://github.com/a2uicatalog/a2ui
cd apps-script-surface/gas-schema-renderer
clasp push && clasp deploy
Full deploy guide →