WA Ops icon

WA Ops

Automate WhatsApp with 140+ operations: messages, chats, contacts, groups, communities, newsletters, business, media upload, sessions, labels, and more. Your WhatsApp must be connected via https://waops.app/connect before using this node.

Message → Star

AI-generated

Summary

Stars or unstars a WhatsApp message given its chat JID and message ID.

Inputs

  • jid (required) — The chat JID where the message is located (e.g., a personal JID like 447700900000@s.whatsapp.net or a group JID like 120363316517167240@g.us).
  • messageId (required) — The ID of the target message, obtained from a Get Messages or Trigger node.
  • star — Whether to star (true) or unstar (false) the message. Defaults to true.

Output shape

object

Returns the response from the WA Ops API, typically indicating success or any error details.

Examples

Example 1: Star a message

Set JID to the chat JID from a previous node, Message ID to the message's ID, and leave Star as true.

Example 2: Unstar a message

Provide the same JID and Message ID, but set Star to false.

Links

Discussion