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 you to create a new Agent Bot in the ChatWoot platform. An Agent Bot is an automated entity that can interact with customers, handle conversations, or perform specific tasks within your chat environment. This node is useful for automating customer support workflows, setting up chatbots for FAQs, or integrating custom webhook-based bots.
For example, you might use this node to programmatically add a new bot that responds to incoming messages with predefined answers or triggers external services via webhooks.
Properties
| Name | Meaning |
|---|---|
| Name | The name of the agent bot to be created. |
| Description | A textual description providing details about the agent bot's purpose or behavior. |
| Outgoing Url | The webhook URL where the bot will send outgoing messages or events. |
Output
The node outputs JSON data representing the newly created Agent Bot object as returned by the ChatWoot API. This typically includes the bot's unique identifier, name, description, webhook URL, and other metadata related to the bot configuration.
No binary data output is involved.
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 for creating agent bots.
Troubleshooting
- Invalid or missing API credentials: Ensure that the API key and base URL are correctly set in the node credentials.
- Webhook URL issues: The provided outgoing URL must be reachable and accept requests from ChatWoot; otherwise, the bot may not function properly.
- API errors: If the API returns errors (e.g., validation errors on the name or URL), verify that all required fields are correctly filled and conform to expected formats.
- Network connectivity: Confirm that n8n has network access to the ChatWoot server.
Links and References
- ChatWoot API Documentation
- ChatWoot Agent Bots Guide (for conceptual understanding)