ChatWoot icon

ChatWoot

Interact with ChatWoot API

Actions113

Overview

This node integrates with the ChatWoot API to create a new inbox association for a contact. It is useful in scenarios where you want to link a specific contact to an inbox within your ChatWoot account, enabling message routing or conversation tracking for that contact in the specified inbox.

Practical examples include:

  • Automatically assigning contacts to different support inboxes based on their account or source.
  • Organizing contacts by inboxes for targeted communication or workflow automation.
  • Synchronizing external CRM contacts with ChatWoot inboxes for unified messaging.

Properties

Name Meaning
Account Id The numeric ID of the account to which the contact belongs.
Id The unique numeric ID of the contact to be linked to the inbox.
Inbox Id The numeric ID of the inbox where the contact will be associated.
Source Id (Optional) A string identifier representing the source of the contact inbox association.

Output

The node outputs JSON data representing the result of the inbox creation operation for the contact. This typically includes details about the newly created contact-inbox association such as IDs and status confirmation.

No binary data output is produced by this node.

Dependencies

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

Troubleshooting

  • Common issues:

    • Invalid or missing account, contact, or inbox IDs can cause the API call to fail.
    • Incorrect or expired API authentication token will result in authorization errors.
    • Network connectivity problems may prevent successful API requests.
  • Error messages and resolutions:

    • "Unauthorized" or "Authentication failed": Verify that the API key/token is correctly configured and has sufficient permissions.
    • "Resource not found": Check that the provided account, contact, and inbox IDs exist in your ChatWoot instance.
    • "Bad Request": Ensure all required fields are provided and valid, especially numeric IDs.

Links and References

Discussion