This workflow corresponds to n8n.io template #697 — we link there as the canonical source.
The workflow JSON
Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →
{
"id": "5",
"name": "Example: Archive Spotify's Discover Weekly playlist",
"tags": [],
"nodes": [
{
"id": "00e66ecd-8b01-4b94-8479-789713f99adc",
"name": "Get Playlists",
"type": "n8n-nodes-base.spotify",
"position": [
-240,
80
],
"parameters": {
"resource": "playlist",
"operation": "getUserPlaylists",
"returnAll": true
},
"credentials": {
"spotifyOAuth2Api": {
"name": "<your credential>"
}
},
"executeOnce": false,
"typeVersion": 1
},
{
"id": "5b5f648d-3af4-42b9-ba4d-36806c1f9ef3",
"name": "Get Tracks",
"type": "n8n-nodes-base.spotify",
"position": [
300,
80
],
"parameters": {
"id": "={{$node[\"Find Weekly Playlist\"].json[\"uri\"]}}",
"resource": "playlist",
"operation": "getTracks",
"returnAll": true
},
"credentials": {
"spotifyOAuth2Api": {
"name": "<your credential>"
}
},
"executeOnce": true,
"typeVersion": 1,
"alwaysOutputData": false
},
{
"id": "88325eb3-01ae-4cea-b8d0-0e2cc8fc7aba",
"name": "Save to Archive",
"type": "n8n-nodes-base.spotify",
"position": [
440,
80
],
"parameters": {
"id": "={{$item(0).$node[\"Find Archive Playlist\"].json[\"uri\"]}}",
"trackID": "={{$json[\"track\"][\"uri\"]}}",
"resource": "playlist",
"additionalFields": {}
},
"credentials": {
"spotifyOAuth2Api": {
"name": "<your credential>"
}
},
"executeOnce": false,
"typeVersion": 1
},
{
"id": "02f221e5-47b9-4e9e-9c68-ca7ddf37564e",
"name": "Find Archive Playlist",
"type": "n8n-nodes-base.if",
"position": [
-40,
0
],
"parameters": {
"conditions": {
"string": [
{
"value1": "={{$json[\"name\"]}}",
"value2": "Discover Weekly Archive"
}
]
}
},
"typeVersion": 1
},
{
"id": "603f7161-a141-48ce-97e2-4e5a43bfb4fe",
"name": "Find Weekly Playlist",
"type": "n8n-nodes-base.if",
"position": [
-40,
140
],
"parameters": {
"conditions": {
"string": [
{
"value1": "={{$json[\"name\"]}}",
"value2": "Discover Weekly"
}
]
}
},
"typeVersion": 1
},
{
"id": "9d5ec356-4a8c-465b-9f0f-a993fd58ef4d",
"name": "Merge",
"type": "n8n-nodes-base.merge",
"position": [
160,
80
],
"parameters": {
"mode": "wait"
},
"typeVersion": 1
},
{
"id": "3a8e7f8f-e332-4aef-b9f8-83755b356a02",
"name": "Schedule Trigger",
"type": "n8n-nodes-base.scheduleTrigger",
"notes": "8am Mondays",
"position": [
-400,
80
],
"parameters": {
"rule": {
"interval": [
{
"field": "cronExpression",
"expression": "0 0 8 * * 1"
}
]
}
},
"notesInFlow": true,
"typeVersion": 1.1
}
],
"active": false,
"settings": {},
"versionId": "ce04e934-338b-4f44-87e6-327fad99bd01",
"connections": {
"Merge": {
"main": [
[
{
"node": "Get Tracks",
"type": "main",
"index": 0
}
]
]
},
"Get Tracks": {
"main": [
[
{
"node": "Save to Archive",
"type": "main",
"index": 0
}
]
]
},
"Get Playlists": {
"main": [
[
{
"node": "Find Archive Playlist",
"type": "main",
"index": 0
},
{
"node": "Find Weekly Playlist",
"type": "main",
"index": 0
}
]
]
},
"Find Weekly Playlist": {
"main": [
[
{
"node": "Merge",
"type": "main",
"index": 1
}
]
]
},
"Find Archive Playlist": {
"main": [
[
{
"node": "Merge",
"type": "main",
"index": 0
}
]
]
}
}
}
Credentials you'll need
Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.
spotifyOAuth2Api
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
This workflow will archive your Spotify Discover Weekly playlist to an archive playlist named "Discover Weekly Archive" which you must create yourself. If you want to change the name of the archive playlist, you can edit in the "Find Archive Playlist" node.
Source: https://n8n.io/workflows/697/ — original creator credit. Request a take-down →
Related workflows
Workflows that share integrations, category, or trigger type with this one. All free to copy and import.
Archive Spotify S Discover Weekly Playlist. Uses spotify, scheduleTrigger. Scheduled trigger; 7 nodes.
Schedule Spotify. Uses scheduleTrigger, spotify, stickyNote. Scheduled trigger; 11 nodes.
This updated workflow will automatically archive your Spotify tracks to another manually created playlist, without the nuisance of duplicate tracks. It utilizes the latest verisons of n8n's [](https:/
💻 Schedule workflow activity time. Uses n8n, scheduleTrigger, stickyNote. Scheduled trigger; 13 nodes.
Send weekly Local Falcon rank reports via email. Uses @local-falcon/n8n-nodes-localfalcon, emailSend. Scheduled trigger; 9 nodes.