Skip to content
Grist logo

Connectors / Data and analytics · HTTP Connector

Grist integration and API

Add records to a table, add tables to a document and add columns to a table in Grist, and start a workflow when Grist sends “Record added”.

What can you do with Grist on Tray.ai?

Grist is a spreadsheet-database hybrid where teams build relational tables with formulas, forms and access rules, hosted or self-managed. Tray.ai connects to Grist through the HTTP Connector, so your workflows can call the Grist API alongside the rest of your stack.

  • When Grist sends “Record added”, create a matching task in your project tracker.
  • Add records to a table in Grist for every new order in your e-commerce store.
  • When Grist sends “Record updated”, sync the change to the matching contact in your CRM.
  • Add or update records nightly from your data warehouse so teams work from current figures.
Connects through
HTTP Connector
Authentication
A bearer token
Base URL
https://docs.getgrist.com/api

Set it up

Connect Grist to Tray.ai

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

Save Grist's API token

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

Start with “Fetch records from a table”

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

Start workflows from Grist events

Give Grist the URL of a Tray.ai webhook trigger. “Record added” can then start a workflow, and so can 1 other event.

Workflows to build with Grist

Connect Grist with HubSpot, Salesforce and Slack

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

Create HubSpot contacts from new Grist records

When

Record added

Then

  1. Create a contact in HubSpot from the record
  2. Modify records to store the HubSpot contact link

With HubSpot

Sync Salesforce accounts into a Grist table

When

On a schedule

Then

  1. Find accounts changed in Salesforce since the last run
  2. Add or update records in the accounts table

With Salesforce

Post Grist record changes to Slack

When

Record updated

Then

  1. Fetch records from a table for the full row
  2. Post the changed fields to the team channel in Slack

With Slack

Apps you can build on Grist data

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

Record request intake form

Lets staff submit a request that is added as a record and lets the owner update its status from a list view.

Workspace document index

Lists workspaces and the tables in each document so a team can find where data lives.

New record alert feed

Shows records as they are added or updated so a team can review new entries the moment they land.

Give your AI agents Grist tools

Build an MCP server on Grist 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

  • Fetch records from a table
  • List tables in a document
  • List columns in a table
  • Create a document
  • List workspaces
  • List webhooks
  • Add records to a table
  • Modify records

What the Grist 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.

Records

  • Fetch records from a table
  • Add records to a table
  • Modify records
  • Add or update records
  • Delete records

Tables

  • List tables in a document
  • Add tables to a document
  • Modify tables

Columns

  • List columns in a table
  • Add columns to a table
  • Modify columns

Documents

  • Create a document
  • Describe a document
  • Copy a document
  • Delete a document

Workspaces

  • List workspaces
  • Create a workspace
  • Delete a workspace

Webhooks

  • List webhooks
  • Create webhooks
  • Modify a webhook
  • Remove a webhook

Events Grist can send to a Tray.ai webhook trigger

  • Record added
  • Record updated

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

support.getgrist.com/api

Frequently asked questions

What can a Tray.ai workflow do in Grist?

The Grist API documents 22 actions across 6 resources (Records, Tables, Columns, Documents, Workspaces, Webhooks). For example: Fetch records from a table; List tables in a document; List columns in a table. A workflow can make any documented call through the HTTP Connector.

How does Tray.ai authenticate with Grist?

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

Which Grist events can start a Tray.ai workflow?

Grist sends 2 events to a webhook URL, for example: Record added; Record updated. A Tray.ai webhook trigger receives them and starts a workflow.

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