ChatWoot icon

ChatWoot

Interact with ChatWoot API

Actions113

Overview

This node allows users to delete an existing Account Agent Bot in the ChatWoot platform by specifying the account and agent bot identifiers. It is useful for managing and cleaning up automated agents associated with specific accounts, such as removing outdated or unnecessary bots.

A practical example would be automating the removal of agent bots that are no longer needed after a campaign ends or when restructuring support automation.

Properties

Name Meaning
Account Id The numeric ID of the account from which the agent bot will be deleted.
Id The unique numeric ID of the agent bot to be deleted within the specified account.

Output

The node outputs JSON data representing the result of the deletion operation. Typically, this includes confirmation of successful deletion or details about any error encountered. There is no indication that binary data is output by 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 credentials.
  • The node depends on the ChatWoot REST API endpoint for deleting agent bots.

Troubleshooting

  • Common issues:

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

    • "Unauthorized" or "Authentication failed": Verify that the API key credential is correctly set and has sufficient permissions.
    • "Agent bot not found": Confirm that the provided Account Id and Agent Bot Id are correct and exist.
    • "Network error": Check internet connection and ChatWoot server availability.

Links and References

Discussion