WAREST icon

WAREST

Interact with the WARest WhatsApp REST API

Overview

This node operation allows users to react to a specific WhatsApp message using an emoji reaction. It is useful in scenarios where automated or programmatic message reactions are needed, such as acknowledging receipt, expressing sentiment, or interacting with messages in a chat or group. For example, a bot can automatically react with a thumbs-up emoji to confirm a message was seen or understood.

Use Case Examples

  1. Automatically react to customer messages with a thumbs-up emoji to confirm receipt.
  2. Add emoji reactions to messages in group chats to facilitate quick feedback or voting.

Properties

Name Meaning
Session The WhatsApp session to use for sending the reaction. This identifies the active WhatsApp account or connection.
Recipient / Chat (to) The phone number or JID of the chat or recipient where the message to react to is located.
Message ID The unique identifier of the message to which the reaction will be added.
Emoji The emoji character to use as the reaction to the message. Defaults to thumbs-up (πŸ‘).

Output

JSON

  • json - The response from the WhatsApp REST API after adding the reaction, typically including confirmation details or updated message state.

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 corresponds to an active and connected WhatsApp session.
  • Verify the 'to' field is a valid phone number or JID in the correct format.
  • Confirm the message ID exists in the specified chat and is accessible by the session.
  • The emoji must be a valid Unicode emoji character; invalid or unsupported emojis may cause errors.
  • Check network connectivity and API server availability if requests fail.

Discussion