ZapGate icon

ZapGate

Interaja com a API ZapGate — WhatsApp gateway self-hosted

Actions1511

Chat → Enviar Mídia no Canal

AI-generated

Summary

Sends an image or video with an optional caption to a WhatsApp channel (newsletter) through the configured ZapGate instance. Choose the channel JID and provide media by URL, base64 data, or an incoming binary item.

Inputs

  • JID do canal (required) — Channel JID identifying where to send the media.
  • Tipo — Media type: image (default) or video.
  • Legenda — Optional caption.
  • Origem da Mídia (required) — Select URL, Base64 / Texto, or Binário (campo do item).
  • URL da Mídia — Required when the media source is URL.
  • Base64 — Required for the Base64 source; accepts raw base64 or a base64 data URL.
  • Campo Binário — For the binary source, names the incoming item's binary property; defaults to data.
  • MIME Type — Optional MIME type for base64 or binary media; binary metadata is used when available.
  • Nome do Arquivo — Optional filename for base64 or binary media; binary metadata is used when available.

Output shape

A single JSON response item for each input item.

The node sends a POST request to the channel media endpoint using the configured ZapGate credentials. Successful response JSON is returned as the item's JSON; a non-object response is wrapped as {"result":"..."}. With Continue On Fail enabled, an item-level {"error":"..."} is returned for failures.

Links

Discussion