ChatWoot icon

ChatWoot

Interact with ChatWoot API

Actions113

Overview

This node interacts with the ChatWoot API to list all messages within a specific conversation of an account. It is useful for retrieving message histories, monitoring conversations, or exporting chat data for analysis or backup purposes. For example, customer support teams can use this node to fetch all messages from a particular conversation to review past interactions or generate reports.

Properties

Name Meaning
Account Id The numeric ID of the ChatWoot account from which to retrieve messages.
Conversation Id The numeric ID of the conversation whose messages you want to list.

Output

The node outputs a JSON array containing the messages retrieved from the specified conversation. Each message object typically includes details such as message content, sender information, timestamps, and any metadata provided by the ChatWoot API. The output does not include binary data.

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

  • Missing or invalid Account Id or Conversation Id: Ensure that both IDs are correctly provided and correspond to existing entities in your ChatWoot instance.
  • Authentication errors: Verify that the API key credential is valid and has sufficient permissions.
  • Network or connectivity issues: Check that the ChatWoot server URL is reachable from your n8n environment.
  • Empty results: If no messages are returned, confirm that the conversation contains messages and that the IDs are correct.

Links and References

Discussion