Templates / Add liked songs to a Spotify monthly playlist

Add liked songs to a Spotify monthly playlist

Ready for 3.0

by Lucas · 4,270 views · created 2021-05-07 · Personal Productivity

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This workflow has 27 nodes and runs on a schedule (every minute). Along the way it connects Spotify and NocoDB.

How it runs

Trigger: On a schedule (every minute).

  1. Get current date (Code): runs custom JavaScript code
  2. Get all user playlist (Spotify): get user playlists
  3. Get last 10 liked tracks (Spotify): work with library
  4. Get monthly playlist (Filter): keeps only the items that match a condition
  5. For each tracks in liked song (Loop Over Items (Split in Batches)): loops over the items in batches
  6. Monthly playlist exist in Spotify ? (If): checks a condition and branches into true / false
  7. Merge: merges the data from its input branches
  8. Check if track is saved (NocoDB): get many
  9. Get playlist in DB (NocoDB): get many
  10. Create playlist in Spotify (Spotify): create (playlist)

…plus 12 more steps. See the full node list below.

Services it uses

SpotifyNocoDB

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (9)

From the author

🎶 Add liked songs to a monthly playlist > This Workflow is a port of Add saved songs to a monthly playlist from IFTTT. When you like a song, the workflow will save this song in a monthly playlist. E.g.: It's June 2024, I liked a song. The workflow will…

Excerpt from Lucas's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.