Actions113
- 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
- Contacts API Actions
- Inbox API Actions
- Conversations API Actions
- Messages API Actions
- CSAT Survey Page Actions
- Account Agent Bots Actions
- Agents Actions
- Canned Responses Actions
- Custom Attributes Actions
- Canned Response Actions
Overview
This node interacts 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 team for handling. For example, when a new customer message arrives, this node can automatically assign the conversation to a designated support agent or escalate it to a specialized team.
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, team assignment is ignored. |
| 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 response from the ChatWoot API after attempting to assign the conversation. This typically includes details about the updated conversation 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 credentials.
- The node depends on the ChatWoot REST API being accessible and properly configured.
Troubleshooting
- Common issues:
- Invalid or missing API credentials will cause authentication errors.
- Providing both
assignee_idandteam_idmay lead to unexpected behavior; the node prioritizesassignee_id. - Using incorrect numeric IDs (account, conversation, assignee, or team) will result in "not found" or similar API errors.
- Error messages:
- Authentication failures: Verify that the API key and base URL are correct.
- Resource not found: Confirm that the account, conversation, user, or team IDs exist in ChatWoot.
- Validation errors: Ensure required fields (
account_id,conversation_id) are provided and valid numbers.