Actions22
- Chat Actions
- Contact Actions
- Handle Actions
- Message Actions
- Poll Actions
- Scheduled Message Actions
Poll → Vote
AI-generatedSummary
Casts your vote on a specific option of an existing iMessage poll through the Photon server, by posting to /api/v1/message/poll/vote.
Inputs
- Chat GUID (required) — Identifier of the chat containing the poll, e.g. iMessage;+;chat123456. A bare address or a 3-part GUID is also tried as iMessage;... and any;... variants. If the server returns not-found for one variant, the next is tried.
- Poll Message GUID (required) — GUID of the poll message, found in the output of Create Poll or Get Messages.
- Option Identifier (required) — UUID of the poll option to vote for, found in the poll message data.
Output shape
One output item per input item, containing the server's response (the data field if present, otherwise the full response body).
The exact response fields depend on the Photon server. Not-found errors on every chat GUID variant raise an API error. With Continue On Fail enabled, the item instead returns {error: message}.
Examples
Example 1: Automatically vote for an option in a group poll created earlier in the workflow.
Resource: Poll, Operation: Vote, Chat GUID: iMessage;+;chat123456, Poll Message GUID: from Create Poll output, Option Identifier: option UUID from the poll message data.