Evolution API Direct icon

Evolution API Direct

Interact with Evolution API using direct URL and API Key

Overview

The node "Evolution API Direct" allows users to interact with the Evolution API by sending direct HTTP requests using a specified server URL and API key. Specifically, for the resource "Mensagem" and operation "Reagir Mensagem" (React to Message), it enables adding an emoji reaction to a particular message in a chat. This is useful in scenarios where you want to automate or programmatically add reactions to messages within a chat system integrated with the Evolution API.

Practical examples include:

  • Automatically reacting with a thumbs-up emoji when a message contains certain keywords.
  • Adding custom emoji reactions as part of workflow automation to acknowledge messages.
  • Integrating chat reactions into broader business processes or notifications.

Properties

Name Meaning
Server URL The full URL of your Evolution API server endpoint (e.g., https://api.exemplo.com).
API Key The API key credential used to authenticate requests to the Evolution API instance.
Nome Da Instância The name of the specific Evolution API instance you are targeting.
Número Do Chat The chat number (identifier) where the target message is located.
ID Da Mensagem The unique identifier of the message that will receive the reaction.
Mensagem Própria Boolean indicating whether the message is your own message (true) or from someone else.
Emoji Da Reação The emoji character to use as the reaction (default is 👍).

Output

The node outputs a JSON array containing the response from the Evolution API after attempting to add the reaction. The exact structure depends on the API's response but typically includes confirmation of the reaction being added or error details if the operation failed.

No binary data output is expected from this operation.

Dependencies

  • Requires access to the Evolution API via a valid server URL.
  • Requires an API key credential for authentication.
  • Proper configuration of the instance name, chat number, and message ID to correctly identify the target message.
  • Network connectivity to the Evolution API endpoint.

Troubleshooting

  • Common issues:

    • Incorrect or missing API key leading to authentication failures.
    • Invalid server URL causing connection errors.
    • Wrong instance name, chat number, or message ID resulting in the inability to find the target message.
    • Using an unsupported emoji character may cause the API to reject the reaction.
  • Error messages:

    • "Operação não suportada." indicates the requested operation is not supported for the selected resource; verify the resource and operation names.
    • Authentication errors usually indicate invalid or expired API keys; ensure the API key is correct and has necessary permissions.
    • Network errors suggest connectivity problems; check the server URL and network status.

Links and References

Discussion