ZapGate icon

ZapGate

Interaja com a API ZapGate — WhatsApp gateway self-hosted

Actions1511

Perfil → Enviar Documento

AI-generated

Summary

Sends a document to a WhatsApp number or group through the ZapGate instance. Choose a media source and provide the document URL, Base64 data, or an incoming binary field; an optional caption is included with the request.

Inputs

  • Número (required) — Recipient phone number with country code, digits only, or a group JID.
  • Origem da Mídia (required) — Choose URL, Base64 / Texto, or Binário (campo do item).
  • URL da Mídia (required) — Document URL, shown when the media source is URL.
  • Base64 (required) — Raw Base64 or a Base64 data URL, shown when the media source is Base64 / Texto.
  • Campo Binário (required) — Name of the incoming n8n binary field; defaults to data.
  • MIME Type — Optional MIME type for Base64 or binary input. Binary input uses the binary item's MIME type when available.
  • Nome do Arquivo — Optional filename for Base64 or binary input; binary input uses the binary item's filename when available.
  • Legenda — Optional document caption.

Output shape

A single JSON response object per input item, paired with its input item.

Posts to the instance's send-document endpoint using instance authentication. The request includes the recipient, document media, optional MIME type and filename, and caption when provided. The response object is returned as JSON; primitive responses are wrapped in a result field. Errors stop execution unless Continue On Fail is enabled, in which case an error field is returned for that item.

Links

Discussion