
Connectors / E-commerce · HTTP Connector
Automate AppDirect with Tray.ai
Create a company, create a company membership and create a subscription in AppDirect, and start a workflow when AppDirect sends “User created”.
What can you do with AppDirect on Tray.ai?
AppDirect is a subscription commerce platform for running a marketplace that sells software and services, covering product catalogs, customer accounts, subscriptions and billing. Tray.ai connects to AppDirect through the HTTP Connector, so your workflows can call the AppDirect API alongside the rest of your stack.
- When AppDirect sends “Subscription cancelled”, flag the account for the customer success team in your CRM.
- When AppDirect sends “User created”, add the new user to your email marketing list.
- Create a company in AppDirect when a new reseller account is approved in your CRM.
- Connects through
- HTTP Connector
- Authentication
- OAuth 2.0
Set it up
Connect AppDirect to Tray.ai
Each step uses AppDirect's own API details, from its documentation.
Step 1
Sign in to AppDirect with OAuth 2.0
Set up an OAuth 2.0 authentication with the client ID and secret of an OAuth app you register with AppDirect. Sign in once and every step reads the token from there.
Step 2
Import a request from AppDirect's docs
Add an HTTP Client step and paste a cURL example from AppDirect's API docs. Tray.ai fills in the method, URL, headers, and query.
Step 3
Start with “Read user details”
It's one of 13 documented actions, under Users. The response comes back as data the next step can map into your other apps.
Step 4
Start workflows from AppDirect events
Give AppDirect the URL of a Tray.ai webhook trigger. “User created” can then start a workflow, and so can 2 other events.
Give your AI agents AppDirect tools
Build an MCP server on AppDirect 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
- Create a user
- Create a company
- Create a company membership
- Create a subscription
- Read user details
- Update a user
- Delete a user
- Read companies
What the AppDirect API covers
4 resources and 13 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.
Users
- Create a user
- Read user details
- Update a user
- Delete a user
Companies
- Create a company
- Read companies
- Update a company
Memberships
- Create a company membership
- Update a membership
- Delete a membership
Subscriptions
- Create a subscription
- Change a subscription
- Cancel a subscription
Events AppDirect can send to a Tray.ai webhook trigger
- User created
- Product modified
- Subscription cancelled
Checked against AppDirect's own documentation on 2026-10-22
How Tray.ai makes this work
AppDirect plugs into the whole Tray.ai platform
Intelligent Integration
Integrate and automate across 11,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 AppDirect — with guardrails, audit, and human-in-the-loop.
Learn more →Agent Gateway for MCP
Expose AppDirect actions as governed MCP tools — observable, rate-limited, authenticated.
Learn more →Tray Helix
Build apps on AppDirect data with your AI assistant, then deploy, run, and govern them on Tray.ai.
Learn more →More e-commerce apps on Tray.ai
Dedicated connectors and other apps Tray.ai reaches in the same category. See every e-commerce connector →
Frequently asked questions
What can a Tray.ai workflow do in AppDirect?
+
The AppDirect API documents 13 actions across 4 resources (Users, Companies, Memberships, Subscriptions). For example: Create a user; Create a company; Create a company membership. A workflow can make any documented call through the HTTP Connector.
How does Tray.ai authenticate with AppDirect?
+
The AppDirect API uses OAuth 2.0. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.
Which AppDirect events can start a Tray.ai workflow?
+
AppDirect sends 3 events to a webhook URL, for example: User created; Product modified; Subscription cancelled. A Tray.ai webhook trigger receives them and starts a workflow.
See AppDirect 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.