Clean up a sandbox you have finished using
Ask Notis to remove a specific E2B sandbox when you are sure its work is complete.
Trigger
New Message Received
Triggered when your bot receives a new message in a private chat, group, or supergroup. To receive every message in a group, Privacy Mode must be disabled for the bot in BotFather.
Action
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.
Why this helps
Temporary environments can be forgotten after a task ends, leaving cleanup for later.
- Handle cleanup from the conversation where you close out a task.
- Act on a specific sandbox rather than leaving it on a to-do list.
- Reduce clutter among active and paused environments.
Setup
Build it in a few focused steps.
- 1Connect Telegram and E2B to Notis once through the portal.
- 2Create an automation in the portal or ask Notis in plain language.
- 3Write one instruction to delete an E2B sandbox only when I explicitly ask in Telegram and identify the sandbox as finished.
- 4Choose the Telegram new-message trigger and a channel for run reports.
- 5Test the request wording with a sandbox that is safe to permanently remove.
Questions about this workflow
Can a deleted sandbox be resumed?
No. Delete Sandbox permanently terminates the running sandbox, and it cannot be resumed.
How can I avoid deleting the wrong environment?
Have the instruction require an explicit deletion request and a clear sandbox identifier before taking action.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link Telegram to E2b. A trigger fires from one place; an action lands in another.
Telegram 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.
New Message Received
Triggered when your bot receives a new message in a private chat, group, or supergroup. To receive every message in a group, Privacy Mode must be disabled for the bot in BotFather.
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.
New Channel Post
Triggered when a new post is published to a channel where your bot is an administrator.
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.
Callback Query Received
Triggered when a user taps an inline keyboard button attached to one of your bot's messages.
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.
Message Edited
Triggered when a message in a chat your bot can see is edited by its sender.
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.
New Chat Member
Triggered when a new member joins a group or supergroup the bot belongs to, including when the bot itself is added.
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.
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.
Telegram 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.