Actions53
- Instância Actions
- Mensagem Actions
- Grupo Actions
- Chat Actions
- Evento Actions
- Integração Actions
Overview
This node integrates with the Evolution API v2 to perform various operations related to WhatsApp messaging and instance management. Specifically, for the Mensagem resource and the Reagir a Mensagem operation (named sendReaction internally), it allows users to send reactions to WhatsApp messages.
Use cases include:
- Automatically reacting to incoming WhatsApp messages in workflows.
- Enhancing customer engagement by sending emoji or reaction feedback.
- Automating message acknowledgment or sentiment expression without sending full text replies.
Example: Reacting with a thumbs-up emoji to a customer's message to confirm receipt.
Properties
| Name | Meaning |
|---|---|
| Instance Name | The name of the WhatsApp instance to use for sending the reaction. |
| Number | The recipient's phone number to whom the reaction will be sent. |
Note: Although the provided properties JSON only lists "Instance Name" and "Number", the actual operation "Reagir a Mensagem" may require additional parameters such as the message ID and the reaction type (emoji). These are not explicitly listed in the provided snippet but are typically required for sending a reaction.
Output
The node outputs a JSON object containing the response from the Evolution API after attempting the reaction operation. The output includes:
success: Boolean indicating if the operation was successful.message: A success message or details about the operation.timestamp: ISO string timestamp of when the operation was performed.- Additional fields returned by the API depending on the operation result.
If the API returns an array or stringified JSON, the node attempts to parse it accordingly and returns structured data.
No binary data output is indicated for this operation.
Dependencies
- Requires an API key credential configured in n8n to authenticate requests to the Evolution API.
- The node makes HTTP requests to the Evolution API endpoints.
- Proper configuration of the WhatsApp instance within the Evolution platform is necessary.
- Network access to the Evolution API service must be available.
Troubleshooting
Common issues:
- Invalid or missing instance name: Ensure the instance name matches one configured in Evolution.
- Incorrect recipient number format: Use international format without special characters.
- Missing or invalid authentication credentials: Verify API key setup in n8n.
- Reaction parameters missing (e.g., message ID or reaction emoji): Confirm all required inputs are provided.
Error messages:
- API errors returned from Evolution will be passed through; check the error message for details.
- JSON parsing errors if the API response is malformed.
- Network or timeout errors if the Evolution API is unreachable.
Resolutions:
- Double-check input parameters and their formats.
- Validate API credentials and permissions.
- Review Evolution API documentation for required fields for the reaction operation.
- Enable "Continue On Fail" in the node settings to handle errors gracefully during workflow execution.
Links and References
- Evolution API Documentation (hypothetical link, replace with actual if available)
- WhatsApp Business API Reference
- n8n Documentation on HTTP Request Node (for understanding underlying request mechanics)
Note: The source code does not explicitly show the detailed parameters or exact endpoint for the "Reagir a Mensagem" operation, but based on the pattern, it uses the Evolution API authenticated request helper to call the appropriate endpoint with necessary parameters.