ZapGate icon

ZapGate

Interaja com a API ZapGate — WhatsApp gateway self-hosted

Actions1511

Mensagens → Alterar Foto do Grupo

AI-generated

Summary

Changes a WhatsApp group’s photo through the ZapGate API. Provide the group JID and an image by URL, Base64, or an incoming binary field; the node uses the configured ZapGate credentials for the instance.

Inputs

  • JID do grupo (required) — JID identifying the group whose photo to change.
  • Origem da Mídia (required) — Choose URL, Base64 / Text, or Binary (item field) as the image source.
  • URL da Mídia (required) — Image URL when the media source is URL.
  • Base64 (required) — Image Base64 data or a Base64 data URL when the media source is Base64 / Text.
  • Campo Binário (required) — Name of the incoming item’s binary property when the media source is Binary; defaults to data.
  • MIME Type — Optional MIME type for Base64 or binary input.
  • Nome do Arquivo — Optional filename for Base64 or binary input.

Output shape

One JSON response item per input item, paired with its input item.

Sends a POST request to the instance’s /groups/{jid}/photo endpoint with the selected media. The response body is returned as JSON; on failure, the node throws unless Continue On Fail is enabled, in which case it returns an item containing an error field. Requires the ZapGate credentials, including an instance ID and an admin API key or instance token.

Links

Discussion