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
The node interacts with the ChatWoot API to update an Agent Bot associated with a specific inbox within an account. This operation is useful when you need to change or assign a different agent bot to an inbox, enabling automated handling of conversations in that inbox.
Practical examples include:
- Assigning a new chatbot to handle incoming messages for a support inbox.
- Updating the bot configuration when switching automation strategies.
- Managing multiple inboxes and their respective bots programmatically.
Properties
| Name | Meaning |
|---|---|
| Account Id | The numeric ID of the ChatWoot account where the inbox exists. |
| Id | The numeric ID of the inbox whose agent bot you want to update. |
| Agent Bot | The numeric ID of the agent bot to assign to the specified inbox. |
Output
The node outputs JSON data representing the updated inbox resource after the agent bot has been changed. This typically includes details such as the inbox ID, assigned agent bot ID, and other inbox metadata returned by the ChatWoot API.
No binary data output is expected from this operation.
Dependencies
- Requires an active ChatWoot API key credential configured in n8n.
- The node depends on the ChatWoot REST API endpoint URL provided via credentials.
- Network access to the ChatWoot API service is necessary.
Troubleshooting
- Invalid Account or Inbox ID: If the provided account or inbox ID does not exist or is incorrect, the API will return an error. Verify IDs before running the node.
- Agent Bot ID Not Found: Ensure the agent bot ID exists and is valid within the given account.
- Authentication Errors: Check that the API key credential is correctly set up and has sufficient permissions.
- Network Issues: Confirm network connectivity to the ChatWoot API endpoint.
- API Rate Limits: Be aware of any rate limits imposed by ChatWoot which might cause request failures.
Links and References
- ChatWoot API Documentation (for detailed API usage and parameters)
- n8n Documentation (for general guidance on using API nodes and credentials)