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 operation deletes a user from a specified account in the ChatWoot system. It is useful for managing account memberships by removing users who no longer need access or are no longer part of the team. For example, when an employee leaves a company, this operation can be used to revoke their access to the account.
Properties
| Name | Meaning |
|---|---|
| Account Id | The numeric ID of the account from which the user will be deleted. |
| User Id | The ID of the user to delete from the account. |
Output
The output JSON typically contains the response from the ChatWoot API confirming the deletion of the user. This may include status information or confirmation messages. There is no indication that binary data is returned by this operation.
Dependencies
- Requires an API key credential for authenticating with the ChatWoot API.
- The node uses the base URL provided in the credentials to send requests.
- The node depends on the
@devlikeapro/n8n-openapi-nodepackage and the OpenAPI specification defined inopenapi.jsonfor request building.
Troubleshooting
Common issues:
- Invalid or missing Account Id or User Id will cause the API call to fail.
- Authentication errors if the API key credential is incorrect or expired.
- Network connectivity issues preventing communication with the ChatWoot API.
Error messages:
- "User not found" or similar indicates the User Id does not exist in the specified account.
- "Unauthorized" or "Authentication failed" suggests problems with the API key credential.
- "Invalid Account Id" means the account specified does not exist or is inaccessible.
Resolutions:
- Verify that both Account Id and User Id are correct and correspond to existing entities.
- Ensure the API key credential is valid and has sufficient permissions.
- Check network settings and API endpoint URL in the credentials.
Links and References
- ChatWoot API Documentation (for detailed API usage and error codes)
- n8n Documentation (for general guidance on using custom nodes and credentials)