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 an existing account by its numeric ID. It is useful in scenarios where you need to programmatically remove accounts from your ChatWoot instance, such as cleaning up test accounts, managing user access, or automating account lifecycle management.
For example, if you have a workflow that deactivates users and you want to also delete their associated ChatWoot accounts, this node can be used to perform that deletion automatically.
Properties
| Name | Meaning |
|---|---|
| Account Id | The numeric ID of the account to delete |
Output
The output will contain JSON data representing the result of the delete operation. Typically, this might include confirmation of successful deletion or details about any error encountered. The exact structure depends on the ChatWoot API response for deleting an account.
No binary data output is expected from this operation.
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.
- Internet connectivity to reach the ChatWoot API endpoint.
Troubleshooting
- Invalid Account Id: If the provided account ID does not exist or is invalid, the API may return an error indicating the account was not found. Verify the account ID before running the node.
- Authentication Errors: Ensure the API key credential is valid and has sufficient permissions to delete accounts.
- Network Issues: Connectivity problems can cause request failures. Check network access and the correctness of the ChatWoot base URL.
- API Rate Limits: If many delete requests are made in a short time, the API might throttle requests. Implement retries or delays if needed.
Links and References
- ChatWoot API Documentation (for detailed API endpoints and responses)
- n8n Documentation on Using Credentials