Actions148
- Send messages Actions
- Outbound Messages Actions
- WhatsApp Numbers Actions
- Groups Actions
- Channels Actions
- Chats Actions
- Chat Contacts Actions
- Chat Messages Actions
- Chat Files Actions
- Team Actions
- Labels Actions
- Departments Actions
- Files Actions
- Quick replies Actions
- Queue Actions
- WhatsApp session Actions
- WhatsApp profile Actions
- Business catalog Actions
- Campaigns Actions
- Meeting Links Actions
- User Status Actions
- Webhooks Actions
- Other Actions
Overview
This node interacts with the Wassenger WhatsApp API to manage outbound messages. Specifically, the "Delete Message" operation under the "Outbound Messages" resource allows users to delete a previously sent message by its ID. This can be useful in scenarios where a message was sent in error or needs to be retracted for compliance or correction purposes.
Practical examples include:
- Automatically deleting promotional messages that were scheduled but no longer apply.
- Removing messages that contain incorrect information before the recipient reads them.
- Managing message lifecycle programmatically within customer support workflows.
Properties
| Name | Meaning |
|---|---|
| Message ID | The unique identifier of the outbound message to delete. |
| Force Delete | Whether to force deletion even if the message has already been delivered or is processing. |
Output
The output JSON contains the response from the Wassenger API after attempting to delete the specified outbound message. Typically, this will include confirmation of deletion or an error message if the deletion failed.
No binary data output is indicated for this operation.
Dependencies
- Requires an API key credential for authenticating with the Wassenger WhatsApp API.
- The node depends on the external Wassenger service being available and reachable.
- Proper configuration of the API key credential in n8n is necessary.
Troubleshooting
Common issues:
- Invalid or missing Message ID will cause the deletion to fail.
- Attempting to delete a message that does not exist or has already been deleted may result in an error.
- Network or authentication errors if the API key is invalid or the Wassenger service is unreachable.
Error messages:
- Errors returned from the Wassenger API will be passed through; typical messages might indicate "Message not found" or "Unauthorized".
- To resolve, verify the Message ID correctness, ensure the API key is valid, and check network connectivity.
Links and References
- Wassenger WhatsApp API Documentation (general reference for API capabilities)
- n8n documentation on creating custom nodes