ChatWoot icon

ChatWoot

Interact with ChatWoot API

Actions113

Overview

This node operation allows you to remove one or more agents (users) from a specific inbox within an account in ChatWoot. It is useful for managing team members' access to customer conversations by revoking their permissions to participate in or view messages in that inbox.

Common scenarios include:

  • Removing agents who no longer handle conversations in a particular inbox.
  • Managing agent assignments dynamically based on workload or role changes.
  • Cleaning up inbox memberships when reorganizing teams.

For example, if an agent leaves the support team responsible for a product line, this operation can be used to delete their user ID from the corresponding inbox, ensuring they no longer receive notifications or have access.

Properties

Name Meaning
Account Id The numeric identifier of the ChatWoot account where the inbox exists.
Inbox Id The unique identifier of the inbox from which agents will be removed.
User Ids A JSON array containing the IDs of users (agents) to be deleted from the specified inbox.

Output

The node outputs JSON data representing the response from the ChatWoot API after attempting to delete the specified agents from the inbox. This typically includes confirmation of success or details about any errors encountered.

No binary data output is involved in this operation.

Dependencies

  • Requires an active connection to the ChatWoot API.
  • Needs an API authentication token configured in the node credentials to authorize requests.
  • The base URL for the ChatWoot instance must be set in the credentials.

Troubleshooting

  • Invalid Account or Inbox ID: If the provided account or inbox ID does not exist or is incorrect, the API will return an error. Verify these IDs before running the node.
  • User IDs Format: The User Ids property expects a valid JSON array of numeric or string IDs. Malformed JSON or invalid user IDs may cause request failures.
  • Authentication Errors: Ensure the API key credential is correctly configured and has sufficient permissions to modify inbox memberships.
  • Network Issues: Connectivity problems with the ChatWoot server will prevent successful execution.

Links and References

Discussion