Files
n8n-enterprise-unlocked/test-workflows/workflows/61.json
2025-05-20 07:24:56 +01:00

582 lines
12 KiB
JSON

{
"createdAt": "2021-02-23T16:32:02.682Z",
"updatedAt": "2021-07-14T13:38:50.003Z",
"id": "61",
"name": "Spotify:Artist:get getAlbums getRelatedArtists getTopTracks:Album:get getNewReleases getTracks:Track:get getAudioFeatures:Playlist:create getUserPlaylists get add getTracks delete:Player:recentylPlayed currentlyPlaying:Library:getLikedTracks",
"active": false,
"nodes": [
{
"parameters": {},
"name": "Start",
"type": "n8n-nodes-base.start",
"typeVersion": 1,
"position": [
250,
300
],
"id": "4509b9ad-036c-4042-9094-565f3831b616"
},
{
"parameters": {
"resource": "artist",
"id": "0dwFxqYkvZLSA6U6XfQcDV"
},
"name": "Spotify",
"type": "n8n-nodes-base.spotify",
"typeVersion": 1,
"position": [
440,
300
],
"credentials": {
"spotifyOAuth2Api": {
"id": "223",
"name": "Spotify OAuth2 creds"
}
},
"id": "1d211521-bf07-43d1-a537-76a43689659f"
},
{
"parameters": {
"resource": "artist",
"operation": "getAlbums",
"id": "0dwFxqYkvZLSA6U6XfQcDV",
"limit": 1
},
"name": "Spotify1",
"type": "n8n-nodes-base.spotify",
"typeVersion": 1,
"position": [
600,
300
],
"credentials": {
"spotifyOAuth2Api": {
"id": "223",
"name": "Spotify OAuth2 creds"
}
},
"id": "5335e14c-1580-43cf-ab02-e0a6ff3a8682"
},
{
"parameters": {
"resource": "artist",
"operation": "getRelatedArtists",
"id": "0dwFxqYkvZLSA6U6XfQcDV"
},
"name": "Spotify2",
"type": "n8n-nodes-base.spotify",
"typeVersion": 1,
"position": [
600,
150
],
"credentials": {
"spotifyOAuth2Api": {
"id": "223",
"name": "Spotify OAuth2 creds"
}
},
"notes": "CAP_RESULTS_LENGTH=1",
"id": "87c2549e-56ae-4bce-94aa-f6a28da0a87c"
},
{
"parameters": {
"resource": "artist",
"operation": "getTopTracks",
"id": "0dwFxqYkvZLSA6U6XfQcDV"
},
"name": "Spotify3",
"type": "n8n-nodes-base.spotify",
"typeVersion": 1,
"position": [
600,
460
],
"credentials": {
"spotifyOAuth2Api": {
"id": "223",
"name": "Spotify OAuth2 creds"
}
},
"notes": "CAP_RESULTS_LENGTH=1",
"id": "69240ec6-ad37-46b3-80d2-b1656c2f1334"
},
{
"parameters": {
"resource": "album",
"id": "={{$node[\"Spotify1\"].json[\"id\"]}}"
},
"name": "Spotify4",
"type": "n8n-nodes-base.spotify",
"typeVersion": 1,
"position": [
810,
300
],
"credentials": {
"spotifyOAuth2Api": {
"id": "223",
"name": "Spotify OAuth2 creds"
}
},
"id": "00066fda-fa7f-4070-a687-fe253bfdd1cb"
},
{
"parameters": {
"resource": "album",
"operation": "getTracks",
"id": "={{$node[\"Spotify1\"].json[\"id\"]}}",
"limit": 1
},
"name": "Spotify5",
"type": "n8n-nodes-base.spotify",
"typeVersion": 1,
"position": [
1100,
300
],
"credentials": {
"spotifyOAuth2Api": {
"id": "223",
"name": "Spotify OAuth2 creds"
}
},
"id": "a2a42efb-f876-4612-acfd-2325108cea84"
},
{
"parameters": {
"resource": "track",
"operation": "get",
"id": "={{$node[\"Spotify5\"].json[\"id\"]}}"
},
"name": "Spotify6",
"type": "n8n-nodes-base.spotify",
"typeVersion": 1,
"position": [
1250,
300
],
"credentials": {
"spotifyOAuth2Api": {
"id": "223",
"name": "Spotify OAuth2 creds"
}
},
"id": "be6c985b-88be-424f-b7c3-76126a347140"
},
{
"parameters": {
"resource": "track",
"operation": "getAudioFeatures",
"id": "={{$node[\"Spotify5\"].json[\"id\"]}}"
},
"name": "Spotify7",
"type": "n8n-nodes-base.spotify",
"typeVersion": 1,
"position": [
1400,
300
],
"credentials": {
"spotifyOAuth2Api": {
"id": "223",
"name": "Spotify OAuth2 creds"
}
},
"id": "6c05d655-43c2-456d-a9d0-a80ac251c1f6"
},
{
"parameters": {
"resource": "playlist",
"operation": "getUserPlaylists",
"limit": 1
},
"name": "Spotify8",
"type": "n8n-nodes-base.spotify",
"typeVersion": 1,
"position": [
450,
610
],
"credentials": {
"spotifyOAuth2Api": {
"id": "223",
"name": "Spotify OAuth2 creds"
}
},
"id": "36defd84-29a1-4f39-896e-4885daaec151"
},
{
"parameters": {
"resource": "playlist",
"operation": "get",
"id": "={{$node[\"Spotify8\"].json[\"id\"]}}"
},
"name": "Spotify9",
"type": "n8n-nodes-base.spotify",
"typeVersion": 1,
"position": [
600,
610
],
"credentials": {
"spotifyOAuth2Api": {
"id": "223",
"name": "Spotify OAuth2 creds"
}
},
"id": "61c3c3dd-c263-4f2d-bd2d-c30ee5cd24ed"
},
{
"parameters": {
"resource": "playlist",
"id": "={{$node[\"Spotify8\"].json[\"id\"]}}",
"trackID": "spotify:track:2ea6bt302Bq8Hiulp8Bn2C",
"additionalFields": {}
},
"name": "Spotify10",
"type": "n8n-nodes-base.spotify",
"typeVersion": 1,
"position": [
750,
610
],
"credentials": {
"spotifyOAuth2Api": {
"id": "223",
"name": "Spotify OAuth2 creds"
}
},
"id": "1aba2540-e5c6-4e19-9afb-1ce402ee9e63"
},
{
"parameters": {
"resource": "playlist",
"operation": "getTracks",
"id": "={{$node[\"Spotify8\"].json[\"id\"]}}",
"limit": 1
},
"name": "Spotify11",
"type": "n8n-nodes-base.spotify",
"typeVersion": 1,
"position": [
900,
610
],
"credentials": {
"spotifyOAuth2Api": {
"id": "223",
"name": "Spotify OAuth2 creds"
}
},
"id": "b73d97e3-8689-4d5a-b63a-798b841f97df"
},
{
"parameters": {
"resource": "playlist",
"operation": "delete",
"id": "={{$node[\"Spotify8\"].json[\"id\"]}}",
"trackID": "spotify:track:2ea6bt302Bq8Hiulp8Bn2C"
},
"name": "Spotify12",
"type": "n8n-nodes-base.spotify",
"typeVersion": 1,
"position": [
1050,
610
],
"credentials": {
"spotifyOAuth2Api": {
"id": "223",
"name": "Spotify OAuth2 creds"
}
},
"id": "0a06cad9-d378-4206-8974-4a32f47c3ca2"
},
{
"parameters": {
"operation": "recentlyPlayed",
"limit": 1
},
"name": "Spotify14",
"type": "n8n-nodes-base.spotify",
"typeVersion": 1,
"position": [
450,
0
],
"credentials": {
"spotifyOAuth2Api": {
"id": "223",
"name": "Spotify OAuth2 creds"
}
},
"id": "e053e2f6-6166-4642-aae0-45c9e1fd7e8a"
},
{
"parameters": {
"operation": "currentlyPlaying"
},
"name": "Spotify15",
"type": "n8n-nodes-base.spotify",
"typeVersion": 1,
"position": [
600,
0
],
"credentials": {
"spotifyOAuth2Api": {
"id": "223",
"name": "Spotify OAuth2 creds"
}
},
"id": "3f6ce69d-fe20-4ae8-9e0f-2fd6819829b8"
},
{
"parameters": {
"resource": "album",
"operation": "getNewReleases",
"limit": 1,
"filters": {
"country": "DE"
}
},
"name": "Spotify13",
"type": "n8n-nodes-base.spotify",
"typeVersion": 1,
"position": [
950,
300
],
"credentials": {
"spotifyOAuth2Api": {
"id": "223",
"name": "Spotify OAuth2 creds"
}
},
"id": "56209a90-208b-427e-91a6-2afeed0a2637"
},
{
"parameters": {
"resource": "playlist",
"operation": "create",
"name": "=Playlist{{Date.now()}}",
"additionalFields": {
"public": true
}
},
"name": "Spotify16",
"type": "n8n-nodes-base.spotify",
"typeVersion": 1,
"position": [
1200,
610
],
"credentials": {
"spotifyOAuth2Api": {
"id": "223",
"name": "Spotify OAuth2 creds"
}
},
"id": "59830b10-56b4-49b0-b2fd-c21829acb8f6"
},
{
"parameters": {
"resource": "library",
"limit": 1
},
"name": "Spotify17",
"type": "n8n-nodes-base.spotify",
"typeVersion": 1,
"position": [
450,
450
],
"credentials": {
"spotifyOAuth2Api": {
"id": "223",
"name": "Spotify OAuth2 creds"
}
},
"id": "8ffb18bc-7e7a-403c-bcb1-60732c28f358"
}
],
"connections": {
"Start": {
"main": [
[
{
"node": "Spotify",
"type": "main",
"index": 0
},
{
"node": "Spotify8",
"type": "main",
"index": 0
},
{
"node": "Spotify14",
"type": "main",
"index": 0
},
{
"node": "Spotify17",
"type": "main",
"index": 0
}
]
]
},
"Spotify": {
"main": [
[
{
"node": "Spotify1",
"type": "main",
"index": 0
},
{
"node": "Spotify3",
"type": "main",
"index": 0
},
{
"node": "Spotify2",
"type": "main",
"index": 0
}
]
]
},
"Spotify1": {
"main": [
[
{
"node": "Spotify4",
"type": "main",
"index": 0
}
]
]
},
"Spotify4": {
"main": [
[
{
"node": "Spotify13",
"type": "main",
"index": 0
}
]
]
},
"Spotify5": {
"main": [
[
{
"node": "Spotify6",
"type": "main",
"index": 0
}
]
]
},
"Spotify6": {
"main": [
[
{
"node": "Spotify7",
"type": "main",
"index": 0
}
]
]
},
"Spotify8": {
"main": [
[
{
"node": "Spotify9",
"type": "main",
"index": 0
}
]
]
},
"Spotify9": {
"main": [
[
{
"node": "Spotify10",
"type": "main",
"index": 0
}
]
]
},
"Spotify10": {
"main": [
[
{
"node": "Spotify11",
"type": "main",
"index": 0
}
]
]
},
"Spotify11": {
"main": [
[
{
"node": "Spotify12",
"type": "main",
"index": 0
}
]
]
},
"Spotify14": {
"main": [
[
{
"node": "Spotify15",
"type": "main",
"index": 0
}
]
]
},
"Spotify13": {
"main": [
[
{
"node": "Spotify5",
"type": "main",
"index": 0
}
]
]
},
"Spotify12": {
"main": [
[
{
"node": "Spotify16",
"type": "main",
"index": 0
}
]
]
}
},
"settings": {},
"staticData": null,
"meta": null,
"pinData": null,
"versionId": null,
"triggerCount": 0,
"tags": []
}