Skip to content
Notis

Understand patterns behind Spotify device additions

Turn scattered access events into a readable pattern report.

Trigger

New Device Added

Triggers when a new device is added.

Action

Execute Code

Execute python code in a sandbox and return any result, stdout, stderr, and error. use /home/user folder to write/read files. try to not use plt.show() as the code is executed remotely. use files for image/chart output instead.

Why this helps

Repeated device additions can signal account churn or a normal multi-device setup, but the pattern is hard to see manually.

  • See repeated device patterns
  • Separate routine from unusual activity
  • Use historical context

Setup

Build it in a few focused steps.

  • 1Connect Spotify and Codeinterpreter in Notis once.
  • 2Create an automation named Device Pattern Report.
  • 3Tell Notis to read /home/user/spotify-devices.jsonl and summarize recurring or unusual device patterns after each new event.
  • 4Pick New Device Added as the trigger.
  • 5Choose a report channel, then test with one real device event.

Questions about this workflow

Does it need historical events?

Yes, provide a history file for pattern analysis; otherwise it reports only the current event.

Can I define unusual patterns?

Yes, specify thresholds such as repeated locations or rapid additions.

When this happens · Trigger

Do this · Action

Supported Triggers and Actions

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

Spotify triggers

Codeinterpreter actions

Recurring trigger

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

TriggerScheduled

Create Sandbox

Create a sandbox to execute python code in a jupyter notebook cell. this is useful for agents to communicate, execute code, see output, read files, write files, etc. it's like you own personal computer, but in the cloud. use /home/user folder to write/read files.

ActionInstant

Webhook trigger

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

TriggerInstant

Execute Code

Execute python code in a sandbox and return any result, stdout, stderr, and error. use /home/user folder to write/read files. try to not use plt.show() as the code is executed remotely. use files for image/chart output instead.

ActionInstant

New Device Added

Triggers when a new device is added.

TriggerPolling

Get File

Get a file from the sandbox and returns the file. the files should be read from /home/user folder.

ActionInstant

Spotify Playlist Item Change

Triggers when songs are added to or removed from a Spotify playlist.

TriggerPolling

Run Terminal Command

Run a command in the terminal and returns the stdout, stderr, and error code. use /home/user folder to write/read files.

ActionInstant

New Playlist Created or Deleted

Triggers when a new playlist is created or deleted.

TriggerPolling

Upload File

Upload a file to the sandbox environment. the files should be uploaded to the /home/user folder.

ActionInstant

Connect any two apps with Notis in the middle.

Spotify and Codeinterpreter, 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 Codeinterpreter.