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 integrates with the ChatWoot API to create a new Account Agent Bot within a specified account. It is useful for automating the setup of chatbots that can interact with customers on behalf of an account, enabling streamlined customer support and engagement workflows. For example, a user can create a bot that automatically responds to common queries or routes conversations to human agents when needed.
Properties
| Name | Meaning |
|---|---|
| Account Id | The numeric ID of the account where the agent bot will be created (required). |
| Name | The name assigned to the new 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 messages or events. |
Output
The node outputs JSON data representing the newly created Account Agent Bot as returned by the ChatWoot API. This typically includes details such as the bot's unique identifier, name, description, webhook URL, and other metadata related to the bot configuration.
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.
Troubleshooting
- Invalid Account Id: If the provided account ID does not exist or is incorrect, the API will return an error. Verify the account ID before running the node.
- Authentication Errors: Missing or invalid API credentials will cause authorization failures. Ensure the API key/token is correctly configured.
- Webhook URL Issues: Providing an invalid or unreachable outgoing URL may cause the bot to malfunction. Confirm the URL is accessible and correctly formatted.
- Missing Required Fields: The "Account Id" is mandatory; omitting it will result in an error. Make sure all required properties are filled.
Links and References
- ChatWoot API Documentation - Official API docs for further details on creating and managing agent bots.
- n8n Documentation - General guidance on using n8n nodes and setting up credentials.