ChatWoot icon

ChatWoot

Interact with ChatWoot API

Actions113

Overview

This node allows users to delete an Account Agent Bot within the ChatWoot platform. It is useful for managing and maintaining the list of agent bots associated with a specific account by removing those that are no longer needed or relevant. For example, if an automated bot was created for a temporary campaign or test purpose, this node can be used to clean up by deleting that bot.

Properties

Name Meaning
Account Id The numeric ID of the account from which the agent bot will be deleted.
Id The unique identifier of the agent bot that you want to delete from the specified account.

Output

The node outputs JSON data representing the result of the deletion operation. Typically, this would include confirmation of successful deletion or details about any error encountered. The exact structure depends on the API response but generally confirms whether the agent bot was removed.

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

Troubleshooting

  • Common issues:

    • Providing an invalid or non-existent Account Id or Agent Bot Id will result in errors.
    • Missing or incorrect API authentication credentials will cause authorization failures.
    • Network connectivity problems may prevent the node from reaching the ChatWoot API.
  • Error messages and resolutions:

    • "Unauthorized" or "Authentication failed": Check that the API key credential is correctly set and has sufficient permissions.
    • "Agent bot not found": Verify that the provided Agent Bot Id exists under the specified Account Id.
    • "Invalid Account Id": Ensure the Account Id is correct and corresponds to an existing account.
    • Timeout or network errors: Confirm network connectivity and that the ChatWoot server is reachable.

Links and References

Discussion