ChatWoot icon

ChatWoot

Interact with ChatWoot API

Actions113

Overview

This node operation allows you to remove one or more agents (users) from a specific team within an account. It is useful in scenarios where team membership needs to be updated dynamically, such as when agents leave a team or are reassigned. For example, if you manage customer support teams and want to revoke access for certain agents from a team, this operation facilitates that by deleting their association with the team.

Properties

Name Meaning
Account Id The numeric ID of the account to which the team belongs.
Team Id The ID of the team from which agents will be removed.
User Ids A JSON array containing the IDs of users (agents) to be deleted from the specified team.

Output

The output contains a JSON object representing the result of the delete operation. This typically includes confirmation of the users removed from the team or any relevant status messages returned by the API. There is no binary data output for this operation.

Dependencies

  • Requires an API key credential for authenticating requests to the ChatWoot API.
  • The base URL for the API must be configured in the node credentials.
  • The node uses HTTP requests with JSON payloads to interact with the ChatWoot service.

Troubleshooting

  • Invalid Account or Team ID: If the provided account or team ID does not exist or is incorrect, the API may return an error indicating the resource was not found. Verify these IDs before running the node.
  • Malformed User Ids JSON: The User Ids property expects a valid JSON array of user IDs. Invalid JSON syntax or incorrect formatting can cause request failures. Ensure the JSON is well-formed.
  • Authentication Errors: Missing or invalid API credentials will prevent the node from successfully communicating with the API. Confirm that the API key and base URL are correctly set.
  • Permission Issues: The authenticated user must have sufficient permissions to modify team memberships. Lack of permissions will result in authorization errors.

Links and References

Discussion