OpenProject icon

OpenProject

Interact with OpenProject via API

Actions199

Overview

This node allows you to create a new user in the OpenProject system via its API. It is useful for automating user management tasks such as onboarding new team members or synchronizing users from other systems. For example, when a new employee joins your company, you can use this node to automatically create their user account with specified details like email, login, and language preferences.

Properties

Name Meaning
Admin Boolean flag indicating if the new user should have administrative privileges (true/false).
Email The email address of the new user.
Login The login username for the new user.
Password The password for the new user. This can only be set during creation, not on updates.
First Name The first name of the new user.
Last Name The last name of the new user.
Status The activation status of the user at creation time (e.g., active, inactive).
Language The preferred language setting for the new user.

Output

The node outputs JSON data representing the newly created user object as returned by the OpenProject API. This typically includes all user details such as ID, name, email, admin status, and other metadata. There is no binary output.

Dependencies

  • Requires an API key credential for authenticating with the OpenProject API.
  • The base URL of the OpenProject instance must be configured in the node credentials.
  • The node uses standard HTTP headers for JSON communication (Accept: application/json, Content-Type: application/json).

Troubleshooting

  • Common issues:
    • Missing required fields such as email, login, or names will cause the API call to fail.
    • Incorrect or missing API authentication will result in authorization errors.
    • Setting the password on update operations is not allowed; it must only be provided on creation.
  • Error messages:
    • "Unauthorized" or "Authentication failed": Check that the API key credential is valid and has sufficient permissions.
    • "Validation error": Ensure all required properties are provided and correctly formatted.
    • "User already exists": The login or email may already be in use; verify uniqueness before creating.

Links and References

Discussion