Evolution API icon

Evolution API

Interact with Evolution API

Overview

The node "Evolution API" allows interaction with the Evolution API service, specifically supporting various resources and operations. For the provided resource "Mensagem" and operation "Enviar Audio," this node sends an audio message to a specified recipient via the Evolution API. This is useful in scenarios where automated audio notifications, voice messages, or audio alerts need to be sent programmatically, such as customer support callbacks, appointment reminders, or marketing campaigns.

Properties

Name Meaning
Nome Da Instância The name of the instance that will send the audio message.
Número Do Destinatário The phone number or identifier of the recipient who will receive the audio message.
Audio The audio content to send, provided as a URL or base64-encoded string.
Opções (Delay) Optional delay in milliseconds before the message is sent; default is 1200 ms (1.2 seconds).

Output

The node outputs a JSON array containing the response from the Evolution API after attempting to send the audio message. The exact structure depends on the API response but typically includes confirmation details such as message ID, status, timestamps, or error information if sending failed.

No binary data output is indicated for this operation.

Dependencies

  • Requires an active connection to the Evolution API service.
  • Needs an API authentication token or key configured in n8n credentials (referred generically as "an API key credential").
  • Network access to the Evolution API endpoint (https://doc.evolution-api.com/api-reference).

Troubleshooting

  • Common Issues:

    • Invalid or missing instance name or recipient number may cause the API to reject the request.
    • Incorrect audio format or invalid URL/base64 string can lead to message sending failure.
    • Network connectivity issues or incorrect API credentials will prevent successful communication with the Evolution API.
  • Error Messages:

    • "Operação não suportada." indicates the selected operation is not supported for the chosen resource; verify correct resource-operation selection.
    • API errors returned by the Evolution API will be passed through; check the API documentation for specific error codes and resolutions.
  • Resolutions:

    • Ensure all required fields are correctly filled.
    • Validate audio input format and accessibility.
    • Confirm API credentials and network connectivity.
    • Use the node's test button to verify basic functionality before running workflows.

Links and References

Discussion