Check E2B resource metrics after playlist edits
Spot resource pressure before it slows down playlist processing.
Trigger
Spotify Playlist Item Change
Triggers when songs are added to or removed from a Spotify playlist.
Action
Get Sandbox Metrics
Tool to retrieve timestamped CPU, memory, and disk usage metrics for a sandbox. Use when you need to monitor resource usage of a running sandbox. Metrics are collected every 5 seconds; returns empty array if no metrics available yet.
Why this helps
Heavy analysis can consume resources silently, causing slow or incomplete playlist jobs.
- Highlights resource spikes
- Supports capacity decisions
- Helps explain slow jobs
Setup
Build it in a few focused steps.
- 1Connect Spotify and E2b in Notis once.
- 2Create an automation for post-edit resource checks.
- 3Tell Notis to retrieve sandbox metrics after each playlist item change and summarize unusual usage.
- 4Pick Spotify Playlist Item Change as the trigger and select a report channel.
- 5Run a test with a representative playlist edit.
Questions about this workflow
What metrics are available?
The action returns timestamped CPU, memory, and disk usage metrics when available.
What if no metrics exist yet?
Notis can report that no metrics were available and continue the workflow.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link Spotify to E2b. A trigger fires from one place; an action lands in another.
Spotify 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 Device Added
Triggers when a new device is added.
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.
Spotify Playlist Item Change
Triggers when songs are added to or removed from a Spotify playlist.
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.
New Playlist Created or Deleted
Triggers when a new playlist is created or deleted.
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.
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.
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.
Spotify 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.