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
- Teams Actions
- Custom Filters Actions
- Webhooks Actions
- Reports Actions
Overview
This node integrates with the ChatWoot API to assign a conversation to either a specific user or a team within an account. It is useful in customer support workflows where conversations need to be routed to the appropriate agent or group for handling. For example, when a new customer inquiry arrives, this node can automatically assign it to a particular support agent or a team responsible for that topic.
Properties
| Name | Meaning |
|---|---|
| Account Id | The numeric ID of the ChatWoot account where the conversation exists. |
| Conversation Id | The numeric ID of the conversation to be assigned. |
| Assignee Id | The numeric ID of the user to whom the conversation will be assigned. If provided, overrides Team Id. |
| Team Id | The numeric ID of the team to which the conversation will be assigned if no assignee user is specified. |
Output
The node outputs JSON data representing the result of the assignment operation as returned by the ChatWoot API. This typically includes details about the updated conversation, such as its new assignee or team assignment status. The output does not include binary data.
Dependencies
- Requires an API key credential for authenticating with the ChatWoot API.
- The base URL of the ChatWoot instance must be configured in the node credentials.
- The node uses the ChatWoot REST API endpoint for assigning conversations.
Troubleshooting
- Missing or invalid Account Id or Conversation Id: Ensure these IDs are correct and correspond to existing entities in your ChatWoot account.
- Assignee or Team not found: Verify that the assignee user ID or team ID exists and that you have permission to assign conversations to them.
- Authentication errors: Confirm that the API key credential is valid and has sufficient permissions.
- API connectivity issues: Check network access to the ChatWoot instance URL and ensure it is reachable from n8n.
- Conflicting parameters: If both Assignee Id and Team Id are provided, the node prioritizes Assignee Id. To assign to a team, omit the Assignee Id.