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.

If the API supports it, binary data output is not indicated or expected for this operation.

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.
  • The node uses standard HTTP headers for JSON content type.

Troubleshooting

  • Missing or invalid Account Id, Contact Id, or Inbox Id: Ensure all required numeric IDs are provided and valid; otherwise, the API call will fail.
  • Authentication errors: Verify that the API key/token is correctly configured and has sufficient permissions.
  • Network or connectivity issues: Confirm that the ChatWoot instance URL is reachable from n8n.
  • API response errors: Check the error messages returned by the ChatWoot API for details on invalid parameters or rate limits.

Links and References

Discussion