View as Markdown
Dolibarr icon

Dolibarr ACTION

Create User

Create a new user in Dolibarr.
  • Action
  • Writes data
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Dolibarr account once, then configure and run Create User from your backend or agent.

import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "dolibarr-create-user",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    dolibarr: { authProvisionId: "apn_xxxxxxx" },
    firstName: "First Name",
    lastName: "Last Name",
  },
})

console.log(result)

SCHEMA

Inputs

Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.

Create User inputs
Property Type Description
firstName First Name string
The first name of the user
Optional
lastName Last Name string
The last name of the user
Required
login Login string
The login name of the user. Must be unique.
Required
password Password string
The password of the user
Required
email Email string
The email address of the user
Optional
officePhone Office Phone string
The office phone number of the user
Optional
jobPosition Job Position string
The job position of the user
Optional
isAdmin Is Admin boolean
Whether the user is an administrator
Optional
streetAddress Street Address string
The street address of the user
Optional
zip Zip string
The zip code of the user
Optional
town Town string
The city or town of the user
Optional
additionalProperties Additional Properties object
Additional properties to add
Optional

REFERENCE

Tool details

Behavior hints are published with the component in the Pipedream registry and surface as MCP tool annotations, so an agent can reason about a tool before it calls it.

Registry key
dolibarr-create-user
Version
0.0.3
App
Dolibarr
Authentication
API key
Read-only
No
Destructive
No
Open world
Yes