Actions113
- 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
- Contacts API Actions
- Inbox API Actions
- Conversations API Actions
- Messages API Actions
- CSAT Survey Page Actions
- Account Agent Bots Actions
- Agents Actions
- Canned Responses Actions
- Custom Attributes Actions
- Canned Response 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 lifecycle, or automating administrative tasks.
For example, if you have a list of account IDs that are no longer needed, you can use this node to delete them automatically without manual intervention.
Properties
| Name | Meaning |
|---|---|
| Account Id | The numeric ID of the account to be deleted |
Output
The node outputs JSON data representing the response from the ChatWoot API after attempting to delete the specified account. This typically includes confirmation of deletion or error details if the operation failed.
No binary data output is expected from 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 provided account ID being valid.
Troubleshooting
- Invalid Account Id: If the account ID does not exist or is invalid, the API will return an error. Verify the account ID before running the node.
- Authentication Errors: Ensure the API key credential is correctly set and has sufficient permissions to delete accounts.
- Network Issues: Check connectivity to the ChatWoot API endpoint.
- Permission Denied: The authenticated user may lack rights to delete accounts; verify user roles and permissions in ChatWoot.
Links and References
- ChatWoot API Documentation (for detailed API endpoints and authentication)
- n8n Documentation (for general usage of API nodes)