Actions42
- Message Actions
- Chat Actions
- Account Actions
- Campaign Actions
- Contact Actions
- Group Actions
- OTP Actions
- SMS Actions
- Validation Actions
Overview
This node interacts with the Zender WhatsApp API to manage contacts, groups, messages, campaigns, accounts, and other related resources. Specifically, for the Contact resource with the Delete Group operation, it deletes a contact group identified by its ID from the Zender system.
This operation is useful when you want to programmatically remove an entire contact group from your WhatsApp contact management system, for example, cleaning up unused or obsolete groups.
Practical example:
- You have a contact group that is no longer needed (e.g., "Old Customers") and want to delete it automatically as part of a workflow cleanup process.
Properties
| Name | Meaning |
|---|---|
| Group ID | ID of the group to delete |
The property Group ID is a required numeric identifier specifying which contact group to delete.
Output
The output is a JSON object containing the response from the Zender API after attempting to delete the specified contact group. The exact structure depends on the API but typically includes success status and any relevant messages or error details.
Example output JSON might look like:
{
"success": true,
"message": "Group deleted successfully"
}
No binary data output is involved in this operation.
Dependencies
- Requires an active connection to the Zender WhatsApp API.
- Requires an API key credential configured in n8n for authentication (
zenderApicredential). - The base URL and secret API key are used to authenticate and authorize requests.
Troubleshooting
Common issues:
- Invalid or missing Group ID: Ensure the Group ID provided exists and is correct.
- Authentication errors: Verify that the API key credential is correctly set up and has necessary permissions.
- Network or API endpoint errors: Check connectivity and that the Zender API service is operational.
Error messages:
- If the group does not exist, the API may return an error indicating the group was not found.
- Authentication failures will result in unauthorized errors; recheck credentials.
- Rate limiting or quota exceeded errors may occur if too many requests are made in a short time.
To resolve errors, verify input parameters, check API credentials, and consult Zender API documentation or support.
Links and References
- Zender WhatsApp API Documentation (general reference for API endpoints)
- n8n documentation on creating custom nodes