Actions113
- 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
- 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
- Webhooks Actions
- Teams Actions
- Custom Filters Actions
- Reports Actions
Overview
This node allows you to create a new team within an account on the ChatWoot platform. It is useful for organizing agents into groups to manage conversations more efficiently. For example, you can create teams based on departments like Sales, Support, or Marketing, and assign conversations automatically to agents within those teams.
Properties
| Name | Meaning |
|---|---|
| Account Id | The numeric ID of the account where the team will be created. |
| Name | The name of the team to be created (e.g., "Support Team"). |
| Description | A textual description of the team’s purpose or role. |
| Allow Auto Assign | Boolean flag indicating if conversations assigned to the team should be automatically assigned to an agent within that team. |
Output
The node outputs JSON data representing the newly created team object as returned by the ChatWoot API. This typically includes details such as the team's unique identifier, name, description, and settings like auto-assign status.
No binary data output is involved.
Dependencies
- Requires an API key credential for authenticating with the ChatWoot API.
- The base URL for the ChatWoot instance must be configured in the credentials.
- The node uses the ChatWoot REST API endpoint for creating teams.
Troubleshooting
- Invalid Account Id: If the provided account ID does not exist or is incorrect, the API will return an error. Verify the account ID before running the node.
- Authentication Errors: Ensure the API key credential is valid and has sufficient permissions to create teams.
- Missing Required Fields: The "Account Id" and "Name" fields are required. Omitting them will cause the request to fail.
- API Rate Limits: If many requests are made in a short time, the API might throttle requests. Implement retry logic or reduce request frequency.
Links and References
- ChatWoot API Documentation - Official API docs for managing teams and other resources.
- n8n Documentation - General information on how to use n8n nodes and credentials.