Connectors / Developer tools · HTTP Connector
Browserbase integration and API
Create a session, create a context and run a web search in Browserbase, and start a workflow when Browserbase sends “Function build running”.
What can you do with Browserbase on Tray.ai?
Browserbase runs headless browsers in the cloud for AI agents and automation, with session recordings, reusable browser contexts, page fetching and web search. Tray.ai connects to Browserbase through the HTTP Connector, so your workflows can call the Browserbase API alongside the rest of your stack.
- When Browserbase sends “Function invocation failed”, page the on-call engineer.
- Invoke a function that logs into a partner portal and pulls the latest report into your data warehouse.
- Get project usage each month and send the figures to finance for cost tracking.
- Connects through
- HTTP Connector
- Authentication
- An API key in a request header
- Base URL
- https://api.browserbase.com/v1
Set it up
Connect Browserbase to Tray.ai
Each step uses Browserbase's own API details, from its documentation.
Save Browserbase'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.
Point the HTTP Client at the API
Add an HTTP Client step and use https://api.browserbase.com/v1 as the base URL. Or paste a cURL example from Browserbase's API docs, and Tray.ai fills in the method, URL, and headers.
Start with “List sessions”
It's one of 20 documented actions, under Sessions. The response comes back as data the next step can map into your other apps.
Start workflows from Browserbase events
Give Browserbase the URL of a Tray.ai webhook trigger. “Function build running” can then start a workflow, and so can 6 other events.
Workflows to build with Browserbase
Connect Browserbase with Slack, Jira and Google Sheets
Each one uses actions and events from Browserbase's own API documentation.
Alert engineers in Slack when a Browserbase function fails
When
Function invocation failed
Then
- Get an invocation
- Post the error to the engineering channel in Slack
With Slack
Create Jira bugs for failed Browserbase function builds
When
Function build failed
Then
- Create a bug in Jira with the build details
- Assign it to the function owner in Jira
With Jira
Track Browserbase usage in Google Sheets each week
When
On a schedule
Then
- List projects
- Get project usage for each one
- Add the totals to the usage sheet in Google Sheets
With Google Sheets
Apps you can build on Browserbase data
Internal tools your team can build with an AI assistant, each one using Browserbase calls from its API documentation.
Session debugging view
Lists browser sessions and shows logs for each one.
Usage dashboard
Shows usage per project.
Function run log
Lists function invocations as they complete or fail.
Browserbase MCP server for AI agents
Build an MCP server on Browserbase 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
- Create a session
- Create a context
- Fetch a page
- List functions
- Create a webhook
- List projects
- List sessions
- Get a session
What the Browserbase 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.
Sessions
- Create a session
- List sessions
- Get a session
- Update a session
- Get session logs
Contexts
- Create a context
- Get a context
- Delete a context
Fetch and search
- Fetch a page
- Run a web search
Functions
- List functions
- Invoke a function
- Get an invocation
Webhooks
- Create a webhook
- List webhooks
- Update a webhook
- Delete a webhook
Projects
- List projects
- Get a project
- Get project usage
Events Browserbase can send to a Tray.ai webhook trigger
- Function build running
- Function build completed
- Function build failed
- Function invocation pending
- Function invocation running
- Function invocation completed
- Function invocation failed
Checked against Browserbase's own documentation on 2026-10-22
How Tray.ai makes this work
Browserbase plugs into the whole Tray.ai platform
Tray iPaaS
Integrate and automate across 12,000+ apps, databases, APIs, and services with visual workflows, error handling, and observability.
Learn moreTray Helix agents
Agents in the apps your teams run on Tray Helix that read, write, and act in Browserbase, with a person's approval on any tool you choose.
Learn moreAgent Gateway for MCP
Expose Browserbase actions as governed MCP tools: observable, rate-limited and authenticated.
Learn moreTray Helix
Build apps on Browserbase data with your AI assistant, then deploy, run, and govern them on Tray.ai.
Learn moreMore developer tools apps on Tray.ai
Dedicated connectors and other apps Tray.ai reaches in the same category. See every developer tools connector →
Frequently asked questions
What can a Tray.ai workflow do in Browserbase?
The Browserbase API documents 20 actions across 6 resources (Sessions, Contexts, Fetch and search, Functions, Webhooks, Projects). For example: Create a session; Create a context; Fetch a page. A workflow can make any documented call through the HTTP Connector.
How does Tray.ai authenticate with Browserbase?
The Browserbase 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 Browserbase events can start a Tray.ai workflow?
Browserbase sends 7 events to a webhook URL, for example: Function build running; Function build completed; Function build failed; Function invocation pending; Function invocation running; Function invocation completed; Function invocation failed. A Tray.ai webhook trigger receives them and starts a workflow.
See Browserbase working against your stack.
We'll walk through a tailored demo with your systems plugged in.
Thanks. Someone from our team will be in touch soon.