Set an E2B sandbox timeout from a device request
Keep a sandbox's lifetime aligned with the investigation by setting its timeout when a device request arrives.
Trigger
Webhook received
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
Action
Set Sandbox Timeout
Change how long a sandbox remains active before timing out.
Why this helps
A forgotten sandbox timeout can add extra steps when a device investigation needs more or less time.
- Set the timeout for a specified E2B sandbox from an incoming request.
- Reduce manual steps when adjusting a sandbox lifetime for an investigation.
- Keep the requested timeout and workflow run report together.
Setup
Build it in a few focused steps.
- 1Connect Adafruit IO and E2B once in the Notis portal.
- 2Create an automation in Automations, New Automation, or tell Notis what outcome you want from any channel.
- 3Describe how to identify the sandbox and the timeout value to set from each incoming request.
- 4Choose the webhook trigger and select where run reports should go.
- 5Test with one existing sandbox and an intentional timeout value.
Questions about this workflow
What must the webhook request provide?
It must identify the sandbox and provide the timeout value to set. The instruction should explain how Notis can read both from the request.
Does the timeout add to the previous TTL?
No. The action measures the timeout from the current time, and each call overwrites the previous TTL.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link Adafruit IO to E2b. A trigger fires from one place; an action lands in another.
Adafruit IO triggers
E2b actions
Recurring trigger
Notis starts this workflow on a schedule, such as daily, weekly, or during business hours.
Connect to Sandbox
Connect to an existing sandbox and view its details.
Webhook trigger
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
Create Template
Create a template for launching sandbox environments.
Create Webhook
Register a webhook for sandbox lifecycle notifications.
Delete Sandbox
Terminate and permanently delete a sandbox; it cannot be resumed.
Delete Webhook
Unregister a webhook and stop its lifecycle notifications.
Delete Template
Permanently deletes a template; running or paused sandboxes must not use it.
Check API Health
Check whether the service is operational.
Get Sandbox
View details about a sandbox.
Connect any two apps with Notis in the middle.
Adafruit IO and E2b, or any other combination from 1,000+ integrations.
When this happens · Trigger
Do this · Action
Save your first hour today.
7-day trial of any paid plan, with 20$ of usage included.
No card. Works with personal or business E2b.