ChatWoot icon

ChatWoot

Interact with ChatWoot API

Actions113

Overview

This node allows you to create a new user in the ChatWoot system by providing essential user details such as name, email, password, and any custom attributes. It is useful for automating user management workflows, such as onboarding new users into your customer support platform or synchronizing user data from other systems.

Practical examples include:

  • Automatically creating a user when a new employee joins your company.
  • Syncing users from a CRM or HR system into ChatWoot.
  • Bulk importing users with specific custom attributes for segmentation or role assignment.

Properties

Name Meaning
Name The full name of the user to be created.
Email The email address of the user.
Password The user's password. Must contain uppercase, lowercase letters, a number, and a special character.
Custom Attributes A JSON object representing any additional custom attributes you want to associate with the user.

Output

The node outputs JSON data representing the newly created user object returned by the ChatWoot API. This typically includes user identifiers, timestamps, and all provided user details including custom attributes.

If the node supports binary data output (not indicated here), it would represent associated files or media related to the user, but this node focuses on JSON user data only.

Dependencies

  • Requires an API key credential for authenticating with the ChatWoot API.
  • The base URL for the ChatWoot instance must be configured in the credentials.
  • The node depends on the @devlikeapro/n8n-openapi-node package for OpenAPI integration.

Troubleshooting

  • Invalid Password Format: If the password does not meet complexity requirements (uppercase, lowercase, number, special character), the API may reject the request. Ensure the password complies with these rules.
  • Authentication Errors: Missing or invalid API credentials will cause authentication failures. Verify that the API key and base URL are correctly set in the node credentials.
  • Malformed Custom Attributes: The custom_attributes field expects valid JSON. Invalid JSON syntax will cause parsing errors. Use proper JSON formatting.
  • Email Already Exists: Attempting to create a user with an email already registered may result in an error. Check for duplicates before creation.

Links and References

Discussion