ChatWoot icon

ChatWoot

Interact with ChatWoot API

Actions113

Agent Bots → Create An Agent Bot

AI-generated

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, reducing response times, and improving user engagement.

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'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, 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 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 provided Outgoing Url must be reachable and accept incoming requests; otherwise, the bot may not function properly.
  • Missing required fields: The "Name" property is essential; omitting it may cause the API to reject the request.
  • API errors: If the ChatWoot API returns errors, check the error message for details such as rate limits, invalid parameters, or server issues.

Links and References

Discussion