Actions64
- Instance Actions
- Message Actions
- Group Actions
- Profile Actions
- Event Actions
- Integration Actions
- Chat Actions
Overview
This node interacts with the Evolution API to send a poll message to a specified recipient. It is useful for scenarios where you want to conduct polls or surveys via messaging, such as gathering feedback or opinions from users. For example, a business can send a poll to customers to rate their service or preferences.
Use Case Examples
- Sending a poll with a title and multiple unique options to a recipient's phone number through a specified instance.
- Collecting user responses from a poll sent via the Evolution API messaging service.
Properties
| Name | Meaning |
|---|---|
| Instance Name | The name of the instance that will send the poll, required to identify the sending source. |
| Recipient Number | The phone number or identifier of the recipient who will receive the poll message. |
| Poll Title | The title or caption of the poll, which describes the purpose or question of the poll. |
| Poll Options | A collection of unique options for the poll, with a minimum of 2 and a maximum of 12 options, each option being a string. |
Output
JSON
pollId- Identifier of the sent poll message.status- Status of the poll sending operation (e.g., success or failure).recipient- The recipient number to whom the poll was sent.instanceName- The instance name used to send the poll.
Dependencies
- Requires an API key credential for the Evolution API to authenticate requests.
Troubleshooting
- Ensure that the instance name and recipient number are correctly specified and valid.
- Verify that the poll options are unique and between 2 to 12 in number; otherwise, the API may reject the request.
- Check API credentials and network connectivity if the poll sending fails with authentication or network errors.
- Common error messages include unsupported operation errors if the resource or operation parameters are incorrect, and validation errors if required fields are missing or options are not unique.
Links
- Evolution API Documentation - Official documentation for the Evolution API, including details on sending polls and other messaging operations.