ZapGate icon

ZapGate

Interaja com a API ZapGate — WhatsApp gateway self-hosted

Actions1511

Chat → Enviar Mídia

AI-generated

Summary

Send image, audio, video, document, or sticker media to a WhatsApp number or group through the configured ZapGate instance. Choose the media source (URL, Base64, or an incoming binary field), set the media type, and optionally add a caption.

Inputs

  • To (Número) (required) — Recipient phone number with country code, digits only, or a group JID.
  • Type (Tipo) — Media type: image (default), audio, video, document, or sticker.
  • Caption (Legenda) — Optional media caption.
  • Media source (Origem da Mídia) — Choose URL (default), Base64 / text, or a binary field from the incoming n8n item.
  • Media value (required) — For URL, provide the media URL. For Base64, provide raw Base64 or a data URL. For binary, specify the incoming item's binary field name (defaults to data).
  • MIME type — For Base64 or binary input, optionally provide a MIME type; otherwise the data URL or incoming binary metadata is used, falling back to application/octet-stream.
  • File name — For Base64 or binary input, optionally provide a file name; binary metadata is used when available, otherwise it defaults to file.

Output shape

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

Sends one media message for each input item. Requires ZapGate credentials with an Instance ID and an Admin API Key or Instance Token. With Continue On Fail enabled, failed items return json.error.

Links

Discussion