Wuzapi Chat icon

Wuzapi Chat

Perform chat operations with Wuzapi WhatsApp API

Overview

The node enables interaction with the Wuzapi WhatsApp API to perform various chat-related operations. Specifically, the "React to Message" operation allows users to send an emoji reaction to a specific WhatsApp message or remove an existing reaction by leaving the reaction field empty.

This node is useful in scenarios where automated workflows need to acknowledge or respond to messages non-verbally, such as marking messages as read with a thumbs-up or heart emoji, or removing reactions when conditions change.

Practical example:
Automatically react with a "❤️" emoji to incoming customer support messages to indicate acknowledgment without sending a textual reply.

Properties

Name Meaning
Phone Number The phone number associated with the message to react to. Can be prefixed with "me:" to indicate your own message. Example: 5491155553934 or me:5491155553934.
Reaction The emoji to react with (e.g., ❤️, 👍, 😂). Leave empty to remove any existing reaction.
Message ID The identifier of the message to which the reaction will be applied. Prefix with "me:" for your own messages. Example: me:3EB06F9067F80BAB89FF.

Output

The output JSON contains the response from the Wuzapi WhatsApp API after attempting to add or remove the reaction. It typically includes confirmation details about the reaction action performed.

No binary data is produced by this operation.

Dependencies

  • Requires an active connection to the Wuzapi WhatsApp API via an API key credential configured in n8n.
  • The node uses the internal helper function to make authenticated POST requests to the /chat/react endpoint of the Wuzapi API.

Troubleshooting

  • Common issues:

    • Invalid or missing message ID or phone number may cause the API to reject the request.
    • Using an incorrect prefix (missing "me:" when reacting to own messages) can lead to failure.
    • Empty or invalid emoji characters might not be accepted by the API.
  • Error messages:

    • Errors returned from the API will be surfaced in the node's output if "Continue On Fail" is enabled.
    • Typical errors include "Message not found", "Invalid phone number", or "Unauthorized".
  • Resolutions:

    • Verify that the message ID and phone number are correct and properly formatted.
    • Ensure the API key credential is valid and has sufficient permissions.
    • Use standard Unicode emojis for reactions.

Links and References

Discussion