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
Chat Contacts → Delete Contact
AI-generatedOverview
This node integrates with the WaliChat WhatsApp API to manage chat contacts. Specifically, the Delete Contact operation under the Chat Contacts resource allows users to remove a contact from a specified WhatsApp number's contact list.
Typical use cases include:
- Cleaning up outdated or invalid contacts from your WhatsApp business account.
- Automating contact management workflows where contacts need to be removed based on external triggers or data changes.
- Maintaining an up-to-date contact list for marketing or customer support purposes.
For example, you might use this node in an automation that deletes contacts who have unsubscribed or are no longer relevant to your campaigns.
Properties
| Name | Meaning |
|---|---|
| WhatsApp Number | The ID of the WhatsApp number (device) from which the contact will be deleted. |
| Contact ID | The unique identifier of the contact to delete (e.g., 447362053576@c.us). |
Output
The node outputs JSON data representing the result of the delete operation. Typically, this will confirm whether the contact was successfully deleted or provide error information if the deletion failed.
No binary data output is involved in this operation.
Dependencies
- Requires a valid API key credential for authenticating with the WaliChat WhatsApp API.
- The node depends on the WaliChat API service being accessible and properly configured.
- The "WhatsApp Number" must be registered and active within the WaliChat system.
Troubleshooting
Common issues:
- Invalid or missing WhatsApp Number or Contact ID parameters will cause the operation to fail.
- Network connectivity problems or incorrect API credentials can prevent successful communication with the WaliChat API.
- Attempting to delete a contact that does not exist may return an error or no-op response.
Error messages:
- Errors related to authentication usually indicate invalid or expired API keys; verify and update credentials accordingly.
- "Contact not found" errors suggest the provided Contact ID is incorrect or already deleted.
- Rate limiting or quota exceeded errors require checking API usage limits and possibly adjusting request frequency.
Links and References
- WaliChat Official API Documentation (for detailed API capabilities and contact management)
- n8n Documentation on Creating Custom Nodes