ChatWoot icon

ChatWoot

Interact with ChatWoot API

Actions113

Overview

This node allows updating an existing Agent Bot in the ChatWoot system. It is useful when you need to modify details of a bot such as its name, description, or webhook URL without creating a new bot from scratch. Typical use cases include changing the bot's display name for clarity, updating the description to reflect new functionalities, or modifying the outgoing webhook URL to point to a new endpoint.

For example, if your support team changes the bot’s behavior and you want to update the bot’s metadata accordingly, this node lets you do that programmatically within an n8n workflow.

Properties

Name Meaning
Id The unique identifier of the agent bot to be updated (required).
Name The new name to assign to the agent bot.
Description A textual description providing details about the agent bot.
Outgoing Url The webhook URL where the bot sends outgoing messages or events.

Output

The node outputs JSON data representing the updated agent bot object returned by the ChatWoot API. This typically includes the bot’s ID, updated name, description, outgoing URL, and other metadata fields as provided by the API response.

No binary data output is involved.

Dependencies

  • Requires an API key credential for authenticating with the ChatWoot API.
  • The node uses the base URL configured in the credentials to send requests.
  • The node depends on the ChatWoot REST API being accessible and properly configured.

Troubleshooting

  • Invalid or missing Id: If the Id property is not provided or incorrect, the API will fail to find the bot to update. Ensure the correct bot ID is used.
  • Authentication errors: If the API key or base URL is misconfigured, authentication will fail. Verify credentials are correctly set up.
  • Invalid webhook URL: Providing an invalid URL format for the Outgoing Url may cause the update to fail or the bot to malfunction.
  • Empty updates: If no properties besides Id are provided, the API might reject the request or make no changes. Always provide at least one field to update.

Links and References

Discussion