Skip to content
Spiro logo

Connectors / Sales · HTTP Connector

Automate Spiro with Tray.ai

Create a contact, create a company and create an opportunity in Spiro, and start a workflow when Spiro sends “Contact created”.

What can you do with Spiro on Tray.ai?

Spiro is an AI-assisted CRM for manufacturers and distributors that tracks contacts, companies, opportunities, sales orders, and follow-up reminders. Tray.ai connects to Spiro through the HTTP Connector, so your workflows can call the Spiro API alongside the rest of your stack.

  • When Spiro sends “Contact created”, add the contact to your email marketing list.
  • Create a sales order when your ERP books an order, so reps see what each account buys.
  • When Spiro sends “Company updated”, sync the change to the customer record in your ERP.
  • Create an opportunity from each quote request on your website.
Connects through
HTTP Connector
Authentication
OAuth 2.0

Set it up

Connect Spiro to Tray.ai

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

Step 1

Sign in to Spiro with OAuth 2.0

Set up an OAuth 2.0 authentication with the client ID and secret of an OAuth app you register with Spiro. Sign in once and every step reads the token from there.

Step 2

Import a request from Spiro's docs

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

Step 3

Start with “List contacts”

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

Step 4

Start workflows from Spiro events

Give Spiro the URL of a Tray.ai webhook trigger. “Contact created” can then start a workflow, and so can 5 other events.

Workflows to build with Spiro

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

Create Spiro sales orders from NetSuite orders

When

An order is created in NetSuite

Then

  1. List companies in Spiro to find the customer
  2. Create a sales order

With NetSuite

Sync new Spiro companies to NetSuite

When

Company created

Then

  1. Create a customer record in NetSuite
  2. Update a company in Spiro with the NetSuite ID

With NetSuite

Add new Spiro contacts to Marketo

When

Contact created

Then

  1. Add the contact to a nurture list in Marketo
  2. Create a reminder for the owner to follow up

With Marketo

Apps you can build on Spiro data

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

Pipeline board

Lists opportunities by company and lets a rep update the stage or amount on each one.

Follow-up reminder list

Lists due reminders with contacts and lets a rep log an activity and update the reminder.

Sales order tracker

Lists sales orders by company and lets an inside sales rep update an order.

Give your AI agents Spiro tools

Build an MCP server on Spiro 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 contacts
  • List companies
  • List opportunities
  • List sales orders
  • List activities
  • List reminders
  • Create a contact
  • Update a contact

What the Spiro API covers

6 resources and 22 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.

Contacts

  • List contacts
  • Create a contact
  • Update a contact
  • Delete a contact

Companies

  • List companies
  • Create a company
  • Update a company
  • Delete a company

Opportunities

  • List opportunities
  • Create an opportunity
  • Update an opportunity
  • Delete an opportunity

Sales orders

  • List sales orders
  • Create a sales order
  • Update a sales order

Activities

  • List activities
  • Create an activity
  • Update an activity

Reminders

  • List reminders
  • Create a reminder
  • Update a reminder
  • Delete a reminder

Events Spiro can send to a Tray.ai webhook trigger

  • Contact created
  • Contact updated
  • Contact deleted
  • Company created
  • Company updated
  • Company deleted

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

developers.spiro.ai

Frequently asked questions

What can a Tray.ai workflow do in Spiro?

+

The Spiro API documents 22 actions across 6 resources (Contacts, Companies, Opportunities, Sales orders, Activities, Reminders). For example: List contacts; List companies; List opportunities. A workflow can make any documented call through the HTTP Connector.

How does Tray.ai authenticate with Spiro?

+

The Spiro API uses OAuth 2.0. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.

Which Spiro events can start a Tray.ai workflow?

+

Spiro sends 6 events to a webhook URL, for example: Contact created; Contact updated; Contact deleted; Company created; Company updated; Company deleted. A Tray.ai webhook trigger receives them and starts a workflow.

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