Keep an ongoing document analysis sandbox available
Extend the lifetime of the specific E2B environment when a document workflow needs more time to finish its analysis.
Trigger
Webhook received
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
Action
Refresh Sandbox
Extend a sandbox's lifetime to prevent it from timing out.
Why this helps
A long-running document task can lose its environment to a timeout while follow-up work is still pending.
- Refresh a specific sandbox and extend its TTL.
- Trigger the refresh from a document workflow request.
- Keep the returned result visible in the run report.
Setup
Build it in a few focused steps.
- 1Connect Affinda and E2B once in the Notis portal.
- 2Create an automation in Automations, New Automation, or tell Notis from any channel.
- 3In one instruction, ask Notis to refresh the E2B sandbox named in an Affinda request only when the request indicates analysis is still underway.
- 4Choose the Notis webhook trigger and select where run reports should go.
- 5Test with one real in-progress request that includes a valid sandbox ID.
Questions about this workflow
Does refresh pause or restart the sandbox?
No. Refresh extends the sandbox time to live.
What information is required?
The request needs the specific E2B sandbox ID. Your instruction should also define how an in-progress analysis is identified.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link Affinda to E2b. A trigger fires from one place; an action lands in another.
Affinda 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.
Affinda 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.