Skip to content

Connectors / Supply chain · HTTP Connector

Sortly integration and API

Create an item, create an item group and create an alert in Sortly. Connect Sortly to the rest of your supply chain stack with Tray.ai.

What can you do with Sortly on Tray.ai?

Sortly is an inventory management app for small businesses that tracks items, folders, quantities and stock alerts, with barcode and QR code scanning. Tray.ai connects to Sortly through the HTTP Connector, so your workflows can call the Sortly API alongside the rest of your stack. API access comes through Sortly's partner program or API plan, so you need approved credentials first.

  • Create an item for each new product added in your purchasing system.
  • Update an item when your online store records a sale so stock counts stay right.
  • List alerts each morning and post low-stock items to your team chat.
Connects through
HTTP Connector
Authentication
A bearer token
Base URL
https://api.sortly.co/api/v1

Set it up

Connect Sortly to Tray.ai

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

Save Sortly's API token

Ask Sortly for API access. Once it's approved, save the token Sortly issues as a Tray.ai authentication. The HTTP Client sends it as a bearer token on every call. The token stays out of the workflow and out of the logs.

Point the HTTP Client at the API

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

Start with “List items”

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

Hand it to an AI agent

Wrap “Create an item” and “Update an item” 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 Sortly

Connect Sortly with Slack, Shopify and Google Sheets

Each one uses actions and events from Sortly's own API documentation.

Post Sortly low stock alerts to Slack

When

On a schedule

Then

  1. List alerts in Sortly
  2. Search items for the ones running low
  3. Post the list to the operations channel in Slack

With Slack

Add new Shopify products to Sortly inventory

When

A product is created in Shopify

Then

  1. Create an item in Sortly with the product name and quantity
  2. Post a note to the warehouse channel in Slack

With Shopify and Slack

Keep a weekly Sortly stock sheet in Google Sheets

When

On a schedule

Then

  1. List items in Sortly
  2. Write each item and quantity to a sheet in Google Sheets

With Google Sheets

Apps you can build on Sortly data

Internal tools your team can build with an AI assistant, each one using Sortly calls from its API documentation.

Low stock alert board

Lists stock alerts next to current item quantities and lets staff update an item's quantity after a recount.

Item location lookup

Searches items across folders and lets a warehouse worker move an item to a new folder.

Item group catalog review

Lists item groups with their items and custom fields and lets an ops lead edit group details.

Give your AI agents Sortly tools

Build an MCP server on Sortly 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 items
  • List item groups
  • List alerts
  • List custom fields
  • Create an item
  • Update an item
  • Move an item
  • Search items

What the Sortly API covers

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

Items

  • List items
  • Create an item
  • Update an item
  • Move an item
  • Search items
  • Delete an item

Item groups

  • List item groups
  • Create an item group
  • Update an item group
  • Delete an item group

Alerts

  • List alerts
  • Create an alert
  • Update an alert
  • Delete an alert

Custom fields

  • List custom fields
  • List units of measure

Checked against Sortly's own documentation on 2026-11-01

sortlyapi.docs.apiary.io

Frequently asked questions

What can a Tray.ai workflow do in Sortly?

The Sortly API documents 16 actions across 4 resources (Items, Item groups, Alerts, Custom fields). For example: List items; List item groups; List alerts. A workflow can make any documented call through the HTTP Connector.

How does Tray.ai authenticate with Sortly?

The Sortly API uses a bearer token. 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 Sortly API?

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

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