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
Outbound Messages → Delete Message
AI-generatedOverview
This node interacts with the WaliChat WhatsApp API, specifically managing outbound messages. The "Delete Message" operation allows users to delete an outbound WhatsApp message by its unique identifier. This is useful in scenarios where a message was sent by mistake or needs to be retracted before or after delivery.
Practical examples include:
- Automatically deleting scheduled messages that are no longer relevant.
- Removing messages that contain errors or incorrect information.
- Force deleting messages even if they have been delivered or are currently processing.
Properties
| Name | Meaning |
|---|---|
| Message ID | The unique identifier of the outbound message to delete. |
| Force Delete | Whether to force deletion of the message even if it has already been delivered or is processing. Options: true or false. |
Output
The output JSON contains the result of the delete operation for each input item. Typically, this will include confirmation of successful deletion or details about any error encountered during the process.
If the deletion is successful, the output JSON might include metadata about the deleted message or a success status. If the deletion fails, the output will contain an error message describing the failure.
No binary data output is expected from this operation.
Dependencies
- Requires an API key credential for authenticating with the WaliChat WhatsApp API.
- The node depends on the WaliChat API service being available and accessible.
- Proper configuration of the API key credential within n8n is necessary.
Troubleshooting
Common issues:
- Invalid or missing Message ID: Ensure the Message ID provided exists and is correct.
- Insufficient permissions: The API key used must have rights to delete outbound messages.
- Network or API downtime: Verify connectivity to the WaliChat API endpoint.
Error messages:
"Message not found": The specified Message ID does not exist; verify the ID."Unauthorized"or authentication errors: Check that the API key credential is valid and correctly configured."Cannot delete delivered message": If force delete is not enabled, messages already delivered cannot be deleted. Enable the "Force Delete" option to override.
Links and References
- WaliChat WhatsApp API Documentation (example placeholder link)
- n8n documentation on Creating Custom Nodes