WAHA icon

WAHA

Connect with Whatsapp HTTP API

Overview

This node operation sends a voice message in a chat session. It is useful for automating the sending of voice notes or audio messages in messaging applications, such as sending a voice update, voice instructions, or audio alerts to a specific chat ID within a session.

Use Case Examples

  1. Sending a voice message to a customer support chat to provide audio instructions.
  2. Automating voice notifications in a group chat for event reminders.

Properties

Name Meaning
Session The session identifier for the chat session where the voice message will be sent.
Chat Id The identifier of the chat to which the voice message will be sent.
File The audio file to be sent as a voice message, including its MIME type and URL.
Reply To Optional message ID to which this voice message is a reply.
Request Options Additional options for the request such as batching, SSL certificate validation, proxy settings, and timeout configuration.

Output

JSON

  • sentMessageId - The ID of the sent voice message.
  • status - The status of the send operation, e.g., success or failure.
  • chatId - The chat ID where the voice message was sent.

Dependencies

  • Requires an API key credential or session authentication to connect to the messaging service.

Troubleshooting

  • Ensure the session and chat ID are valid and active to avoid message sending failures.
  • Check the file URL and MIME type to confirm the audio file is accessible and supported.
  • If SSL errors occur, consider enabling the 'Ignore SSL Issues' option or verify the SSL certificate.
  • Proxy settings must be correctly configured if used, including authentication details if required.
  • Timeout errors may occur if the server is slow or unresponsive; increase the timeout setting if needed.

Discussion