Actions64
- Chat Actions
- Perfil Actions
- Evento Actions
- Integração Actions
- Instancia Actions
- Mensagem Actions
- Grupo Actions
Overview
This node, named "Evolution API," allows users to interact with the Evolution API service. Specifically, for the resource "Mensagem" and operation "Enviar Enquete," it enables sending a poll message to a specified recipient via an instance of the Evolution API. This is useful in scenarios where you want to gather feedback or opinions from users through polls sent directly to their messaging platform.
Practical examples include:
- Sending customer satisfaction surveys.
- Conducting quick opinion polls within a user group.
- Collecting votes on event planning or decision-making.
Properties
| Name | Meaning |
|---|---|
| Nome Da Instância | The name of the instance that will send the poll. |
| Número Do Destinatário | The recipient's number (contact identifier) to whom the poll will be sent. |
| Titulo Da Enquete | The title or caption of the poll message. |
| Opções Da Enquete | The options available in the poll. Must be between 2 and 12 unique choices. |
Note: There is also a notice property reminding users that the poll must have at least 2 and at most 12 unique options.
Output
The node outputs a JSON array containing the response from the Evolution API after attempting to send the poll. The exact structure depends on the API response but typically includes confirmation details such as message status, IDs, or error information if the sending failed.
No binary data output is indicated.
Dependencies
- Requires an API key credential for authenticating with the Evolution API.
- The node expects the Evolution API service to be accessible and properly configured.
- No additional environment variables are explicitly required beyond the API authentication.
Troubleshooting
Common Issues:
- Providing fewer than 2 or more than 12 poll options will likely cause errors.
- Duplicate options in the poll may be rejected by the API.
- Incorrect or missing instance name or recipient number can lead to failure in sending the poll.
- Network or authentication issues with the Evolution API will prevent successful execution.
Error Messages:
"Operação não suportada."indicates that the selected operation-resource combination is not implemented.- API errors returned from the Evolution API will be passed through; check credentials and input parameters.
Resolutions:
- Ensure all required fields are filled correctly.
- Validate uniqueness and count of poll options.
- Verify API credentials and network connectivity.
- Confirm the instance name corresponds to a valid Evolution API instance.
Links and References
- Evolution API official documentation (not provided here; consult your API provider).
- n8n documentation on creating custom nodes and handling API integrations.