Actions64
- Instance Actions
- Message Actions
- Group Actions
- Chat Actions
- Profile Actions
- Event Actions
- Integration Actions
Overview
The node "Evolution API" allows users to interact with the Evolution API service. Specifically, for the Resource "Message" and Operation "Send Audio," it enables sending an audio message to a specified recipient via the Evolution API. This is useful in scenarios where automated audio notifications, voice messages, or alerts need to be sent programmatically to users or clients.
Practical examples include:
- Sending a voice alert to a customer when their order status changes.
- Delivering automated audio reminders or confirmations.
- Broadcasting audio announcements to multiple recipients.
Properties
Name | Meaning |
---|---|
Name Da Instância | The name of the instance that will send the audio message. |
Número Do Destinatário | The recipient's phone number or identifier to whom the audio message will be sent. |
Audio | The audio content to send, provided as a URL or base64 encoded string. |
Opções (Options) | Additional options for sending the message: |
- Delay | Number of milliseconds to wait before sending the audio message (default is 1200 ms). |
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 the send 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 to authorize requests.
- The node uses the base URL
https://doc.evolution-api.com/api-reference
for API calls.
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.
Error Messages:
"Operação não suportada."
indicates the selected operation is not supported by the node; ensure "Send Audio" is chosen under the "Message" resource.- API errors returned from the Evolution API will be passed through; check the API documentation for specific error codes and resolutions.
Links and References
- Evolution API Documentation (official API reference)
- n8n Documentation on Creating Custom Nodes