Skip to content
FlowHubFluxonLab
C
Spotifyfree

Download recently liked songs automatically with Spotify

by Marioadapted from n8n official workflow galleryUpdated Aug 2026
RequiresCCodeSpotifySpotify
Share Post Share
IfIf no playlistCreate Downloads PlaylistCreate Download…Get Liked TracksSILoop Over ItemsAgAggregateSOSplit OutAdd tracks to DownloadsAdd tracks to D…Get Downloads PlaylistGet Downloads P…CoFilter out new tracksFilter out new …CoGet tracks to removeGet tracks to r…Remove oldest tracks from DownloadsRemove oldest t…FiFilter out Downloads PlaylistFilter out Down…Get Updated Downloads PlaylistGet Updated Dow…Get all PlaylistsGet all Playlis…ScSchedule TriggerIfIf no Downloads Playlist foundIf no Downloads…SeGlobals12345678910111213141516171819
1/5
STEPS · 19
Runs on a schedule

Purpose This workflow enables you to listen to your recent favorites in very hight quality offline without sacrificing all of your storage. How it works This workflow automatically creates a playlist in Spotify named "Downloads" which periodically gets updated so it always contains only a defined amount of the latest liked songs. This enables only the Downloads playlist to set for automatic downloading and thus free up space on the device. Setup The workflow is ready to go. Just select your Spotify credentials and activate the workflow. In Spotify just enable automatic downloads on the automatically created Downloads folder after the first workflow run. Current limitations This setup currently supports a maximum of 50 songs in the Downloads Playlist. This is due to the paylod limits defined by Spotify encountered in the Get liked songs node. Implementing batching would solve the issue.

Tags

n8nreference-onlyspotify
Connects
CCodespotifySpotify
CategorySpotify
Triggermanual
Complexitycomplex
Nodes17
AddedJun 9, 2024

Related workflows

See all Spotify
spotify
free

Add a song to your Spotify queue

Explore this workflow on its official n8n template page.

by eem2188
spotify
free

Spotify: Discover Weekly Archive

This updated workflow will automatically archive your Spotify Discover Weekly tracks to another manually created playlist, without the nuisance of duplicate tracks. It utilizes the latest verisons of n8n's Schedule trigger, Spotify, Switch, Merge, and IF nodes. Special thanks to trey for their original version of the workflow, as well as ihortom for their help with navigating the Switch node's outputs. To use this workflow, you'll need to: Create a playlist for use as the archive playlist within your Spotify account Create and select your Spotify credentials within each Spotify node within the workflow See workflow README for additional information and optional setup steps.

by JYLN
spotifyyoutube
free

🎵 Sync YouTube and Spotify Music Playlists

Workflow Overview This workflow automates the process of updating a Spotify playlist with tracks from a YouTube playlist, ensuring no duplicates are added. Key Components Manual Trigger: Starts the workflow when you click ‘Test workflow’. Spotify Integration: Retrieves tracks from a specified Spotify playlist. YouTube Integration: Fetches tracks from a designated YouTube playlist. Batch Processing: Processes tracks in batches to handle multiple items efficiently. Track Search: Searches for YouTube tracks on Spotify to find corresponding IDs. Comparison: Compares existing Spotify tracks with YouTube tracks to identify which ones to add. Track Addition: Adds new Spotify tracks to the playlist that are not already included. If you have any questions or need clarification, feel free to ask!

by Louis