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
Inboxes → Update Agents In Inbox
AI-generatedOverview
This node interacts with the ChatWoot API to update the list of agents assigned to a specific inbox within an account. It allows users to add or modify which agents (users) have access to handle conversations in that inbox. This is useful for managing team assignments dynamically, ensuring the right agents are linked to the correct communication channels.
Practical examples:
- Adding new support agents to a customer service inbox after hiring.
- Updating agent assignments when teams are reorganized.
- Automating inbox-agent mappings based on business rules or schedules.
Properties
| Name | Meaning |
|---|---|
| Account Id | The numeric ID of the ChatWoot account where the inbox exists. |
| Inbox Id | The unique identifier of the inbox to update. |
| User Ids | A JSON array containing the IDs of users (agents) to be added to the inbox. |
Output
The node outputs JSON data representing the response from the ChatWoot API after updating the agents in the specified inbox. This typically includes confirmation of the updated inbox details and the list of assigned agents.
If the API supports it, binary data output is not expected for this operation.
Dependencies
- Requires an active connection to the ChatWoot API.
- Needs an API authentication token configured in the node credentials.
- The base URL for the ChatWoot instance must be set in the credentials.
Troubleshooting
- Invalid Account or Inbox ID: Ensure the provided Account Id and Inbox Id exist and are correct; otherwise, the API will return errors.
- Malformed User Ids JSON: The User Ids property expects a valid JSON array of user IDs. Invalid JSON will cause parsing errors.
- Authentication Errors: Verify that the API key or token is correctly configured and has sufficient permissions to update inbox agents.
- API Rate Limits: Frequent updates may hit rate limits imposed by ChatWoot; consider adding delays or retries.