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 scenarios where you need to programmatically remove an existing agent bot associated with a specific account, such as cleaning up unused bots or managing bot lifecycle in automated workflows.

For example, if you have multiple agent bots deployed and want to automate the removal of a particular bot based on certain conditions (e.g., inactivity or replacement), this node can be integrated into your workflow to perform that deletion seamlessly.

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 that you want to delete.

Output

The node outputs JSON data representing the response from the ChatWoot API after attempting to delete the specified agent bot. This typically includes confirmation of deletion or error details if the operation failed.

No binary data output is involved.

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 being accessible and the user having sufficient permissions to delete agent bots.

Troubleshooting

  • Common issues:

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

    • "Agent bot not found" — Verify that the provided agent bot ID exists under the specified account.
    • "Unauthorized" or "Authentication failed" — Check that the API key credential is valid and has necessary permissions.
    • "Network error" — Ensure that the ChatWoot server URL is correct and reachable.

Resolving these usually involves verifying input IDs, checking API credentials, and ensuring network access.

Links and References

Discussion