ZapGate icon

ZapGate

Interaja com a API ZapGate — WhatsApp gateway self-hosted

Actions1511

Grupos → Enviar Mídia no Canal

AI-generated

Summary

Sends an image or video with an optional caption to a WhatsApp channel through ZapGate. Choose a media source and provide the channel JID; the channel must be accessible to the configured instance.

Inputs

  • jid (required) — Channel JID.
  • type — Media type: image (default) or video.
  • caption — Caption to send with the media.
  • mediaSource — Media source: URL (default), Base64/text, or a binary field from the incoming item.
  • url — Media URL; required when mediaSource is URL.
  • base64 — Base64 data or a data URL; required when mediaSource is Base64/text.
  • binaryPropertyName — Incoming item’s binary property name; defaults to data and is required to resolve binary media.
  • mimetype — Optional MIME type for Base64 or binary media; Base64 data URLs and binary metadata can supply it.
  • filename — Optional filename for Base64 or binary media; binary metadata can supply it.

Output shape

A list of items, one per input item, each containing the ZapGate API response in json.

Requires ZapGate credentials with an instance ID and usable instance authentication. Errors stop execution unless Continue On Fail is enabled, in which case the item contains an error field.

Links

Discussion