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 returned from the ChatWoot API.

No binary data output is involved.

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

  • Missing Required Fields: Ensure that Account Id, Id (contact ID), and Inbox Id are provided and valid numbers. Missing or invalid values will cause errors.
  • Authentication Errors: Verify that the API key/token is correctly configured and has sufficient permissions.
  • API Endpoint Issues: Confirm that the ChatWoot base URL is correct and accessible.
  • Source Id Optionality: If using Source Id, ensure it matches expected formats; otherwise, omit it.

Common error messages might include unauthorized access, resource not found (invalid contact or inbox IDs), or validation errors due to missing parameters.

Links and References

Discussion