Dolibarr icon

Dolibarr

Interact with Dolibarr API

Contact → Create External User

AI-generated

Overview

This node operation creates an external user for a specified contact in the Dolibarr system. It is useful in scenarios where you need to programmatically add user login credentials for contacts managed in Dolibarr, such as automating user account creation for clients or partners.

Use Case Examples

  1. Creating a new external user login for a contact after they register on a website.
  2. Automating the setup of user accounts for contacts imported from another system.

Properties

Name Meaning
Contact ID The unique identifier of the contact for whom the external user is being created. This is required to specify which contact the user belongs to.
Login The login username for the new external user. This is required to define the user's login credential.
Password The password for the new external user. This is required and is handled securely as a password type input.
Request Options Additional settings for the HTTP request such as batching, SSL certificate validation, proxy configuration, and timeout settings.

Output

JSON

  • id - The identifier of the created external user returned by the Dolibarr API.
  • login - The login username of the created external user.
  • contactID - The ID of the contact associated with the created external user.

Dependencies

  • Dolibarr API with valid credentials

Troubleshooting

  • Ensure the Contact ID exists in Dolibarr; otherwise, the API will return an error.
  • Verify that the login and password meet Dolibarr's user creation requirements.
  • Check network connectivity and proxy settings if requests fail.
  • If SSL certificate validation fails, consider enabling the option to ignore SSL issues, but be aware of security risks.

Discussion