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 delete user status entries associated with a WhatsApp number. It supports deleting all statuses, only scheduled statuses, or specific statuses by their IDs. This is useful for managing and cleaning up user status updates on WhatsApp, such as removing outdated or unwanted status messages.
Practical examples:
- Automatically deleting all user statuses when a campaign ends.
- Removing specific scheduled statuses that are no longer relevant.
- Deleting particular status messages identified by their WhatsApp IDs.
Properties
| Name | Meaning |
|---|---|
| WhatsApp Number | The ID of the WhatsApp number (device) from which statuses will be deleted. |
| Delete Method | The method used to delete statuses. Options: "Delete All", "Delete Scheduled Status", "Delete Specific Status". |
| Scheduled Status IDs | (Required if "Delete Scheduled Status" selected) List of 24-character hexadecimal IDs of scheduled statuses to delete. |
| Status IDs | (Required if "Delete Specific Status" selected) List of WhatsApp IDs (WID) of statuses to delete. |
Output
The node outputs JSON data representing the result of the deletion operation. Typically, this will include confirmation of successful deletions or details about any errors encountered. The output structure depends on the API response from Wassenger but generally confirms which statuses were deleted.
No binary data output is produced by this node.
Dependencies
- Requires an API key credential for authenticating with the Wassenger WhatsApp API.
- The node relies on the Wassenger API endpoints related to user status management.
- Proper configuration of the API key in n8n credentials is necessary.
Troubleshooting
Common issues:
- Providing invalid or expired API keys will cause authentication failures.
- Incorrect WhatsApp number (device) ID may lead to no statuses being found or deleted.
- Supplying malformed or incorrect status IDs (not 24-length hex strings) will cause errors.
- Selecting a delete method without providing required IDs (for scheduled or specific deletes) will cause validation errors.
Error messages:
- Authentication errors: Check that the API key credential is correctly set and valid.
- Validation errors about missing or invalid IDs: Ensure the correct IDs are provided matching the selected delete method.
- API errors indicating resource not found: Verify the WhatsApp number and status IDs exist and belong to the authenticated account.
Links and References
- Wassenger API Documentation (general reference for API capabilities)
- WhatsApp Business API User Status Management (for understanding WhatsApp status concepts)
Note: This summary is based solely on static analysis of the provided source code and property definitions. Runtime behavior depends on actual API responses and environment setup.