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 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 bot logic into your messaging system.
For example, you might use this node to programmatically add a new chatbot that responds to common customer inquiries or routes messages to human agents based on certain triggers.
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.
If the node supports binary data output (not indicated here), it would represent any files or media associated with the bot, but in this case, the output is purely JSON.
Dependencies
- Requires an active connection to the ChatWoot API.
- Needs an API authentication token configured in n8n credentials to authorize requests.
- The base URL for the ChatWoot instance must be set in the credentials.
Troubleshooting
- Invalid or missing API credentials: Ensure that the API key/token and base URL are correctly configured in the node credentials.
- Webhook URL issues: The
Outgoing Urlmust be a valid, reachable URL; otherwise, the bot may fail to send messages. - API errors: If the API returns errors (e.g., duplicate bot name, invalid parameters), verify the input properties and consult ChatWoot API documentation for constraints.
- Network connectivity: Confirm that n8n can reach the ChatWoot server endpoint without firewall or proxy issues.