Actions113
- 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
- Contacts API Actions
- Inbox API Actions
- Conversations API Actions
- Messages API Actions
- CSAT Survey Page Actions
- Account Agent Bots Actions
- Agents Actions
- Canned Responses Actions
- Custom Attributes Actions
- Canned Response Actions
Overview
This node allows updating an existing Agent Bot in the ChatWoot system. It is useful when you need to modify details of a bot such as its name, description, or webhook URL without creating a new bot from scratch. Typical use cases include changing the bot's display name for clarity, updating the description to reflect new functionalities, or modifying the outgoing webhook URL to point to a new endpoint.
For example, if your support team changes the bot’s behavior and you want to update the bot’s metadata accordingly, this node lets you do that programmatically within an n8n workflow.
Properties
| Name | Meaning |
|---|---|
| Id | The unique 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 agent bot object returned by the ChatWoot API. This typically includes the bot’s ID, updated name, description, outgoing URL, and other metadata fields as provided by the API response.
No binary data output is involved.
Dependencies
- Requires an API key credential for authenticating with the ChatWoot API.
- The node uses the base URL configured in the credentials to send requests.
- The node depends on the ChatWoot REST API being accessible and properly configured.
Troubleshooting
- Invalid or missing Id: If the
Idproperty is not provided or incorrect, the API will fail to find the bot to update. Ensure the correct bot ID is used. - Authentication errors: If the API key or base URL is misconfigured, authentication will fail. Verify credentials are correctly set up.
- Invalid webhook URL: Providing an invalid URL format for the
Outgoing Urlmay cause the update to fail or the bot to malfunction. - Empty updates: If no properties besides
Idare provided, the API might reject the request or make no changes. Always provide at least one field to update.
Links and References
- ChatWoot API Documentation - For detailed API endpoints and payload structures.
- n8n Documentation - For general guidance on using and configuring nodes.