(5/5)

Monthly Spotify Track Archiving and Playlist Classification

Monthly Spotify Track Archiving and Playlist Classification This n8n workflow allows you to automatically archive your monthly Spotify liked tracks in a Google Sheet, along with playlist details and descriptions. Based on this data, Claude 3.5 is used to classify each track into multiple playlists and add them in bulk. Who is this template for? This workflow template is perfect for Spotify users who want to systematically archive their listening history and organize their tracks into custom pla

Workflow Structure (30 nodes)
100%
Schedule Trigger
Monthly Trigger
Spotify
Get Playlist
Filter
Filter my playlist
Set
Playlists informations
Code
Batch preparation
Limit
Limit2
Http Request
Get Track details
Google Sheets
Get logged playlists
Split Out
Split Out
Merge
Excluding logged playlists
Google Sheets
Log new playlists
Limit
Limit
Google Sheets
Get logged tracks
Google Sheets
Log new tracks
Spotify
Get Tracks
Set
Retrieve relevant info
Merge
Merge
Set
Simplify Tracks informations
Merge
Excluding logged tracks
No Op
Classify new tracks
Code
Aggregate by 200 tracks
Langchain.lm Chat Anthropic
Anthropic Chat Model
Langchain.chain Llm
Basic LLM Chain - AI Classification
Langchain.output Parser Structured
Structured Output Parser
Split Out
Split Out1
Filter
Filter
Split Out
Split Out2
Code
Batch preparation1
Merge
Manual Verification
Spotify
Spotify
Node Types:
transform
code
http
logic
default
action
trigger
Requires credentials

Prerequisites

Required Credentials (3)

Anthropic

Used by: Anthropic Chat Model

Docs

Google Sheets

Used by: Get logged tracks, Get logged playlists +2 more

Docs

Spotify

Used by: Get Track details, Get Playlist +2 more

Docs

Multiple services required

This workflow needs 3 different credentials. Make sure you have accounts for all services before importing.

Complexity

Advanced

Expert level. Custom code, complex logic, many integrations.

Setup time: ~50 min
Score: 80/100
Custom Code
Conditional Logic
6 Integrations

When to Use This Workflow

Automated Reporting

Automatically collect and organize data into spreadsheets for analysis.

Spend less time on data entry and more time on insights.

Scheduled Operations

Run automated tasks at specific times - daily reports, weekly cleanups, monthly backups.

Set it and forget it - reliable automation that runs on your schedule.

Real-time Response

React instantly when events happen - new orders, form submissions, or API calls.

Zero delay between trigger and action for time-sensitive workflows.

workflow.json
{
  "meta": {
    "instanceId": "8e95de061dd3893a50b8b4c150c8084a7848fb1df63f53533941b7c91a8ab996"
  },
  "nodes": [
    {
      "id": "6325369f-5881-4e4e-b71b-510a64b236ef",
      "name": "Retrieve relevant info",
      "type": "n8n-nodes-base.set",
      "position": [
        1260,
        400
      ],
      "parameters": {
        "mode": "raw",
        "options": {},
        "jsonOutput": "={\n\"track\" : \"{{ $json.track.name.replaceAll('\"',\"'\") }}\",\n\"artist\": \"{{ $json.track.artists[0].name }}\",\n\"album\" :\"{{ $json.track.album.name }}\",\n\"track_spotify_uri\" : \"{{ $json.track.uri }}\",\n\"track_spotify_id\" : \"{{ $json.track.id }}\",\n\"external_urls\": \"{{ $json.track.external_urls.spotify }}\",\n\"track_popularity\" : \"{{ $json.track.popularity }}\",\n\"album_release_date\" : \"{{ $json.track.album.release_date.toDateTime().year }}\"\n}"
      },
      "typeVersion": 3.4
    },
...

Workflow Details

Nodes
37
Trigger
Scheduled
Source
awesome
Added
Dec 4, 2025

Need Help?

Check out the official n8n documentation for detailed guides.

Related Workflows

Set Workflow

Automated workflow: Set Workflow. This workflow integrates 16 different services: filter, httpRequest, stickyNote, code,...

Http-request
Spotify
Google-sheets
Schedule
37 nodesScheduled

Set Workflow

Automated workflow: Set Workflow. This workflow integrates 16 different services: filter, httpRequest, stickyNote, code,...

Http-request
Spotify
Google-sheets
Schedule
37 nodesScheduled

Visual Regression Testing with Apify and AI Vision Model

Part A. Generate Base Images Before we can run our visual regression tests, we must generate a series of base screenshot...

Google-drive
Lmchatgooglegemini
Outputparserstructured
Http-request
34 nodesScheduled
Curated

Code Workflow

Automated workflow: Code Workflow. This workflow integrates 11 different services: stickyNote, httpRequest, itemLists, m...

Schedule
Http-request
Google-sheets
Slack
13 nodesScheduled

Manualtrigger Workflow

Automated workflow: Manualtrigger Workflow. This workflow integrates 11 different services: itemLists, httpRequest, filt...

Google-sheets
Http-request
Schedule
20 nodesScheduled

Itemlists Workflow

Automated workflow: Itemlists Workflow. This workflow integrates 9 different services: itemLists, httpRequest, stickyNot...

Http-request
Google-sheets
Schedule
13 nodesScheduled