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 communication and support workflows. For example, a user might use this node to programmatically add a chatbot to their customer service platform, specifying its name, description, and webhook URL to handle outgoing messages.

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

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, associated account information, and webhook configuration. There is no indication that binary data is output by this node.

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 depends on the @devlikeapro/n8n-openapi-node package for OpenAPI integration.

Troubleshooting

  • Common issues:
    • Invalid or missing Account Id may cause the API call to fail.
    • Incorrect or unreachable Outgoing Url could result in webhook failures after creation.
    • Authentication errors if the API key or base URL is misconfigured.
  • Error messages:
    • "Unauthorized" or "Authentication failed": Check API key validity and permissions.
    • "Account not found": Verify the Account Id is correct and accessible.
    • "Invalid URL": Ensure the Outgoing Url is a valid and reachable webhook endpoint.

Links and References

Discussion