ChatWoot icon

ChatWoot

Interact with ChatWoot API

Actions100

Overview

This node allows you to retrieve detailed information about a specific team within a ChatWoot account. It is useful in scenarios where you need to fetch and process team details for automation, reporting, or integration with other systems. For example, you might use this node to display team information in dashboards, trigger workflows based on team attributes, or synchronize team data with external databases.

Properties

Display Name Type Description
Account Id Number The numeric ID of the ChatWoot account.
Team Id Number The ID of the team whose details are needed.

Both properties are required to identify the exact team within your ChatWoot environment.

Output

The output will be a JSON object containing the details of the specified team. The structure typically includes fields such as:

{
  "id": 123,
  "name": "Support Team",
  "description": "Handles customer support queries",
  "account_id": 456,
  // ...other team-specific fields
}

The actual fields may vary depending on the ChatWoot API response, but you can expect standard team metadata.

Dependencies

  • External Service: Requires access to a ChatWoot instance.
  • API Credentials: You must configure the chatwootApi credential in n8n, including the base URL (url) and authentication details.
  • n8n Configuration: Ensure that the credentials are set up in the n8n credential manager.

Troubleshooting

  • Missing or Invalid Credentials: If the chatwootApi credential is not configured or incorrect, the node will fail to connect to ChatWoot. Double-check your API key and base URL.
  • Invalid Account Id or Team Id: Providing an incorrect or non-existent Account Id or Team Id will result in errors such as "Team not found" or similar messages from the ChatWoot API.
  • Network Issues: Connectivity problems between n8n and your ChatWoot instance can cause timeouts or connection errors.

Links and References

Discussion