ChatWoot icon

ChatWoot

Interact with ChatWoot API

Actions113

Overview

This node interacts with the ChatWoot API to delete an agent from a specified account. It is useful in scenarios where you need to programmatically manage agents within your ChatWoot workspace, such as removing users who no longer require access or automating cleanup tasks.

For example, if you have an automated workflow that deactivates employees and you want to ensure their agent accounts are removed from ChatWoot, this node can be used to delete those agents by specifying their account and agent IDs.

Properties

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

Output

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

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 depends on the ChatWoot REST API being accessible and the provided account and agent IDs being valid.

Troubleshooting

  • Invalid Account or Agent ID: If the IDs provided do not exist or are incorrect, the API will return an error. Verify the IDs before running the node.
  • Authentication Errors: Ensure the API key credential is correctly set up and has sufficient permissions to delete agents.
  • Network Issues: Connectivity problems with the ChatWoot API endpoint may cause failures. Check network access and API availability.
  • Permission Denied: The authenticated user might lack permission to delete agents in the specified account. Confirm user roles and permissions in ChatWoot.

Links and References

Discussion