Skip to content
Notis

Delete a retired E2B sandbox from an edited message

Close out abandoned environments when the team updates the plan.

Trigger

Message Edited

Triggered when an existing message in a monitored Discord channel is edited.

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

Retired sandboxes keep consuming attention and can remain active after a project changes direction.

  • Remove environments that are truly finished
  • Keep active sandbox lists manageable
  • Tie cleanup to an explicit project decision

Setup

Build it in a few focused steps.

  • 1Connect Discord and E2b once in Notis.
  • 2Create an automation for confirmed sandbox retirement.
  • 3Tell Notis to delete the named E2B sandbox only when the edited message explicitly marks it as retired.
  • 4Pick Message Edited as the trigger and choose a report channel.
  • 5Test with a safe sandbox and a clear retirement edit.

Questions about this workflow

Is deletion reversible?

No. E2B deletion permanently terminates the sandbox.

How can accidental deletion be avoided?

Require an explicit retirement phrase in the automation instruction.

When this happens · Trigger

Do this · Action

Supported Triggers and Actions

Notis builds workflows that link Discord to E2b. A trigger fires from one place; an action lands in another.

Discord triggers

E2b actions

Recurring trigger

Notis starts this workflow on a schedule, such as daily, weekly, or during business hours.

TriggerScheduled

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.

ActionInstant

Webhook trigger

Notis starts this workflow when an external tool or custom backend sends an HTTP request.

TriggerInstant

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.

ActionInstant

New Discord Message Trigger

Polls a specific Discord channel for new messages.

TriggerPolling

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.

ActionInstant

New Member Joined

Triggered when a new member joins a Discord server (guild) you manage.

TriggerPolling

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.

ActionInstant

Message Reaction Added

Triggered when a reaction (emoji) is added to a message in a monitored Discord channel.

TriggerPolling

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.

ActionInstant

New Thread Created

Triggered when a new thread is created in a Discord channel within a monitored server.

TriggerPolling

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.

ActionInstant

Message Edited

Triggered when an existing message in a monitored Discord channel is edited.

TriggerPolling

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.

ActionInstant

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.

ActionInstant

Connect any two apps with Notis in the middle.

Discord 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.