WAREST icon

WAREST

Interact with the WARest WhatsApp REST API

Overview

This node operation removes a reaction from a specific WhatsApp message using the WARest WhatsApp REST API. It is useful in scenarios where a user wants to programmatically manage message reactions, such as removing an emoji reaction from a message in a chat or group. For example, it can be used in automated workflows to moderate or update message reactions based on certain triggers or conditions.

Use Case Examples

  1. Removing a thumbs-up reaction from a message in a customer support chat after the issue is resolved.
  2. Automatically clearing reactions from messages in a group chat after a poll or event has ended.

Properties

Name Meaning
Session The WhatsApp session identifier to use for the API call, selected from existing sessions or entered manually.
Recipient / Chat (to) The phone number or JID of the chat or recipient where the message is located. Can be a comma-separated list if multiple recipients are involved.
Message ID The unique identifier of the message from which the reaction will be removed.

Output

JSON

  • json - The JSON response from the WARest API indicating the result of the remove reaction operation.

Dependencies

  • Requires an API key credential for the WARest WhatsApp REST API and the base URL of the API server.

Troubleshooting

  • Ensure the session ID is valid and active; invalid or expired sessions will cause errors.
  • Verify the 'to' field is correctly formatted as a phone number or JID; incorrect formatting can lead to failures.
  • The message ID must correspond to an existing message in the specified chat; otherwise, the API will return an error.
  • Check API credentials and network connectivity if requests fail to reach the WARest server.

Links

Discussion