ZapGate icon

ZapGate

Interaja com a API ZapGate — WhatsApp gateway self-hosted

Actions1511

Chat → Enviar Áudio

AI-generated

Summary

Sends an audio file to a WhatsApp number or group through the configured ZapGate instance. Choose a media source and provide the audio, recipient, and optionally a caption.

Inputs

  • Número (required) — Recipient phone number with country code, digits only (for example, 5511999999999), or a group JID.
  • Origem da Mídia (required) — Choose URL (default), Base64 / Texto, or Binário (campo do item).
  • URL da Mídia (required) — Audio URL when the media source is URL.
  • Base64 (required) — Audio as raw Base64 or a data URL when the media source is Base64 / Texto.
  • Campo Binário (required) — Name of the incoming n8n item’s binary property when the media source is Binário; defaults to data.
  • MIME Type — Optional MIME type for Base64 or binary input. Binary input’s MIME type is used when available; otherwise it defaults to application/octet-stream.
  • Nome do Arquivo — Optional filename for Base64 or binary input; binary input’s filename is used when available.
  • Legenda — Optional caption sent with the audio.

Output shape

One output item per input item, containing the ZapGate API response as JSON.

Uses the instance authentication credentials and sends a POST request to the configured instance’s send-audio endpoint. Media URL is placed in the request as url; Base64 and binary input are sent as base64, with MIME type and filename when available. With Continue On Fail enabled, failed items instead contain an error field.

Links

Discussion