Skip to content
Netlify logo

Connectors / Developer tools · HTTP Connector

Automate Netlify with Tray.ai

Create a site, create a deploy and create environment variables in Netlify, and start a workflow when Netlify sends “Deploy started”.

Great — a couple more details

This helps us connect you with the right person. Optional, and you can skip it.

See all connectors

What can you do with Netlify on Tray.ai?

Netlify is a web hosting and deployment platform that builds sites from Git, serves them on a global CDN, and handles forms and serverless functions. Tray.ai connects to Netlify through the HTTP Connector, so your workflows can call the Netlify API alongside the rest of your stack.

  • When Netlify sends “Deploy failed”, alert the on-call engineer in your team chat.
  • When Netlify sends “Deploy succeeded”, post the release notes to your product team chat.
  • List submissions from Netlify forms each hour and add new leads to your CRM.
  • Restore a deploy in Netlify when your monitoring tool reports errors after a release.
Connects through
HTTP Connector
Authentication
A bearer token or OAuth 2.0
Base URL
https://api.netlify.com/api/v1

Set it up

Connect Netlify to Tray.ai

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

Step 1

Save Netlify's API token

Save the token Netlify 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.

Step 2

Point the HTTP Client at the API

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

Step 3

Start with “List sites”

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

Step 4

Start workflows from Netlify events

Give Netlify the URL of a Tray.ai webhook trigger. “Deploy started” can then start a workflow, and so can 6 other events.

What the Netlify API covers

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

Sites

  • List sites
  • Get a site
  • Create a site
  • Update a site
  • Delete a site

Deploys

  • Create a deploy
  • Get a deploy
  • Restore a deploy

Forms

  • List forms
  • Delete a form

Submissions

  • List submissions
  • Mark submission as spam
  • Delete a submission

Environment variables

  • List environment variables
  • Create environment variables
  • Update an environment variable
  • Delete an environment variable

Hooks

  • List hooks
  • Create a hook
  • Delete a hook

Events Netlify can send to a Tray.ai webhook trigger

  • Deploy started
  • Deploy succeeded
  • Deploy failed
  • Deploy deleted
  • Deploy locked
  • Deploy unlocked
  • Deploy restored

Checked against Netlify's own documentation on 2026-10-22

docs.netlify.com/api-and-cli-guides/api-guides/get-starte…

Frequently asked questions

What can a Tray.ai workflow do in Netlify?

+

The Netlify API documents 20 actions across 6 resources (Sites, Deploys, Forms, Submissions, Environment variables, Hooks). For example: List sites; Create a deploy; List forms. A workflow can make any documented call through the HTTP Connector.

How does Tray.ai authenticate with Netlify?

+

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

Which Netlify events can start a Tray.ai workflow?

+

Netlify sends 7 events to a webhook URL, for example: Deploy started; Deploy succeeded; Deploy failed; Deploy deleted; Deploy locked; Deploy unlocked; Deploy restored. A Tray.ai webhook trigger receives them and starts a workflow.

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