Skip to content
Dolibarr logo

Connectors / ERP · HTTP Connector

Automate Dolibarr with Tray.ai

Create a third party, create a product and create an order in Dolibarr, and start a workflow when Dolibarr sends “Third party created”.

What can you do with Dolibarr on Tray.ai?

Dolibarr is a free, open-source ERP and CRM suite, self-hosted or cloud-hosted, where businesses switch on modules for customers, products, orders and invoicing. Tray.ai connects to Dolibarr through the HTTP Connector, so your workflows can call the Dolibarr API alongside the rest of your stack.

  • When Dolibarr sends “Third party created”, add the company to your CRM.
  • Create an order in Dolibarr for each paid checkout in your online store.
  • Create a third party for each deal your sales team closes in your CRM.
Connects through
HTTP Connector
Authentication
An API key in a request header

Set it up

Connect Dolibarr to Tray.ai

Each step uses Dolibarr's own API details, from its documentation.

Step 1

Save Dolibarr's API key

Save the key as a Tray.ai authentication. The HTTP Client puts it in the request header, read from $.auth. The key stays out of the workflow and out of the logs.

Step 2

Import a request from Dolibarr's docs

Add an HTTP Client step and paste a cURL example from Dolibarr's API docs. Tray.ai fills in the method, URL, headers, and query.

Step 3

Start with “Search third parties”

It's one of 7 documented actions, under Third parties. The response comes back as data the next step can map into your other apps.

Step 4

Start workflows from Dolibarr events

Give Dolibarr the URL of a Tray.ai webhook trigger. “Third party created” can then start a workflow.

Give your AI agents Dolibarr tools

Build an MCP server on Dolibarr in Agent Gateway and choose which actions your agents can call. Every call runs with access control and an audit trail. How Agent Gateway works

  • Search third parties
  • List products
  • Create an order
  • Create a third party
  • Create a product
  • Add order lines
  • Validate an order

What the Dolibarr API covers

3 resources and 7 documented actions, each one a call the HTTP Connector can make from a Tray.ai workflow. Connecting it takes a few clicks: here's how.

Third parties

  • Search third parties
  • Create a third party

Products

  • List products
  • Create a product

Orders

  • Create an order
  • Add order lines
  • Validate an order

Events Dolibarr can send to a Tray.ai webhook trigger

  • Third party created

Checked against Dolibarr's own documentation on 2026-10-22

wiki.dolibarr.org/index.php/Module_Web_Services_REST

Frequently asked questions

What can a Tray.ai workflow do in Dolibarr?

+

The Dolibarr API documents 7 actions across 3 resources (Third parties, Products, Orders). For example: Search third parties; List products; Create an order. A workflow can make any documented call through the HTTP Connector.

How does Tray.ai authenticate with Dolibarr?

+

The Dolibarr API uses an API key in a request header. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.

Which Dolibarr events can start a Tray.ai workflow?

+

Dolibarr sends one event to a webhook URL, for example: Third party created. A Tray.ai webhook trigger receives them and starts a workflow.

See Dolibarr working against your stack.

We'll walk through a tailored demo with your systems plugged in.

Great — a couple more details

This helps us connect you with the right person. Optional, and you can skip it.