ChatWoot icon

ChatWoot

Interact with ChatWoot API

Actions113

Teams → Update A Team

AI-generated

Overview

The "Update A Team" operation in the Teams resource allows users to modify the details of an existing team within their account. This node is useful for managing team configurations dynamically, such as changing a team's name, description, or auto-assignment settings without manually updating them through the user interface.

Practical examples include:

  • Renaming a support team to reflect organizational changes.
  • Updating the description to provide clearer context about the team's responsibilities.
  • Enabling or disabling automatic assignment of conversations to agents within the team.

Properties

Name Meaning
Account Id The numeric ID of the account where the team exists.
Team Id The unique identifier of the team to be updated.
Name The new name for the team.
Description A textual description providing details about the team.
Allow Auto Assign Boolean flag indicating if conversations assigned to the team should automatically be assigned to an agent within that team (true or false).

Output

The node outputs JSON data representing the updated team object returned by the API after the update operation. This typically includes the team's current properties such as its ID, name, description, and auto-assign setting reflecting the changes made.

No binary data output is involved in this operation.

Dependencies

  • Requires an active connection to the ChatWoot API with proper authentication via an API key credential.
  • The base URL for the API must be configured in the node's credentials.
  • The node depends on the ChatWoot REST API endpoint for updating teams.

Troubleshooting

  • Invalid Account or Team ID: If the provided account or team ID does not exist or is incorrect, the API will return an error. Verify these IDs before running the node.
  • Authentication Errors: Missing or invalid API credentials will cause authentication failures. Ensure the API key and base URL are correctly set in the node credentials.
  • Permission Issues: The authenticated user must have permission to update teams in the specified account.
  • Empty Required Fields: The Account Id and Team Id fields are mandatory; leaving them empty will result in errors.
  • API Rate Limits: Frequent updates may hit API rate limits; handle such errors by implementing retries or backoff strategies.

Links and References

Discussion