ZapGate icon

ZapGate

Interaja com a API ZapGate — WhatsApp gateway self-hosted

Actions1511

Plataforma → Enviar Mídia no Canal

AI-generated

Summary

Sends an image or video to a ZapGate channel using the configured instance credentials. Choose the channel JID, media type, and media source; optionally add a caption.

Inputs

  • JID do canal (required) — Channel JID to receive the media.
  • Tipo — Media type: image (default) or video.
  • Legenda — Optional media caption.
  • Origem da Mídia — Choose URL, Base64 / Texto, or a binary field from the incoming item.
  • URL da Mídia — Required when the media source is URL.
  • Base64 — Required for the Base64 source; accepts raw Base64 or a data URL.
  • Campo Binário — For the binary source, the incoming item's binary property name; defaults to data.
  • MIME Type — Optional MIME type for Base64 or binary input. Binary metadata or a data URL MIME type can supply it; otherwise it defaults to application/octet-stream.
  • Nome do Arquivo — Optional filename for Base64 or binary input; defaults to file if omitted.

Output shape

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

The operation sends a POST request to the instance's channel media endpoint. The API response fields depend on ZapGate; primitive responses are wrapped in a result field. Errors stop execution unless Continue On Fail is enabled, in which case that item's output contains an error field.

Links

Discussion