Skip to content
LeanData logo

Connectors / Sales · HTTP Connector

Automate LeanData with Tray.ai

Create a meeting and start one time routing in LeanData. Connect LeanData to the rest of your sales stack with Tray.ai.

What can you do with LeanData on Tray.ai?

LeanData is a lead routing and scheduling tool for Salesforce teams that matches records, assigns them to reps, and books meetings with prospects. Tray.ai connects to LeanData through the HTTP Connector, so your workflows can call the LeanData API alongside the rest of your stack. API access comes through LeanData's partner program or API plan, so you need approved credentials first.

  • Start one time routing in LeanData after a bulk import of leads into your CRM.
  • Route and fetch availability with LeanData when a demo form is submitted, so the prospect can book the right rep.
  • Create a meeting in LeanData when a prospect agrees a time with a rep over email.
Connects through
HTTP Connector
Authentication
An API key in a request header
Base URL
https://api.leandata.com

Set it up

Connect LeanData to Tray.ai

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

Step 1

Save LeanData's API key

Ask LeanData for API access. Once it's approved, 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

Point the HTTP Client at the API

Add an HTTP Client step and use https://api.leandata.com as the base URL. Or paste a cURL example from LeanData's API docs, and Tray.ai fills in the method, URL, and headers.

Step 3

Start with “List meetings for a prospect”

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

Step 4

Hand it to an AI agent

Wrap “Get a meeting” and “Create a meeting” in workflows, and Tray.ai's Agent Gateway for MCP publishes them as governed tools Claude and other AI agents can call.

Give your AI agents LeanData tools

Build an MCP server on LeanData 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

  • List meetings for a prospect
  • Retrieve scheduling inputs
  • List routing graphs
  • Get a meeting
  • Create a meeting
  • Update a meeting
  • Delete a meeting
  • Fetch availability

What the LeanData API covers

3 resources and 11 documented actions, each one a call the HTTP Connector can make from a Tray.ai workflow. LeanData gives API access on request, so approved credentials come first. Connecting it takes a few clicks: here's how.

Meetings

  • List meetings for a prospect
  • Get a meeting
  • Create a meeting
  • Update a meeting
  • Delete a meeting

Scheduling

  • Retrieve scheduling inputs
  • Fetch availability
  • Route and fetch availability

Routing

  • List routing graphs
  • Start one time routing
  • Get a routing job

Checked against LeanData's own documentation on 2026-11-07

docs.leandata.com

Frequently asked questions

What can a Tray.ai workflow do in LeanData?

+

The LeanData API documents 11 actions across 3 resources (Meetings, Scheduling, Routing). For example: List meetings for a prospect; Retrieve scheduling inputs; List routing graphs. A workflow can make any documented call through the HTTP Connector.

How does Tray.ai authenticate with LeanData?

+

The LeanData 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.

Do I need special access to the LeanData API?

+

Yes. LeanData gives API access on request, so you need approved credentials before a Tray.ai workflow can call it.

See LeanData 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.