
Connectors / Supply chain · HTTP Connector
Automate Detrack with Tray.ai
Create a job, export jobs in bulk and create a depot in Detrack. Connect Detrack to the rest of your supply chain stack with Tray.ai.
What can you do with Detrack on Tray.ai?
Detrack is delivery management software that dispatches delivery and collection jobs to drivers, plans routes, and records proof of delivery. Tray.ai connects to Detrack through the HTTP Connector, so your workflows can call the Detrack API alongside the rest of your stack.
- Create a job in Detrack when an order is ready for delivery in your order system.
- Create jobs in bulk each morning from the day's orders in your warehouse system.
- Search jobs when a customer asks about a delivery in your help desk and reply with its status.
- Connects through
- HTTP Connector
- Authentication
- An API key in a request header
- Base URL
- https://app.detrack.com/api/v2
Set it up
Connect Detrack to Tray.ai
Each step uses Detrack's own API details, from its documentation.
Step 1
Save Detrack'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
Point the HTTP Client at the API
Add an HTTP Client step and use https://app.detrack.com/api/v2 as the base URL. Or paste a cURL example from Detrack's API docs, and Tray.ai fills in the method, URL, and headers.
Step 3
Start with “List jobs”
It's one of 16 documented actions, under Jobs. The response comes back as data the next step can map into your other apps.
Step 4
Hand it to an AI agent
Wrap “Create a job” and “Create jobs in bulk” in workflows, and Tray.ai's Agent Gateway for MCP publishes them as governed tools Claude and other AI agents can call.
Workflows to build with Detrack
Each one uses actions and events from Detrack's own API documentation.
Create Detrack delivery jobs from Shopify orders
When
An order is paid in Shopify
Then
- Create a job with the delivery address
- Add the job number to the order in Shopify
With Shopify
Send NetSuite fulfillments to Detrack in bulk each morning
When
On a schedule
Then
- Find today's item fulfillments in NetSuite
- Create jobs in bulk
With NetSuite
Export Detrack proof of delivery to Google Drive
When
On a schedule
Then
- Export jobs in bulk for the day
- Get export status
- Download an exported job and save it to Google Drive
With Google Drive
Apps you can build on Detrack data
Internal tools your team can build with an AI assistant, each one using Detrack calls from its API documentation.
Dispatch board
Lists delivery jobs by route and date so dispatchers can update assignments.
Delivery lookup tool
Lets support search for a job and see its delivery status.
Bulk job upload
Lets ops create delivery jobs in bulk from a list.
Give your AI agents Detrack tools
Build an MCP server on Detrack 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 jobs
- Export jobs in bulk
- List depots
- List routes by date
- Create a job
- Create jobs in bulk
- Update a job
- Delete a job
What the Detrack API covers
4 resources and 16 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.
Jobs
- List jobs
- Create a job
- Create jobs in bulk
- Update a job
- Delete a job
- Search jobs
Job exports
- Export jobs in bulk
- Get export status
- Download an exported job
Depots
- List depots
- Create a depot
- Update depots in bulk
- Delete depots in bulk
Routes
- List routes by date
- Get a route by name
- Create or update a route
Checked against Detrack's own documentation on 2026-10-22
How Tray.ai makes this work
Detrack plugs into the whole Tray.ai platform
Intelligent Integration
Integrate and automate across 12,000+ apps, databases, APIs, and services with visual workflows, error handling, and observability.
Learn more →Agent Builder
Build AI agents that read, write, and take action in Detrack — with guardrails, audit, and human-in-the-loop.
Learn more →Agent Gateway for MCP
Expose Detrack actions as governed MCP tools — observable, rate-limited, authenticated.
Learn more →Tray Helix
Build apps on Detrack data with your AI assistant, then deploy, run, and govern them on Tray.ai.
Learn more →More supply chain apps on Tray.ai
Dedicated connectors and other apps Tray.ai reaches in the same category. See every supply chain connector →
Frequently asked questions
What can a Tray.ai workflow do in Detrack?
+
The Detrack API documents 16 actions across 4 resources (Jobs, Job exports, Depots, Routes). For example: List jobs; Export jobs in bulk; List depots. A workflow can make any documented call through the HTTP Connector.
How does Tray.ai authenticate with Detrack?
+
The Detrack 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.
See Detrack working against your stack.
We'll walk through a tailored demo with your systems plugged in.
Thanks — someone from our team will be in touch soon.