Evolution API icon

Evolution API

Interact with Evolution API

Overview

This node interacts with the Evolution API to perform various operations. Specifically, for the "Mensaje" resource and the "Reaccionar Mensaje" operation, it allows users to send a reaction emoji to a specific message in a chat. This is useful in scenarios where you want to programmatically acknowledge or respond to messages with emojis, such as automating feedback or sentiment reactions in messaging platforms.

Practical examples include:

  • Automatically reacting with a thumbs-up emoji when a task completion message is received.
  • Sending custom emoji reactions based on message content or external triggers.

Properties

Name Meaning
Nombre De La Instancia The name of the instance to connect to the Evolution API.
Número Del Chat The chat number (identifier) where the target message is located.
ID Del Mensaje The unique identifier of the message that will receive the reaction.
Mensaje Propio Boolean indicating whether the message is your own message.
Emoji De La Reacción The emoji character used as the reaction (e.g., 👍).

Output

The node outputs a JSON array containing the result of the reaction operation. The exact structure depends on the Evolution API response but generally includes confirmation of the reaction being sent or error details if the operation failed.

No binary data output is involved in this operation.

Dependencies

  • Requires an active connection to the Evolution API via an API key credential configured in n8n.
  • The node expects the base URL https://doc.evolution-api.com/api-reference for API requests.
  • Proper permissions and valid identifiers (instance name, chat number, message ID) are necessary for successful execution.

Troubleshooting

  • Common Issues:

    • Invalid or missing instance name, chat number, or message ID can cause failures.
    • Incorrect or expired API credentials will prevent authentication.
    • Using unsupported emojis or invalid reaction formats may lead to errors.
  • Error Messages:

    • "Operação não suportada." indicates the requested operation is not supported by the node; verify the resource and operation names.
    • API errors returned from the Evolution API will be passed through; check the API documentation for error codes and meanings.
  • Resolutions:

    • Double-check all input parameters for correctness.
    • Ensure the API key credential is valid and has required permissions.
    • Use standard emoji characters for reactions.

Links and References

Discussion