ChatWoot icon

ChatWoot

Interact with ChatWoot API

Actions113

Overview

This node interacts with the ChatWoot API to retrieve conversations related to a specific contact within an account. It is useful for scenarios where you want to fetch all chat conversations or message threads associated with a particular contact in your customer support or CRM system powered by ChatWoot. For example, a user might use this node to display conversation history of a contact before responding or to analyze communication patterns.

Properties

Name Meaning
Account Id The numeric ID of the ChatWoot account.
Id The numeric ID of the contact whose conversations are to be retrieved.

Output

The node outputs JSON data representing the contact's conversations fetched from the ChatWoot API. This typically includes details such as conversation IDs, messages, timestamps, status, and other metadata related to each conversation thread. 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 credentials.
  • Depends on the @devlikeapro/n8n-openapi-node package for building request properties and handling OpenAPI specifications.

Troubleshooting

  • Common issues:
    • Invalid or missing API credentials will cause authentication failures.
    • Incorrect Account Id or Contact Id values may result in empty responses or errors indicating resource not found.
    • Network connectivity problems can prevent successful API calls.
  • Error messages:
    • Authentication errors usually indicate invalid API keys or misconfigured credentials.
    • "Not Found" errors suggest the specified account or contact does not exist.
    • Timeout or network errors imply connectivity issues; verify network access and endpoint availability.

Links and References

Discussion