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 → Delete

AI-generated

Summary

Delete a WhatsApp message.

Inputs

  • jid (required) — The chat JID where the message is located (e.g., 447700900000@s.whatsapp.net or a group JID).
  • messageId (required) — The ID of the target message, obtained from a Get Messages or Trigger node.
  • fromMe — Whether the target message was sent by you (default: false).
  • forEveryone — Whether to delete the message for all participants (default: true). Only effective within about one hour of sending.

Output shape

object

Returns the API response from the WA Ops delete endpoint; success indicates the message was removed.

Examples

Example 1: Delete a message sent by the bot in a group

Set JID from a Trigger node, Message ID from the same node, enable From Me, keep For Everyone true.

Links

Discussion