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 WhatsApp channels associated with specific WhatsApp numbers. The "Delete Channel" operation allows users to remove a channel by specifying its unique identifier and the WhatsApp number it belongs to. This is useful for cleaning up unused or obsolete channels, managing communication streams, or automating channel lifecycle management within WhatsApp integrations.
Practical example:
A user wants to programmatically delete a marketing newsletter channel linked to a particular WhatsApp number after a campaign ends. By providing the WhatsApp number ID and the channel ID, this node operation will delete that channel from the Wassenger system.
Properties
| Name | Meaning |
|---|---|
| WhatsApp Number | The ID of the WhatsApp number (device) associated with the channel. |
| Channel ID | The unique identifier of the channel to delete (e.g., 123000098765421000 or 123000098765421000@newsletter). |
Output
The output JSON contains the response from the Wassenger API after attempting to delete the specified channel. Typically, this will include confirmation of deletion or relevant status information. The exact structure depends on the API response but generally confirms success or provides error details.
No binary data output is involved in this operation.
Dependencies
- Requires an active Wassenger WhatsApp API key credential configured in n8n.
- Depends on the Wassenger API service being accessible and the provided WhatsApp number and channel IDs being valid.
- The node uses internal methods to load available WhatsApp numbers dynamically for selection.
Troubleshooting
Common issues:
- Invalid or missing WhatsApp number ID or channel ID will cause the operation to fail.
- Network connectivity problems or incorrect API key credentials can prevent successful API calls.
- Attempting to delete a non-existent or already deleted channel may result in an error response.
Error messages and resolutions:
"Channel not found": Verify the channel ID is correct and exists under the specified WhatsApp number."Unauthorized"or authentication errors: Check that the API key credential is correctly set up and has necessary permissions."Invalid WhatsApp number": Confirm the WhatsApp number ID is valid and currently registered in the Wassenger system.
Links and References
- Wassenger API Documentation (for detailed API endpoints and parameters)
- n8n documentation on creating custom nodes