ChatWoot icon

ChatWoot

Interact with ChatWoot API

Actions113

Inboxes → Inbox Creation

AI-generated

Overview

This node integrates with the ChatWoot API to create new inboxes within a specified account. It is useful for automating the management of communication channels by programmatically adding inboxes, which can represent different customer support channels or teams. For example, a company could use this node to dynamically create inboxes for new product lines or regions as they expand.

Properties

Name Meaning
Account Id The numeric ID of the ChatWoot account where the inbox will be created (required).
Name The display name of the inbox to be created.
Avatar A file path or URL representing the avatar image for the inbox.
Channel JSON object defining the channel configuration details for the inbox (e.g., type, settings).

Output

The node outputs JSON data representing the newly created inbox resource as returned by the ChatWoot API. This typically includes fields such as the inbox ID, name, avatar URL, channel details, and metadata about the creation status.

If the node supports binary data output (not indicated in the provided code), it would relate to files such as the avatar image upload, but no explicit binary output handling is shown here.

Dependencies

  • Requires an active ChatWoot API connection configured with a valid API authentication token.
  • The base URL for the ChatWoot instance must be set in the node credentials.
  • The node depends on the @devlikeapro/n8n-openapi-node package for OpenAPI integration.

Troubleshooting

  • Missing or invalid Account Id: The node requires a valid numeric account ID; ensure this is correctly provided.
  • Invalid JSON in Channel property: The channel field expects a valid JSON string; malformed JSON will cause errors.
  • Authentication errors: Ensure the API key credential is correctly configured and has sufficient permissions.
  • Network or API errors: Check connectivity to the ChatWoot instance and verify the base URL is correct.
  • Avatar upload issues: If providing an avatar, ensure the file path or URL is accessible and correctly formatted.

Links and References

Discussion