ChatWoot icon

ChatWoot

Interact with ChatWoot API

Actions113

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 cleaning up inactive accounts or managing user access automatically.

For example, if you have a workflow that detects users who no longer meet certain criteria, this node can be used to delete those users without manual intervention.

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 output will contain JSON data representing the response from the ChatWoot API after attempting to delete the user. Typically, this will include confirmation of deletion or an error message if the operation failed.

No binary data output is expected from this node.

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 uses HTTP requests to communicate with the ChatWoot REST API.

Troubleshooting

  • Invalid User ID: If the provided user ID does not exist, the API will likely 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.
  • Network Issues: Connectivity problems between n8n and the ChatWoot server can cause request failures. Check network settings and firewall rules.
  • Permission Denied: The API key used must have sufficient permissions to delete users. Lack of proper permissions will result in authorization errors.

Links and References

Discussion