ZapGate icon

ZapGate

Interaja com a API ZapGate — WhatsApp gateway self-hosted

Actions1511

Perfil → Favoritar Mensagem

AI-generated

Summary

Set or clear a WhatsApp message’s starred status for a chat. Provide the chat number or group JID, the message ID, and whether to star it; the operation uses the configured ZapGate instance credentials and sends the request to the instance API.

Inputs

  • Número (chat) (required) — Chat phone number with country code, digits only, or a group JID.
  • ID da mensagem (required) — ID of the message to update.
  • Favoritar — Boolean; defaults to true to star the message. Set false to remove the star.

Output shape

A single n8n item per input item, containing the API response as JSON.

The operation makes a POST request. If the API response is not an object, it is returned as {"result":""}. With Continue On Fail enabled, errors are returned as {"error":""}.

Examples

Example 1: Star a message

Set Número, ID da mensagem, and leave Favoritar enabled.

Links

Discussion