WAHA

Connect with Whatsapp HTTP API

Actions116

Overview

This node operation allows users to set or remove a reaction emoji on a specific chat message within a session. It is useful in scenarios where automated workflows need to interact with chat messages by adding reactions, such as acknowledging messages, providing feedback, or managing chat interactions programmatically. For example, a workflow could automatically react with a thumbs-up emoji to confirm receipt of a message or remove a reaction when a condition changes.

Use Case Examples

  1. Automatically add a 👍 reaction to a message when a certain keyword is detected.
  2. Remove a reaction emoji from a message after a follow-up action is completed.

Properties

Name Meaning
Session The chat session identifier where the message is located.
Message Id The unique identifier of the message to which the reaction will be added or removed.
Reaction The emoji to react with. Sending an empty string removes the reaction.
Request Options Additional options for the request such as batching, SSL handling, proxy settings, and timeout configuration.

Output

JSON

  • success - Indicates whether the reaction was successfully set or removed.
  • messageId - The ID of the message that was reacted to.
  • reaction - The emoji reaction that was set or removed.

Dependencies

  • Requires an API key or authentication token to access the chat service.

Troubleshooting

  • Common issues include invalid session or message IDs, which result in errors indicating the message or session was not found.
  • Invalid or unsupported emoji characters may cause the reaction to fail.
  • Network issues or incorrect proxy settings can cause request timeouts or failures.
  • SSL certificate validation errors can be bypassed by enabling the 'Ignore SSL Issues' option, but this reduces security.

Discussion