Actions37
- Instance Actions
- Message Actions
- Group Actions
- Contact Actions
- Chat Actions
- Campaign Actions
- Chatbot Actions
Overview
The node integrates with the UazAPI service to automate WhatsApp messaging tasks. Specifically, the React to Message operation allows users to send an emoji reaction to a specific WhatsApp message. This is useful for quickly acknowledging messages without sending a full text reply, enhancing conversational flow and user engagement.
Common scenarios:
- Automatically reacting to customer inquiries or support messages with emojis like 👍 or ❤️.
- Adding quick feedback reactions in group chats or broadcast messages.
- Enhancing chatbot interactions by programmatically reacting to user messages.
Practical example:
You receive a message from a customer and want to acknowledge it with a thumbs-up emoji automatically. Using this node, you specify the recipient's number, the message ID, and the emoji to react with, and the node sends the reaction via WhatsApp.
Properties
| Name | Meaning |
|---|---|
| Number | Recipient's phone number including country code (without the "+" sign). |
| Message ID | The unique identifier of the WhatsApp message to which the reaction will be sent. |
| Emoji | The emoji character used as the reaction (e.g., 👍, ❤️, 😂, 😮, 😢, 🙏). |
Output
The node outputs a JSON object representing the response from the UazAPI after attempting to send the reaction. This typically includes status information about the reaction request, such as success confirmation or error details.
No binary data output is involved in this operation.
Example output structure (simplified):
{
"success": true,
"message": "Reaction sent",
"data": {
"number": "5511999999999",
"messageId": "ABCD1234",
"emoji": "👍"
}
}
Dependencies
- Requires an active connection to the UazAPI service.
- Needs valid API credentials configured in n8n for authenticating requests to UazAPI.
- The base URL for the UazAPI must be set in the credentials.
- The node uses HTTP POST requests to the
/message/reactendpoint of the UazAPI.
Troubleshooting
Common issues:
- Invalid or missing phone number format: Ensure the number includes the country code and no "+" sign.
- Incorrect or expired message ID: Verify that the message ID corresponds to a valid message accessible by the instance.
- Authentication errors: Confirm that the API key credential is correctly configured and has necessary permissions.
- Network or connectivity problems: Check internet access and UazAPI service availability.
Error messages:
"Unauthorized"or"Authentication failed": Check API credentials."Message not found": Verify the message ID is correct and the message exists."Invalid number format": Correct the phone number format as per requirements."Failed to send reaction": Could indicate temporary service issues; retry or check logs.
Links and References
- UazAPI Official Documentation (example placeholder, replace with actual if available)
- WhatsApp Business API documentation on message reactions (for conceptual understanding)
- n8n HTTP Request node documentation for custom API integrations
This summary covers the static analysis of the execute() method related to the Message > React to Message operation, focusing on input properties, output, dependencies, and potential troubleshooting tips.