ChatWoot icon

ChatWoot

Interact with ChatWoot API

Actions113

Contact → Contact Inbox Creation

AI-generated

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 management for that contact through the specified inbox.

Practical examples include:

  • Automatically assigning contacts to different support inboxes based on their profile or source.
  • Organizing contacts by inboxes for targeted communication or workflow automation.
  • Creating inbox links for contacts imported from external systems.

Properties

Name Meaning
Account Id The numeric ID of the ChatWoot account under which the contact exists.
Id The unique numeric ID of the contact to which the inbox will be linked.
Inbox Id The numeric ID of the inbox to associate with the contact.
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 involved.

Dependencies

  • Requires an active ChatWoot API connection configured with a valid API authentication token.
  • The node depends on the ChatWoot API endpoint for creating contact inbox associations.
  • Proper configuration of the base URL and credentials in n8n is necessary.

Troubleshooting

  • Missing or invalid Account Id, Contact Id, or Inbox Id: The API call will fail if any required numeric ID is missing or incorrect. Ensure all required fields are provided and valid.
  • Authentication errors: If the API key or token is invalid or expired, the node will return authorization errors. Verify and update the API credentials.
  • API connectivity issues: Network problems or incorrect base URL settings can cause request failures. Confirm network access and correct URL configuration.
  • Source Id format: If provided, ensure the Source Id is a valid string accepted by the ChatWoot API.

Links and References

Discussion