Evolution API icon

Evolution API

Interact with Evolution API

Overview

This node integrates with the Evolution API to send images as messages. It is designed for scenarios where users want to programmatically send image content, such as marketing campaigns, customer support with visual aids, or automated notifications including pictures. For example, a business could use this node to send product images to customers or share event photos in group chats.

Properties

Name Meaning
Nombre De La Instancia The name of the instance that will send the message.
Número Del Destinatario The recipient's phone number or identifier to whom the image will be sent.
Imagen The image to send, provided as a URL or base64 string.
Leyenda Optional caption text to accompany the image.
Opciones Additional options for sending the message:
- Retraso Delay in milliseconds before the message is sent (default 1200 ms).
- Responder Mensaje Option to reply to a specific message by providing its ID.
- Menciones Settings to mention participants: either mention all group members or specify a comma-separated list of numbers to mention.

Output

The node outputs a JSON array containing the response from the Evolution API after attempting to send the image message. This typically includes confirmation details such as message IDs, status, and any metadata returned by the API. There is no indication that binary data is outputted by this node.

Dependencies

  • Requires an API key credential for authenticating with the Evolution API.
  • The node expects the Evolution API endpoint to be reachable at https://doc.evolution-api.com/api-reference.
  • Proper configuration of the API credentials within n8n is necessary for successful operation.

Troubleshooting

  • Common Issues:

    • Invalid or missing API credentials will cause authentication failures.
    • Incorrect recipient number format may result in message delivery errors.
    • Providing an invalid image URL or malformed base64 string can cause the API to reject the message.
    • Specifying a message ID to reply to that does not exist or is inaccessible may lead to errors.
  • Error Messages:

    • "Operação não suportada." indicates that the selected operation is not supported for the chosen resource; ensure "Enviar Imagem" is selected under "Mensaje".
    • Network or timeout errors suggest connectivity issues with the Evolution API endpoint.
  • Resolutions:

    • Verify API credentials and permissions.
    • Confirm recipient identifiers are correctly formatted.
    • Validate image URLs or base64 strings before sending.
    • Check that the message ID used for replies exists and belongs to the same chat context.

Links and References

Discussion