Actions113
- 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
- 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
- Webhooks Actions
- Teams Actions
- Custom Filters Actions
- Reports Actions
Overview
This node allows you to delete a contact from an account in the ChatWoot system. It is useful when you need to remove outdated or incorrect contact information from your customer engagement platform. For example, if a contact has unsubscribed or should no longer be tracked, this node can automate their removal by specifying the account and contact IDs.
Properties
| Name | Meaning |
|---|---|
| Account Id | The numeric ID of the account where the contact exists. This identifies the specific account context for the deletion. |
| Id | The numeric ID of the contact to be deleted. This uniquely identifies the contact within the specified account. |
Output
The node outputs JSON data representing the result of the delete operation. Typically, this will include confirmation that the contact was successfully deleted or details about any error encountered. There is no binary output associated with this operation.
Dependencies
- Requires an API key credential for authenticating with the ChatWoot API.
- The base URL for the ChatWoot instance must be configured in the node credentials.
- The node depends on the ChatWoot REST API being accessible and the user having sufficient permissions to delete contacts.
Troubleshooting
Common issues:
- Invalid or missing account ID or contact ID will cause the operation to fail.
- Insufficient permissions or invalid API credentials will result in authentication errors.
- Network connectivity problems may prevent the node from reaching the ChatWoot API.
Error messages:
- "Contact not found" indicates the specified contact ID does not exist under the given account.
- "Unauthorized" or "Authentication failed" suggests issues with the API key or credentials.
- "Invalid input" points to missing or incorrectly formatted parameters.
Resolutions:
- Verify that both Account Id and Contact Id are correct and correspond to existing entities.
- Ensure the API key credential is valid and has the necessary permissions.
- Check network connectivity and the configured base URL for the ChatWoot API.
Links and References
- ChatWoot API Documentation (for detailed API endpoints and authentication)
- n8n documentation on creating custom nodes