ChatWoot icon

ChatWoot

Interact with ChatWoot API

Actions100

Overview

This node interacts with the ChatWoot API to retrieve details of a single agent bot associated with a specific account. It is useful in scenarios where you need to fetch information about an individual agent bot, such as for monitoring, reporting, or integrating agent bot data into other workflows. For example, you might use this node to display agent bot details in a dashboard or to trigger further automation based on the bot's configuration.

Properties

Display Name Type Description
Account Id Number The numeric ID of the account.
Id Number The ID of the agentbot to be updated.

Both properties are required and must be provided to successfully retrieve the agent bot details.

Output

The output will be a JSON object containing the details of the specified agent bot. The structure typically includes fields such as the bot's ID, name, status, and other relevant metadata as returned by the ChatWoot API. The exact fields depend on the API response but generally reflect all available information about the agent bot.

Dependencies

  • External Service: Requires access to the ChatWoot API.
  • API Credentials: You must configure the chatwootApi credentials in n8n, including the base URL (url) and any necessary authentication tokens.
  • n8n Configuration: Ensure that the ChatWoot node is properly installed and configured within your n8n instance.

Troubleshooting

  • Missing or Invalid Credentials: If the chatwootApi credentials are not set up correctly, the node will fail to connect to the ChatWoot API. Double-check your API key and base URL.
  • Invalid Account Id or Agent Bot Id: Providing incorrect IDs will result in errors from the API, such as "Not Found" or "Invalid ID". Verify that both the Account Id and Id correspond to existing resources in your ChatWoot instance.
  • Network Issues: Connectivity problems between n8n and the ChatWoot server can cause timeouts or connection errors. Ensure network accessibility.

Links and References

Discussion