- Integrations
- /
- Browserbase
- /
- Actions
- /
- Close Session
ActionBrowserbaseUpdated May 2026
How do I terminate a Browserbase session?
Short answer: Drop the "Browserbase → Close 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.
| Field | Type | Required | Description |
|---|---|---|---|
Session ID session_id | string | Required | Session 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.
Action
Create Browser Session
Starts a new headless Chromium session. Returns a session ID, connect URL (for Playwright), and debug URL (live VNC viewer). Optional context_id to reuse a saved auth profile, optional proxies for residential routing.
ActionGet Debug URL
Returns the short-lived live-viewer URL for an in-flight session. Open in a browser to watch the headless Chromium in real time — useful for debugging "why did the scrape break" or "what did the agent actually see" mysteries.
ActionGet Session Recording
Returns the rrweb-format recording of a completed session. Replay with the rrweb-player library to reconstruct the session's DOM mutations and user input. Useful for after-the-fact debugging of failed runs.
ActionGet Session
Returns metadata for a specific session — status, runtime, region, configured proxies. Useful for monitoring active sessions or auditing past runs.
ActionList Sessions
Paginated session history with status filters. Useful for "any orphaned sessions still consuming slots?" cleanup or for capacity planning around session quota usage.
Send close session from your workflows.
Triggered by anything in the catalog. Free tier available. No credit card.