Actions113
- 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
- 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
Overview
This node allows updating an existing Account Agent Bot in the ChatWoot system. 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 programmatically.
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 agent 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 update operation. This typically includes all the properties of the bot such as its ID, name, description, and outgoing URL reflecting the changes made. 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 unauthorized API credentials will result in authentication errors.
- Providing invalid URLs in the Outgoing Url property may cause webhook failures.
- Error messages:
- "Unauthorized" or "Authentication failed": Check that the API key credential is correct and has sufficient permissions.
- "Not Found" or "Agent bot not found": Verify that the Account Id and Agent Bot Id are correct and exist.
- "Invalid input": Ensure that all required fields are provided and valid, especially numeric IDs and URL formats.
Links and References
- ChatWoot API Documentation (for detailed API endpoints and payloads)
- Webhook Setup Guide (for configuring outgoing URLs)