ChatWoot icon

ChatWoot

Interact with ChatWoot API

Actions100

Overview

This node allows you to delete a user from the ChatWoot platform by specifying their numeric ID. It is useful in scenarios where you need to automate user management tasks, such as removing users who are no longer active or have requested account deletion. For example, you might use this node in a workflow that automatically deletes users after a certain period of inactivity.

Properties

Display Name Type Description
Id Number The numeric ID of the user on the platform. Required.

Output

  • json: The output will contain the response from the ChatWoot API after attempting to delete the specified user. Typically, this may include a status message or confirmation of deletion. The exact structure depends on the ChatWoot API's response for user deletion.
  • Binary data: This node does not output binary data.

Dependencies

  • External Service: Requires access to a ChatWoot instance.
  • API Credentials: You must configure the chatwootApi credentials in n8n, including the base URL (url) and any required authentication tokens.
  • n8n Configuration: Ensure the node has network access to your ChatWoot server.

Troubleshooting

  • Common Issues:

    • Invalid User ID: If the provided Id does not correspond to an existing user, the API may return a "User not found" error.
    • Authentication Errors: Missing or incorrect API credentials will result in authentication failures.
    • Network Issues: If n8n cannot reach the ChatWoot server (e.g., due to firewall or DNS issues), the request will fail.
  • Error Messages:

    • "User not found": Check that the Id is correct and the user exists.
    • "Unauthorized" or "Forbidden": Verify your API credentials and permissions.
    • "Connection refused" or timeout errors: Ensure the ChatWoot server is reachable from n8n.

Links and References

Discussion