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 you to create a new Agent Bot in the ChatWoot platform. An Agent Bot is an automated entity that can interact with customers, typically used to handle common queries, route conversations, or provide instant responses without human intervention. This node is beneficial for automating customer support workflows and improving response times.
Practical examples include:
- Creating a bot that automatically greets users when they start a chat.
- Setting up a bot to collect initial information before routing to a human agent.
- Automating responses to frequently asked questions.
Properties
| Name | Meaning |
|---|---|
| Name | The name of the agent bot to be created. |
| Description | A textual description providing details about the agent bot. |
| 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, status, 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 this node primarily deals with JSON data.
Dependencies
- Requires an active ChatWoot account and API access.
- Needs an API authentication token configured in n8n credentials to authorize requests.
- The node uses the ChatWoot REST API endpoint specified by the user's credentials URL.
- No additional external dependencies beyond the ChatWoot API.
Troubleshooting
- Invalid or missing API credentials: Ensure the API key/token is correctly set up in n8n credentials and has sufficient permissions.
- Webhook URL issues: The
Outgoing Urlmust be a valid, reachable URL; otherwise, the bot may fail to send messages. - API errors on creation: Check that all required fields (
Name, at minimum) are provided and valid. - Network connectivity problems: Verify that n8n can reach the ChatWoot API endpoint and the webhook URL.
Common error messages might include HTTP 401 Unauthorized (invalid credentials), 400 Bad Request (missing or invalid parameters), or connection timeouts.