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 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 necessary.
Properties
| Name | Meaning |
|---|---|
| Account Id | The numeric ID of the account where the agent bot will be created. |
| Name | The name assigned to the new agent bot. |
| Description | A textual description providing details about the agent bot's purpose or behavior. |
| 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.
If the API supports it, binary data output is not indicated in this implementation.
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 uses the ChatWoot REST API endpoint to perform the creation operation.
Troubleshooting
- Invalid Account Id: If the provided account ID does not exist or the API key lacks permission, the request will fail. Verify the account ID and ensure the API key has appropriate access.
- Missing Required Fields: The "Account Id" is mandatory; omitting it will cause errors. Ensure all required properties are set.
- Webhook URL Issues: Providing an invalid or unreachable outgoing URL may cause the bot to malfunction after creation. Confirm the URL is correct and accessible.
- API Authentication Errors: Incorrect or expired API keys will result in authentication failures. Update or reconfigure credentials as needed.
Links and References
- ChatWoot API Documentation (for detailed API usage and bot management)
- n8n Documentation (for general guidance on using custom nodes and credentials)