Actions23
- Chatting Actions
- Group Actions
- Message Actions
- User Actions
Overview
This node integrates with the Go WhatsApp Web MultiDevice API, enabling users to manage WhatsApp messaging programmatically. Specifically, the Revoke Message operation under the Message resource allows users to delete or retract a previously sent message in either a private chat or a group chat.
Common scenarios for this operation include:
- Automatically deleting messages after sending them for privacy reasons.
- Revoking mistakenly sent messages in automated workflows.
- Managing message lifecycle in customer support or notification systems.
For example, a user can input a phone number or group ID along with a message ID to revoke that specific message from the conversation.
Properties
| Name | Meaning |
|---|---|
| Phone Number or Group ID | The target chat identifier: either a phone number for private chats or a group ID for group chats where the message was sent. |
| Message ID | The unique identifier of the message to be revoked (deleted). |
Output
The node outputs JSON data representing the result of the revoke message operation. This typically includes confirmation of success or details about the revoked message. If an error occurs, the output JSON will contain an error field with the error message.
No binary data is produced by this operation.
Dependencies
- Requires an active connection to the Go WhatsApp Web MultiDevice API.
- Needs an API authentication credential configured in n8n (an API key or token).
- The base URL for the API must be set in the node credentials configuration.
Troubleshooting
Common issues:
- Invalid or missing phone number/group ID or message ID will cause the operation to fail.
- Network connectivity problems or incorrect API credentials will prevent successful communication with the API.
- Attempting to revoke a message that does not exist or has already been deleted may return an error.
Error messages and resolutions:
"Unknown resource": Indicates the resource parameter is invalid; ensure "message" is selected.- Errors containing
"Unauthorized"or"Authentication failed"suggest issues with API credentials; verify and update the API key/token. "Message not found"or similar indicates the message ID is incorrect or the message cannot be revoked; double-check the message ID.
Links and References
- Go WhatsApp Web MultiDevice API Documentation (general reference for the underlying API)
- n8n Documentation on Creating Custom Nodes