ChatWoot icon

ChatWoot

Interact with ChatWoot API

Actions113

Messages → List All Messages

AI-generated

Overview

This node interacts with the ChatWoot API to list all messages within a specific conversation of a given account. It is useful for retrieving message histories, monitoring conversations, or integrating ChatWoot messaging data into workflows. For example, you might use this node to fetch all messages from a customer support conversation to analyze chat interactions or trigger follow-up actions based on message content.

Properties

Name Meaning
Account Id The numeric ID of the ChatWoot account to query messages from. This identifies which account's conversations are accessed.
Conversation Id The numeric ID of the specific conversation whose messages you want to list.

Output

The node outputs JSON data representing the list of messages retrieved from the specified conversation. Each item in the output typically contains details about individual messages such as message content, sender information, timestamps, and message status. There is no indication that binary data is returned by this operation.

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 ChatWoot REST API being accessible and the provided account and conversation IDs being valid.

Troubleshooting

  • Invalid Account or Conversation ID: If the IDs are incorrect or do not exist, the API will likely return an error or empty results. Verify the IDs before running the node.
  • Authentication Errors: Ensure the API key credential is correctly set up and has sufficient permissions to access messages.
  • Network Issues: Connectivity problems to the ChatWoot server can cause request failures.
  • API Rate Limits: Excessive requests may lead to rate limiting; handle such errors by adding retries or delays.

Links and References

Discussion