Pause the right sandbox when a subscription ends
When a subscription ends, trigger a pause for its E2B sandbox and reduce the manual cleanup that can otherwise slip through.
Trigger
Subscription Deleted Trigger
Triggered when a subscription is deleted in Stripe
Action
Pause Sandbox
Tool to pause a running E2B sandbox preserving its filesystem and memory state. Use when you need to temporarily suspend a sandbox while maintaining its state for later resumption. Takes approximately 4 seconds per 1 GiB of RAM to pause. Paused sandboxes can be stored for up to 30 days.
Why this helps
A canceled subscription can leave its associated sandbox running when nobody remembers to pause it.
- Tie a subscription deletion to a sandbox pause.
- Make the sandbox identification rule explicit in the prompt.
- Get a report about the automation run.
Setup
Build it in a few focused steps.
- 1Connect Stripe and E2B once in the Notis portal.
- 2Create an automation in Automations, New Automation, and give it a name.
- 3In one instruction, tell Notis to pause the sandbox for a deleted subscription and explain how to identify its sandbox ID.
- 4Pick the Stripe Subscription Deleted trigger and choose where run reports go.
- 5Test with one real deletion event and verify the target sandbox before relying on the automation.
Questions about this workflow
Can Notis infer which sandbox belongs to a subscription?
Only if the needed association is available to the automation. Supply a reliable sandbox ID lookup rule or mapping; the listed Stripe and E2B events do not define that relationship.
Can a paused sandbox be resumed later?
The E2B action description says pausing preserves its filesystem and memory state. Resuming is not an action in this package.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link Stripe to E2b. A trigger fires from one place; an action lands in another.
Stripe triggers
E2b actions
Recurring trigger
Notis starts this workflow on a schedule, such as daily, weekly, or during business hours.
Connect to Sandbox
Tool to connect to an existing E2B sandbox and retrieve its details. Use when you need to reconnect to a sandbox from different environments or resume a paused sandbox. The TTL is extended upon connection.
Webhook trigger
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
Create Template
Tool to create a new E2B template with specified configuration. Use when you need to define a new sandbox template that can be used to spawn sandbox environments.
Charge Failed Trigger
Triggered when a direct charge fails in Stripe's legacy Charges API
Create Webhook
Tool to register a new webhook to receive sandbox lifecycle events for the team. Use when you need to set up notifications for sandbox lifecycle events such as creation, updates, or termination.
Checkout Session Completed Trigger
Triggered when a checkout session is completed in Stripe
Delete Sandbox
Tool to terminate and permanently delete a running E2B sandbox instance. Use when you need to kill a sandbox that is no longer needed. Once terminated, the sandbox cannot be resumed.
Invoice Payment Succeeded Trigger
Triggered when an invoice payment is successful in Stripe
Delete Webhook
Tool to unregister a webhook and stop receiving lifecycle events. Use when you need to remove a webhook that is no longer needed or to clean up webhook registrations.
Payment Intent Failed Trigger
Triggered when a payment intent fails in Stripe
Check API Health
Tool to check the health status of the E2B API. Use when you need to verify that the API service is operational and accessible.
Product Created Trigger
Triggered when a product is created in Stripe
Get Sandbox
Tool to retrieve detailed information about a specific sandbox by its ID. Use when you need to check sandbox status, metadata, or configuration details.
Subscription Added Trigger
Triggered when a subscription is added in Stripe
Get Sandbox Logs
Tool to retrieve logs from a specific E2B sandbox instance. Use when you need to debug or monitor sandbox execution by viewing its console output and system logs.
Connect any two apps with Notis in the middle.
Stripe 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.