Bailey (WhatsApp) icon

Bailey (WhatsApp)

Interact with WhatsApp via Baileys WebSocket API

Actions122

Message → Send Audio

AI-generated

Summary

Send an audio file to a WhatsApp contact or group using a URL or an incoming binary property. Optionally mark it as a push-to-talk voice note and provide its MIME type.

Inputs

  • Recipient JID (required) — WhatsApp JID for the recipient, such as a contact JID ending in @s.whatsapp.net or a group JID ending in @g.us.
  • Media URL or Binary Property (required) — An HTTP or HTTPS URL for the audio, or the name of the incoming binary property containing it.
  • MIME Type — Optional MIME type passed with the audio, such as audio/ogg.
  • Push to Talk (Voice Note) — When enabled, sends the audio as a push-to-talk voice note. Defaults to false.

Output shape

A single n8n item whose JSON contains the WhatsApp sendMessage result.

If the sendMessage result is null or undefined, the JSON body is an empty object. The audio is sent as a message to the specified JID.

Links

Discussion