Evolution API icon

Evolution API

Interact with Evolution API

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 (enquete) message to a specified recipient via an instance of the Evolution API.

Common scenarios where this node is beneficial include:

  • Conducting quick surveys or polls within messaging platforms.
  • Collecting feedback from users or customers through interactive messages.
  • Engaging audiences by sending multiple-choice questions directly to their chat.

For example, a marketing team could use this node to send a poll asking customers which product feature they prefer, collecting responses efficiently.

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 phone number or 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. This output typically includes details about the sent message such as status, message ID, or any error information returned by the API.

No binary data output is indicated for this operation.

Dependencies

  • Requires an API key credential for authenticating with the Evolution API.
  • The node expects the Evolution API base URL https://doc.evolution-api.com/api-reference configured internally.
  • Proper configuration of the instance name and recipient number is necessary for successful message delivery.

Troubleshooting

  • Operation Not Supported Error: If the selected operation is not supported, the node throws an error indicating the function is unsupported for the chosen resource. Ensure the correct resource and operation names are used.
  • Invalid Options Count: The poll must have between 2 and 12 unique options. Providing fewer or duplicate options may cause errors or unexpected behavior.
  • Authentication Failures: Missing or invalid API credentials will prevent the node from successfully sending the poll.
  • Incorrect Recipient Number: An improperly formatted or invalid recipient number can cause message delivery failures.

To resolve these issues, verify all input properties, ensure valid credentials are set up, and confirm the recipient's contact information is correct.

Links and References

Discussion