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 interacts with the ChatWoot API to delete a user by their numeric ID. It is useful in scenarios where you need to programmatically remove users from your ChatWoot platform, such as automating user management or cleaning up inactive accounts.
For example, if you have a workflow that identifies users who should no longer have access, this node can be used to delete those users automatically by specifying their user IDs.
Properties
| Name | Meaning |
|---|---|
| Id | The numeric ID of the user on the ChatWoot platform that you want to delete. This is a required field. |
Output
The node outputs JSON data representing the response from the ChatWoot API after attempting to delete the specified user. Typically, this will include confirmation of deletion or an error message if the operation failed.
If the API supports it, binary data output is not expected for 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 credentials.
- The node uses HTTP requests to communicate with the ChatWoot REST API.
Troubleshooting
- Invalid User ID: If the provided user ID does not exist, the API may return an error indicating the user was not found. Verify the ID before running the node.
- Authentication Errors: Ensure the API key and base URL are correctly set in the credentials. Authentication failures will prevent the node from deleting users.
- Permission Issues: The API key used must have sufficient permissions to delete users. Lack of permissions will result in authorization errors.
- Network Issues: Connectivity problems between n8n and the ChatWoot server can cause request failures.
Links and References
- ChatWoot API Documentation (for detailed API endpoints and authentication)
- n8n Documentation (for general usage of custom nodes and credentials)