Actions113
- Account Agent Bots Actions
- Agents Actions
- Canned Responses Actions
- Canned Response Actions
- Custom Attributes Actions
- Contacts Actions
- Contact Actions
- Automation Rule Actions
- Help Center Actions
- Conversations Actions
- Conversation Assignment Actions
- Conversation Labels Actions
- Inboxes Actions
- Messages Actions
- Integrations Actions
- Teams Actions
- Custom Filters Actions
- Webhooks Actions
- Reports Actions
- Accounts Actions
- Account Users Actions
- Agent Bots Actions
- Users Actions
- Inbox API Actions
- Contacts API Actions
- Conversations API Actions
- Messages API Actions
- CSAT Survey Page Actions
Overview
This node interacts with the ChatWoot API to delete a specific contact from an account. It is useful in scenarios where you need to programmatically remove contacts, such as cleaning up outdated or invalid contact records, automating data management workflows, or integrating contact deletion into larger customer support or CRM processes.
For example, if you have a workflow that identifies inactive contacts, this node can be used to automatically delete those contacts from your ChatWoot account.
Properties
| Name | Meaning |
|---|---|
| Account Id | The numeric ID of the ChatWoot account where the contact exists. This identifies which account's contacts are being managed. |
| Id | The numeric ID of the contact to delete. This specifies exactly which contact will be removed from the account. |
Output
The node outputs JSON data representing the result of the delete operation. Typically, this will include confirmation of successful deletion or details about any error encountered. The output does not include binary data.
Dependencies
- Requires an API key credential for authenticating with the ChatWoot API.
- The node expects the base URL of the ChatWoot instance to be configured in the credentials.
- No additional external dependencies beyond the ChatWoot API and its authentication.
Troubleshooting
Common issues:
- Invalid or missing Account Id or Contact Id will cause the deletion to fail.
- Authentication errors if the API key or base URL is incorrect or expired.
- Network connectivity problems preventing access to the ChatWoot API.
Error messages:
- "Unauthorized" or similar indicates issues with API credentials; verify and update them.
- "Not Found" suggests the specified contact or account does not exist; double-check IDs.
- "Bad Request" may indicate malformed input; ensure IDs are numbers and required fields are set.
Resolving these typically involves verifying input parameters and ensuring valid, active API credentials.
Links and References
- ChatWoot API Documentation (for detailed API usage and endpoints)
- n8n documentation on creating custom nodes