Spotify “Downloads” Playlist Auto-Maintenance Workflow
This workflow is designed to automatically create and maintain a Spotify playlist named "Downloads," which synchronizes the user's most recently liked songs in real-time while ensuring that the number of songs in the playlist does not exceed a preset limit (default is 50 songs). By automatically adding new songs and removing old tracks that are no longer liked, users can easily manage their offline music, avoid excessive device storage usage, optimize the downloading experience, and enhance the convenience and efficiency of music management.

Workflow Name
Spotify “Downloads” Playlist Auto-Maintenance Workflow
Key Features and Highlights
This workflow automatically creates and maintains a Spotify playlist named “Downloads,” synchronizing it in real-time with the user’s most recently liked songs. It keeps the number of tracks within a preset limit (default 50). By automatically adding newly liked songs and removing older ones, the playlist is dynamically updated, allowing users to set it for automatic downloads and optimize device storage space.
Core Problem Addressed
As users accumulate more liked songs, downloading all of them can consume significant device storage. This workflow solves the problem by creating a dedicated “Downloads” playlist that limits the number of recently liked songs saved. It automatically synchronizes updates, eliminating the need for manual playlist and download management while preventing device storage from becoming overly full.
Use Cases
- Spotify users who want to automatically manage and download their latest liked songs
- Scenarios requiring local storage limits, preserving only a certain number of the newest tracks
- Music enthusiasts who wish to automatically sync favorite tracks to a designated playlist for offline listening
- Users with limited device storage who need to regularly clear out old songs
Main Process Steps
- Trigger the workflow on a scheduled basis (default once daily)
- Retrieve all user playlists and check for the existence of a “Downloads” playlist
- If absent, automatically create a new playlist named “Downloads”
- Fetch the user’s most recently liked songs, limited by a global variable
download_limit
(default 50 tracks) - Retrieve the current tracks in the “Downloads” playlist
- Identify newly liked songs not yet in the “Downloads” playlist
- Batch add these new tracks to the top of the “Downloads” playlist
- Identify old tracks in the “Downloads” playlist that are no longer liked
- Automatically remove outdated or unliked tracks exceeding the limit to keep the playlist up-to-date
Involved Systems or Services
- Spotify API (playlist operations, fetching liked songs, adding and removing tracks)
- n8n Automation Platform (scheduled triggers, conditional logic, batch processing, code node filtering)
Target Users and Value
- Spotify users, especially those who enjoy collecting and downloading music
- Music lovers needing intelligent management and synchronization of playlist content
- Users seeking to automate music organization workflows to save management time
- Users with limited device storage who need to control offline music quantity
By leveraging intelligent automation, this workflow significantly simplifies the management and download preparation of liked songs on Spotify, ensuring the “Downloads” playlist remains current and within size limits, thereby enhancing user experience and device efficiency.