Evolution API icon

Evolution API

Interact with Evolution API

Overview

The node "Evolution API" provides an interface to interact with the Evolution API, allowing users to perform various operations on different resources. Specifically, for the resource Chat and operation Editar Mensagem (Edit Message), this node enables editing an existing chat message by updating its text content. This is useful in scenarios where a sent message needs correction or additional information without sending a new message.

Practical examples include:

  • Correcting typos or errors in previously sent messages.
  • Updating message content to reflect new information.
  • Modifying automated chatbot responses after initial delivery.

Properties

Name Meaning
Nome Da Instância The name of the instance to connect to the Evolution API.
Contato The contact number (remote JID) identifying the recipient or chat where the message is.
ID Da Mensagem The unique identifier of the message that will be edited.
Nova Mensagem The new text content that will replace the original message text.

Output

The node outputs a JSON array containing the result of the edit message operation. Each item in the output corresponds to the response from the Evolution API after attempting to update the specified message. The exact structure depends on the API's response but typically includes confirmation of success or details about the updated message.

No binary data output is indicated.

Dependencies

  • Requires an API key credential for authenticating with the Evolution API.
  • The node expects the Evolution API base URL and headers to be configured internally.
  • Proper configuration of the instance name and valid contact/message IDs are necessary for successful operation.

Troubleshooting

  • Common Issues:

    • Invalid or missing instance name can cause connection failures.
    • Incorrect contact number or message ID will result in failure to locate the message to edit.
    • Insufficient permissions or expired API credentials may lead to authorization errors.
  • Error Messages:

    • "Operação não suportada." indicates the requested operation is not supported for the selected resource.
    • API errors returned from the Evolution API should be checked for details such as invalid parameters or rate limits.
  • Resolutions:

    • Verify all required properties are correctly set.
    • Ensure the API key credential is valid and has necessary permissions.
    • Confirm the message ID exists and belongs to the specified contact.

Links and References

Discussion