Evolution API icon

Evolution API

Interact with Evolution API

Overview

This node interacts with the Evolution API to perform various operations related to messaging. Specifically, for the "Mensagem" resource and the "Reagir Mensagem" 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 engagement in chat conversations.

Practical examples include:

  • Automatically reacting with a thumbs-up emoji when a message meets certain criteria.
  • Sending custom emoji reactions based on message content or external triggers.

Properties

Name Meaning
Nome Da Instância The name of the instance to connect to the Evolution API.
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 others.
Emoji Da Reação 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 indicated.

Dependencies

  • Requires an API key credential for authenticating with the Evolution API.
  • The node expects the Evolution API to be accessible and properly configured.
  • No additional environment variables are explicitly required beyond the API authentication.

Troubleshooting

  • Common Issues:

    • Invalid or missing instance name, chat number, or message ID can cause failures.
    • Using an unsupported emoji or incorrect format may lead to errors.
    • Network or authentication issues with the Evolution API can prevent successful reactions.
  • 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 credentials and network connectivity.
  • Resolutions:

    • Double-check all input parameters for correctness.
    • Ensure the API key credential is valid and has necessary permissions.
    • Confirm the Evolution API endpoint is reachable from n8n.

Links and References

  • Evolution API official documentation (not provided here; consult your API provider)
  • n8n documentation on creating and using custom nodes: https://docs.n8n.io/creating-nodes/

Discussion