Actions113
- Account Agent Bots Actions
- Agents Actions
- Canned Responses Actions
- Canned Response Actions
- Custom Attributes Actions
- Contacts Actions
- Contact Actions
- Automation Rule Actions
- Help Center Actions
- Conversations Actions
- Conversation Assignment Actions
- Conversation Labels Actions
- Inboxes Actions
- Messages Actions
- Integrations Actions
- Teams Actions
- Custom Filters Actions
- Webhooks Actions
- Reports Actions
- Accounts Actions
- Account Users Actions
- Agent Bots Actions
- Users Actions
- Inbox API Actions
- Contacts API Actions
- Conversations API Actions
- Messages API Actions
- CSAT Survey Page Actions
Overview
This node interacts with the ChatWoot API to update the list of agents (users) assigned to a specific team within an account. It is useful in scenarios where you need to programmatically manage team membership, such as adding multiple users to a team for customer support or collaboration purposes.
For example, if your organization frequently changes team compositions based on project needs or shifts in workload, this node can automate updating team members without manual intervention in the ChatWoot dashboard.
Properties
| Name | Meaning |
|---|---|
| Account Id | The numeric ID of the ChatWoot account that owns the team. |
| Team Id | The numeric ID of the team whose agents you want to update. |
| User Ids | A JSON array containing the IDs of users to be added to the specified team. |
Output
The node outputs JSON data representing the result of the update operation from the ChatWoot API. This typically includes confirmation of the updated team details and the list of agents now assigned to the team.
No binary data output is produced by this node.
Dependencies
- Requires an API key credential for authenticating with the ChatWoot API.
- The node expects the base URL of the ChatWoot instance to be configured in the credentials.
- The node uses the ChatWoot REST API endpoint for teams to perform the update operation.
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 in your ChatWoot dashboard.
- Malformed User IDs JSON: The
User Idsproperty must be a valid JSON array of user IDs. Invalid JSON or incorrect formatting will cause parsing errors. - Authentication Errors: Ensure the API key credential is correctly set up and has sufficient permissions to modify teams.
- API Rate Limits: Frequent updates may hit rate limits imposed by ChatWoot. Implement retry logic or reduce request frequency if needed.