ChatWoot icon

ChatWoot

Interact with ChatWoot API

Actions113

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 needed.

Properties

Name Meaning
Account Id The numeric ID of the account where the agent bot will be created (required).
Name The name assigned to the new agent bot.
Description A textual description providing details about the agent bot.
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.

No binary data output is involved in this operation.

Dependencies

  • Requires an active connection to the ChatWoot API.
  • Needs an API authentication token configured in the node credentials to authorize requests.
  • The base URL for the ChatWoot instance must be set in the credentials.

Troubleshooting

  • Invalid Account Id: If the provided account ID does not exist or is incorrect, the API will return an error. Verify the account ID before running the node.
  • Authentication Errors: Missing or invalid API credentials will cause authorization failures. Ensure the API key/token is correctly configured.
  • Webhook URL Issues: Providing an invalid or unreachable outgoing URL may cause the bot to malfunction. Confirm the URL is accessible and correctly formatted.
  • Missing Required Fields: The "Account Id" is mandatory; omitting it will result in an error. Make sure all required properties are filled.

Links and References

Discussion