ChatWoot icon

ChatWoot

Interact with ChatWoot API

Actions113

Overview

This node interacts with the ChatWoot API to retrieve information about contactable inboxes associated with a specific contact within an account. It is useful in scenarios where you need to programmatically access the inboxes through which a contact can be reached, for example, to display available communication channels or to automate messaging workflows.

A practical example would be fetching all inboxes linked to a customer contact in order to send targeted notifications or to analyze which channels are most frequently used by that contact.

Properties

Name Meaning
Account Id The numeric ID of the account to which the contact belongs.
Id The unique numeric ID of the contact whose contactable inboxes you want to retrieve.

Output

The node outputs JSON data representing the list of contactable inboxes for the specified contact. This typically includes details such as inbox identifiers, names, and possibly metadata describing each inbox (e.g., type of channel like email, chat, social media).

No binary data output is expected from 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 @devlikeapro/n8n-openapi-node package for OpenAPI integration.

Troubleshooting

  • Common issues:

    • Invalid or missing API credentials will cause authentication failures.
    • Providing incorrect account or contact IDs may result in "not found" errors.
    • Network connectivity problems can prevent successful API calls.
  • Error messages and resolutions:

    • 401 Unauthorized: Check that the API key credential is correctly set and has sufficient permissions.
    • 404 Not Found: Verify that the provided Account Id and Contact Id exist in the ChatWoot system.
    • Timeouts or network errors: Ensure that the ChatWoot server URL is reachable and there are no firewall restrictions.

Links and References

Discussion