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
This node updates an existing Agent Bot in the ChatWoot system. It allows users to modify properties such as the bot's name, description, and webhook URL by specifying the bot's unique identifier. This operation is useful for maintaining or improving automated agents that interact with customers, ensuring their information and integration endpoints remain current.
Practical examples include:
- Changing the display name of a bot to reflect a new campaign.
- Updating the description to provide more context about the bot’s purpose.
- Modifying the outgoing webhook URL to point to a new service endpoint after infrastructure changes.
Properties
| Name | Meaning |
|---|---|
| Id | The unique numeric identifier of the agent bot to be updated (required). |
| Name | The new name to assign to the agent bot. |
| Description | A textual description providing details about the agent bot. |
| Outgoing Url | The webhook URL where the bot sends outgoing messages or events. |
Output
The node outputs JSON data representing the updated state of the agent bot after the update operation completes successfully. This typically includes the bot's ID, name, description, outgoing URL, and possibly other metadata returned by the ChatWoot API.
No binary data output is involved in this operation.
Dependencies
- Requires an active connection to the ChatWoot API.
- Needs an API authentication token configured in the node credentials to authorize requests.
- The base URL for the ChatWoot instance must be set in the credentials configuration.
Troubleshooting
- Invalid Id: If the provided bot ID does not exist, the API will return an error indicating the resource was not found. Verify the ID before running the node.
- Authentication Errors: Missing or invalid API credentials will cause authorization failures. Ensure the API key/token is correctly configured.
- Invalid URL Format: Providing an improperly formatted webhook URL may result in validation errors. Confirm the URL is valid and reachable.
- Empty Required Fields: The 'Id' property is mandatory; omitting it will prevent the node from executing properly.
Links and References
- ChatWoot API Documentation - Official API reference for managing agent bots and other resources.
- n8n Documentation - General guidance on using n8n nodes and credentials.