ChatWoot icon

ChatWoot

Interact with ChatWoot API

Actions113

Agents → Delete Agent From Account

AI-generated

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 remove agents who no longer require access or are no longer part of a team managing customer conversations. For example, automating the cleanup of user accounts when employees leave a company or when restructuring teams.

Properties

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

Output

The node outputs JSON data representing the result of the delete operation. Typically, this would include 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 node credentials.
  • The node depends on the @devlikeapro/n8n-openapi-node package and uses an OpenAPI specification (openapi.json) to define its operations.

Troubleshooting

  • Common issues:

    • Invalid or missing API credentials can cause authentication failures.
    • Providing incorrect account or agent IDs may result in errors indicating that the resource was not found.
    • Network connectivity problems can prevent the node from reaching the ChatWoot API.
  • Error messages:

    • "Unauthorized" or similar indicates invalid API credentials; verify and update the API key.
    • "Not Found" suggests the specified account or agent ID does not exist; double-check the IDs.
    • Timeout or network errors suggest connectivity issues; ensure the ChatWoot server is reachable.

Links and References

Discussion