Skip to content
ActionBrowserbaseUpdated May 2026

How do I terminate a Browserbase session?

Short answer: Drop the "BrowserbaseClose Session" action anywhere in your workflow, map the inputs from upstream nodes, and publish.

Inputs

The fields this action accepts.

Every field can be mapped from an upstream trigger, AI step, table row, or hard-coded literal.

FieldTypeRequiredDescription
Session ID
session_id
stringRequiredSession ID (required)
Sample request
{
"session_id": "{{trigger.session_id}}"
}
Returns
{
"id": "sess_abc",
"status": "REQUEST_RELEASE"
}

Use these fields in downstream nodes for routing, logging, or error handling.

Triggered by

Apps that pair well as the trigger for Close Session.

Any of these apps can fire this action as part of a workflow.

FAQ

Questions about Close Session.

What does the Close Session action do in Browserbase?
Stops a session early and releases the slot. Call this in a workflow's finally block to avoid orphaned sessions consuming slots. Sessions auto-close at the configured timeout (default 60min); explicit close saves cost on short jobs.
What inputs does Close Session require?
Required: Session ID. Every input accepts a static value or a variable from any upstream node in your workflow.
Can I use dynamic inputs from earlier workflow nodes?
Yes. Any field on this action can pull values from upstream nodes, whether that's a form response, a trigger payload, an AI output, or a lookup result.
What happens if Browserbase returns an error?
The workflow pauses on the failed node, the error message is captured in the run log, and you can retry the run with one click. Auto-retry policies are configurable per workflow with exponential backoff up to 5 attempts.
Does Close Session support batch operations?
Yes. Run Close Session inside a Loop node to process arrays. Tiny Command handles Browserbase's rate limits automatically so you don't have to throttle manually.
More actions

Other Browserbase actions.

Send close session from your workflows.

Triggered by anything in the catalog. Free tier available. No credit card.