Skip to content

Connectors / Operations · HTTP Connector

Basin integration and API

Create a form and update a submission in Basin, and start a workflow when Basin sends “Form submission received”.

What can you do with Basin on Tray.ai?

Basin is a form backend that collects website form submissions, filters spam, and forwards entries by email, webhook or integration. Tray.ai connects to Basin through the HTTP Connector, so your workflows can call the Basin API alongside the rest of your stack.

  • When Basin sends “Form submission received”, create a lead in your CRM with the form details.
  • List submissions each day and add new sign-ups to your email marketing list.
  • Delete a submission once it has been copied to your CRM, so personal data is not kept twice.
Connects through
HTTP Connector
Authentication
An API key in a request header
Base URL
https://usebasin.com/api/v1

Set it up

Connect Basin to Tray.ai

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

Step 1

Save Basin'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://usebasin.com/api/v1 as the base URL. Or paste a cURL example from Basin's API docs, and Tray.ai fills in the method, URL, and headers.

Step 3

Start with “List forms”

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

Step 4

Start workflows from Basin events

Give Basin the URL of a Tray.ai webhook trigger. “Form submission received” can then start a workflow.

Workflows to build with Basin

Connect Basin with HubSpot, Slack, Zendesk and Google Sheets

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

Send Basin form submissions to HubSpot as contacts

When

Form submission received

Then

  1. Get a submission in Basin for the full entry
  2. Create or update the contact in HubSpot
  3. Post a message to the sales channel in Slack

With HubSpot and Slack

Open Zendesk tickets from Basin support forms

When

Form submission received

Then

  1. Check that the submission came from the support form
  2. Create a ticket in Zendesk with the message and email

With Zendesk

Back up Basin form submissions to Google Sheets

When

On a schedule

Then

  1. List submissions in Basin since the last run
  2. Add each submission as a row in Google Sheets

With Google Sheets

Apps you can build on Basin data

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

Form inbox

Lists new website form submissions by form and lets staff mark each one handled or delete spam.

Failed delivery retry tool

Finds a submission and re-fires its webhooks when a downstream system missed it.

Give your AI agents Basin tools

Build an MCP server on Basin 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 forms
  • List submissions
  • Create a form
  • Update a form
  • Delete a form
  • Get a submission
  • Update a submission
  • Delete a submission

What the Basin API covers

2 resources and 9 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.

Forms

  • List forms
  • Create a form
  • Update a form
  • Delete a form

Submissions

  • List submissions
  • Get a submission
  • Update a submission
  • Delete a submission
  • Re-fire submission webhooks

Events Basin can send to a Tray.ai webhook trigger

  • Form submission received

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

docs.usebasin.com/developer-features/api-reference

Frequently asked questions

What can a Tray.ai workflow do in Basin?

+

The Basin API documents 9 actions across 2 resources (Forms, Submissions). For example: List forms; List submissions. A workflow can make any documented call through the HTTP Connector.

How does Tray.ai authenticate with Basin?

+

The Basin 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.

Which Basin events can start a Tray.ai workflow?

+

Basin sends one event to a webhook URL, for example: Form submission received. A Tray.ai webhook trigger receives them and starts a workflow.

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