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 update an existing Account Agent Bot within the ChatWoot platform. It is useful for scenarios where you need to modify details of a bot associated with a specific account, such as changing its name, description, or webhook URL. For example, if you want to update the outgoing webhook URL that the bot uses to communicate with external services, this node facilitates that update seamlessly.
Properties
| Name | Meaning |
|---|---|
| Account Id | The numeric ID of the account to which the agent bot belongs. |
| Id | The unique identifier of the agent bot that you want to update. |
| Name | The new name for the agent bot. |
| Description | A textual description providing details about the agent bot. |
| Outgoing Url | The webhook URL that the bot will use to send outgoing requests or notifications. |
Output
The node outputs JSON data representing the updated state of the Account Agent Bot after the operation completes successfully. This typically includes the bot's updated properties such as its ID, name, description, and outgoing URL. There is no indication that the node outputs binary data.
Dependencies
- Requires an API key credential for authenticating with the ChatWoot API.
- The base URL for the ChatWoot instance must be configured in the node credentials.
- The node depends on the ChatWoot REST API being accessible and properly configured to allow updates to agent bots.
Troubleshooting
- Common Issues:
- Invalid or missing Account Id or Agent Bot Id can cause the update to fail.
- Incorrect or malformed webhook URLs may result in errors or unexpected behavior.
- Insufficient permissions or invalid API credentials will prevent successful updates.
- Error Messages:
- "Unauthorized" or authentication errors indicate issues with the API key or credentials.
- "Not Found" errors suggest that the specified Account Id or Agent Bot Id does not exist.
- Validation errors may occur if required fields are missing or contain invalid data.
- Resolution Tips:
- Verify that the Account Id and Agent Bot Id are correct and exist in your ChatWoot instance.
- Ensure the API key credential is valid and has sufficient permissions.
- Double-check the format of the webhook URL and other input fields before running the node.
Links and References
- ChatWoot API Documentation (for detailed API usage and endpoints)
- n8n Documentation (for general guidance on using n8n nodes and credentials)