Actions100
- Accounts Actions
- Account Users Actions
- Agent Bots Actions
- Users Actions
- Inbox API Actions
- Contacts API Actions
- Conversations API Actions
- Messages API Actions
- CSAT Survey Page Actions
- Account Agent Bots Actions
- Agents Actions
- Canned Responses Actions
- Canned Response Actions
- Custom Attributes Actions
- Contacts Actions
- Contact Actions
- Automation Rule Actions
- Help Center Actions
- Conversations Actions
- Conversation Assignment Actions
- Conversation Labels Actions
- Inboxes Actions
- Messages Actions
- Integrations Actions
- Teams Actions
Overview
This node allows you to create a new Inbox in ChatWoot via its API. Inboxes are channels through which your team can communicate with customers (e.g., email, chat, social media). This node is useful for automating the setup of communication channels when onboarding new teams or accounts, or when programmatically managing multiple customer support channels.
Example scenarios:
- Automatically creating a new inbox when a new client account is registered.
- Setting up different inboxes for various departments (sales, support, etc.) as part of an onboarding workflow.
Properties
| Display Name | Type | Description |
|---|---|---|
| Account Id | Number | The numeric ID of the account. Required. |
| Name | String | The name of the inbox. |
| Avatar | String | File for avatar image. |
| Channel | JSON | Channel configuration details. |
Output
The output will be a json object containing the details of the newly created inbox as returned by the ChatWoot API. Typical fields may include:
id: Numeric identifier of the inbox.name: Name of the inbox.channel_id: Identifier for the associated channel.avatar_url: URL to the avatar image (if provided).- Other metadata as defined by the ChatWoot API.
Note: The exact structure depends on the ChatWoot API response.
Dependencies
- External Service: Requires access to a ChatWoot instance.
- API Credentials: You must configure the
chatwootApicredential in n8n, including the base URL (url) and authentication details. - n8n Configuration: Ensure the node has network access to your ChatWoot server.
Troubleshooting
Missing or Invalid Credentials:
Error message: "No credentials found" or authentication errors from the API.
Resolution: Make sure thechatwootApicredential is set up correctly in n8n.Invalid Account Id:
Error message: "Account not found" or similar from the API.
Resolution: Double-check that the Account Id exists in your ChatWoot instance.Malformed Channel JSON:
Error message: "Invalid JSON" or parsing errors.
Resolution: Ensure the Channel property contains valid JSON.Avatar Upload Issues:
Error message: Related to file format or size.
Resolution: Verify the avatar string points to a valid file and meets ChatWoot's requirements.