WAREST icon

WAREST

Interact with the WARest WhatsApp REST API

Overview

This node operation sends an audio message via the WARest WhatsApp REST API. It supports sending audio either as a URL/path/base64 data URI or as binary data from a specified binary property. Users can send the audio as a regular audio message or as a voice note. Additional options include sending typing/recording indicators before sending, replying to a specific message, and marking the message as forwarded. This node is useful for automating audio message delivery in WhatsApp workflows, such as sending voice notes or audio clips to contacts or groups.

Use Case Examples

  1. Sending an audio file from a URL to a WhatsApp contact.
  2. Sending a voice note using binary audio data from a previous node.
  3. Replying to a specific message with an audio clip and showing a typing indicator before sending.

Properties

Name Meaning
Session The WhatsApp session to use for sending the audio message. Can be selected from a list or entered manually as a session ID.
Recipient / Chat (to) The phone number or JID of the recipient or chat to send the audio message to. Can be a comma-separated list.
Binary File Toggle to enable sending audio from a binary property instead of a URL or path.
Audio The audio file to send, specified as a URL, local path, or base64 data URI. Required if Binary File is false.
Audio Binary Property The name of the binary property containing the audio data when Binary File is true.
Send as Voice Note Option to send the audio as a voice note instead of a regular audio message.
Additional Fields Optional additional settings such as sending typing/recording indicators before sending, replying to a specific message ID, and marking the message as forwarded.

Output

JSON

  • json - The JSON response from the WARest API containing details about the sent audio message.

Dependencies

  • WARest WhatsApp REST API

Troubleshooting

  • Ensure the session ID is valid and active; otherwise, the API call will fail.
  • If using binary mode, verify the binary property name is correct and contains valid audio data.
  • The recipient field must be a valid phone number or JID; invalid formats will cause errors.
  • If sending as a voice note, ensure the audio format is supported by WhatsApp voice notes.

Links

Discussion