ChatWoot icon

ChatWoot

Interact with ChatWoot API

Actions113

Contacts → Contact Details

AI-generated

Overview

This node interacts with the ChatWoot API to retrieve detailed information about a specific contact within an account. It is useful in scenarios where you need to fetch and display or process comprehensive data about a contact, such as in customer support workflows, CRM integrations, or automated reporting systems.

For example, you might use this node to:

  • Retrieve contact details before sending a personalized message.
  • Sync contact information from ChatWoot into another system.
  • Display contact info in a dashboard for support agents.

Properties

Name Meaning
Account Id The numeric ID of the account containing the contact. This identifies which account's contacts are being accessed.
Id The unique numeric ID of the contact whose details are to be retrieved.

Output

The node outputs JSON data representing the full details of the specified contact. This typically includes fields such as the contact's name, email, phone number, status, custom attributes, and any other metadata provided by the ChatWoot API for that contact.

If the node supports binary data output (not indicated here), it would represent attachments or media related to the contact, but based on the provided code and properties, the output is purely JSON.

Dependencies

  • Requires an active connection to the ChatWoot API.
  • Needs an API authentication token configured in the node credentials to authorize requests.
  • The base URL for the ChatWoot instance must be set in the credentials configuration.

Troubleshooting

  • Invalid Account Id or Contact Id: If either ID is incorrect or does not exist, the API will likely return an error indicating the resource was not found. Verify the IDs before running the node.
  • Authentication Errors: Missing or invalid API credentials will cause authorization failures. Ensure the API key/token is correctly configured.
  • Network Issues: Connectivity problems to the ChatWoot server can cause timeouts or request failures. Check network access and endpoint availability.
  • API Rate Limits: Excessive requests may trigger rate limiting; handle such errors by implementing retries or backoff strategies.

Links and References

Discussion