# Poll

> Create a poll / voting question where users pick from predefined options.

Source: https://mockflow.com/developers/reference/item-types/poll

Send `"type": "poll"`.

Create a poll / voting question where users pick from predefined options. Use this for polls, surveys, opinion votes, multiple-choice questions, audience polls, feedback forms, or quick votes. For collecting AND upvoting open-ended ideas use render_upvoteideas; for a random picker use render_spinningwheel.

Also available as the MCP tool `render_poll`. The same payload works through either surface.

### Fields

- `question` (string, required): The poll question (e.g., "What is your favorite programming language?")
- `options` (string[], required): Array of 3-6 distinct, non-empty string options to vote on
- `optionImages` (string[]): OPTIONAL, index-aligned with options. When this render includes images, each entry is "mfimg::" followed by a description of that option's picture (no text, letters or numbers in it); otherwise a real image URL. Omit for a text poll.

## Example

```json
{
  "type": "poll",
  "data": {
    "question": "string",
    "options": [
      "string"
    ],
    "optionImages": [
      "string"
    ]
  }
}
```
