View as Markdown
Dolibarr icon

Dolibarr ACTION

Create Third Party

Create a new third party 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 Third Party 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-thirdparty",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    dolibarr: { authProvisionId: "apn_xxxxxxx" },
    name: "Name",
    email: "Email",
  },
})

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 Third Party inputs
Property Type Description
name Name string
The name of the third party
Required
email Email string
The email address of the third party
Optional
phone Phone string
The phone number of the third party
Optional
streetAddress Street Address string
The street address of the third party
Optional
zip Zip string
The zip code of the third party
Optional
town Town string
The city or town of the third party
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-thirdparty
Version
0.0.3
App
Dolibarr
Authentication
API key
Read-only
No
Destructive
No
Open world
Yes