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
Channels → Delete Channel
AI-generatedOverview
This node integrates with the WaliChat WhatsApp API to manage WhatsApp channels associated with specific WhatsApp numbers. The "Delete Channel" operation under the "Channels" resource allows users to delete a particular channel by specifying its ID and the WhatsApp number it belongs to.
Typical use cases include:
- Removing obsolete or inactive communication channels linked to a WhatsApp number.
- Managing channel lifecycle programmatically within automated workflows.
- Cleaning up channels that are no longer needed for messaging or broadcasting.
For example, if you have multiple channels set up for different campaigns or customer segments, this operation helps you delete a channel that is no longer relevant.
Properties
| Name | Meaning |
|---|---|
| WhatsApp Number | The ID of the WhatsApp number (device) from which the channel will be deleted. |
| 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 WaliChat API after attempting to delete the specified channel. Typically, this will confirm whether the deletion was successful or provide error details if it failed.
No binary data output is involved in this operation.
Dependencies
- Requires an API key credential for authenticating with the WaliChat WhatsApp API.
- The node depends on the WaliChat API service being accessible and the provided WhatsApp number and channel ID being valid.
- No additional environment variables or external services are explicitly required beyond the API key.
Troubleshooting
Common Issues:
- Invalid or missing WhatsApp number ID or channel ID can cause the operation to fail.
- Network connectivity issues or incorrect API key credentials will prevent successful API calls.
- Attempting to delete a channel that does not exist or has already been deleted may result in an error.
Error Messages:
- Errors returned from the API typically include messages indicating invalid parameters or authorization failures.
- If the node throws an error about missing parameters, ensure both the WhatsApp number and channel ID are correctly set.
- For authentication errors, verify that the API key credential is correctly configured and has sufficient permissions.
Links and References
- WaliChat Official API Documentation (for detailed API endpoints and parameters)
- n8n Documentation on Creating Custom Nodes