Actions113
- 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
- Custom Filters Actions
- Webhooks Actions
- Reports Actions
Account Users → Create An Account User
AI-generatedOverview
This node integrates with the ChatWoot API to create a new user within a specified account. It is useful in scenarios where you want to programmatically add users to an account, assigning them specific roles such as administrator or agent. For example, when onboarding new team members into your customer support system, this node can automate adding their user profiles with appropriate permissions.
Properties
| Name | Meaning |
|---|---|
| Account Id | The numeric identifier of the account to which the user will be added. |
| User Id | The unique identifier of the user to be added to the account. |
| Role | The role assigned to the user within the account; options typically include "administrator" or "agent". |
Output
The node outputs JSON data representing the result of the user creation operation. This usually includes details about the newly created account user, such as their ID, assigned role, and confirmation of successful addition. There is no indication that binary data is output by this node.
Dependencies
- Requires an API key credential for authenticating with the ChatWoot API.
- The base URL for the ChatWoot instance must be configured in the node credentials.
- The node depends on the
@devlikeapro/n8n-openapi-nodepackage for OpenAPI integration.
Troubleshooting
Common issues:
- Invalid or missing API credentials will cause authentication failures.
- Providing incorrect or non-existent Account Id or User Id values may result in errors from the API.
- Assigning an unsupported role value could lead to validation errors.
Error messages and resolutions:
- Authentication failed: Verify that the API key and base URL are correctly set in the node credentials.
- User or Account not found: Confirm that the provided Account Id and User Id exist in the ChatWoot system.
- Invalid role: Ensure the role value is either "administrator" or "agent" as expected by the API.
Links and References
- ChatWoot API Documentation (for detailed API usage and role definitions)
- n8n OpenAPI Node Integration Guide