Skip to content
Betty Blocks logo

Connectors / Developer tools · HTTP Connector

Automate Betty Blocks with Tray.ai

Create a record and create many records in Betty Blocks. Connect Betty Blocks to the rest of your developer tools stack with Tray.ai.

What can you do with Betty Blocks on Tray.ai?

Betty Blocks is a no-code platform for building business applications, and each app exposes APIs for reading and writing the records in its data models. Tray.ai connects to Betty Blocks through the HTTP Connector, so your workflows can call the Betty Blocks API alongside the rest of your stack.

  • Create a record in your Betty Blocks app when a new request arrives through your web form.
  • Upsert records nightly from your ERP so the app's product data stays current.
  • Update a record when the approval status changes in your HR system.
Connects through
HTTP Connector
Authentication
Basic authentication
Base URL
https://{app}.bettyblocks.com/api

Set it up

Connect Betty Blocks to Tray.ai

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

Step 1

Save Betty Blocks's username and password

Save the credentials Betty Blocks gives you as a Tray.ai authentication. The HTTP Client sends them as basic auth. They stay 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://{app}.bettyblocks.com/api as the base URL. Or paste a cURL example from Betty Blocks's API docs, and Tray.ai fills in the method, URL, and headers.

Step 3

Start with “List records”

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

Step 4

Hand it to an AI agent

Wrap “Get a record” and “Create a record” 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 Betty Blocks

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

Create Betty Blocks records from closed Salesforce deals

When

A deal closes in Salesforce

Then

  1. List records in Betty Blocks to check the customer is new
  2. Create a record in your Betty Blocks app for the new customer

With Salesforce

Sync Betty Blocks records to PostgreSQL

When

On a schedule

Then

  1. List records in Betty Blocks changed since the last run
  2. Upsert the records into PostgreSQL

With PostgreSQL

Give your AI agents Betty Blocks tools

Build an MCP server on Betty Blocks 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 records
  • Create many records
  • Log in a user
  • Get a record
  • Create a record
  • Update a record
  • Delete a record
  • Update many records

What the Betty Blocks API covers

3 resources and 12 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.

Records

  • List records
  • Get a record
  • Create a record
  • Update a record
  • Delete a record

Bulk records

  • Create many records
  • Update many records
  • Delete many records
  • Upsert records

Sessions

  • Log in a user
  • Refresh an access token
  • Revoke a refresh token

Checked against Betty Blocks's own documentation on 2026-11-03

docs.bettyblocks.com/classic-docs/betty-blocks-rest-api

Frequently asked questions

What can a Tray.ai workflow do in Betty Blocks?

+

The Betty Blocks API documents 12 actions across 3 resources (Records, Bulk records, Sessions). For example: List records; Create many records; Log in a user. A workflow can make any documented call through the HTTP Connector.

How does Tray.ai authenticate with Betty Blocks?

+

The Betty Blocks API uses basic authentication. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.

See Betty Blocks 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.