← All N8N workflows
Media & contentCompare DatasetsFilterGotifyManual TriggerMerge

Spotify Sync Liked Songs to Playlist

Configured with Compare Datasets, Filter, Gotify, Schedule Trigger, and additional nodes. Review the connections and setup before adapting this template.

Workflow preview
TriggerStartManual TriggerTriggerSchedule TriggerSchedule TriggerTransformSort first added tofirst itemSortMessagingGotify Send deleted nfrom xGotifyRoutingLoop delete oldLoop Over ItemsFiles / mediaSpotify delete oldSpotifyTransformEdit set VarsEdit FieldsTransformEdit success to delEdit FieldsRoutingFilter Playlist xFilterTransformCompare DatasetsCompare DatasetsTransformcount addedSummarizeRoutingLoop add missingLoop Over ItemsFiles / mediaSpotify add Missing toxSpotifyTransformEdit snapshot to addedEdit FieldsTransformCound deletedSummarizeTransformSortSortTransformSet pluriEdit FieldsTransformMergeMergeMessagingGotifyGotifyTransformEdit set intern varsEdit FieldsRoutingENDNo OpFiles / mediaSpotify get Liked SongsSpotifyFiles / mediaSpotify get allplaylistsSpotifyFiles / mediaSpotify get Tracks of XSpotify

Node categories in this workflow

  • Trigger
  • Transform
  • Messaging
  • Routing
  • Files / media

Icons describe general node roles, inferred from node types. Inspect the parameters for the configured action.

Drag to pan; use + and − to zoom. Reconstructed from the exported node positions; nothing runs here. Dashed lines represent non-main connections. Full node names and notes appear below.

How it works

The exported workflow contains the following configured nodes. Their connections are shown above; inspect the JSON for the complete logic, expressions, and external actions.

Workflow node names, types, and operations
NodeCategoryTypeOperation
StartTriggerManual TriggerSee node parameters
Schedule TriggerTriggerSchedule TriggerSee node parameters
Sort first added to first itemTransformSortSee node parameters
Gotify Send deleted n from xMessagingGotifySee node parameters
Loop delete oldRoutingLoop Over ItemsSee node parameters
Spotify delete oldFiles / mediaSpotifyplaylist / delete
Edit set VarsTransformEdit FieldsSee node parameters
Edit success to delTransformEdit FieldsSee node parameters
Filter Playlist xRoutingFilterSee node parameters
Compare DatasetsTransformCompare DatasetsSee node parameters
count addedTransformSummarizeSee node parameters
Loop add missingRoutingLoop Over ItemsSee node parameters
Spotify add Missing to xFiles / mediaSpotifyplaylist
Edit snapshot to addedTransformEdit FieldsSee node parameters
Cound deletedTransformSummarizeSee node parameters
SortTransformSortSee node parameters
Set pluriTransformEdit FieldsSee node parameters
MergeTransformMergeSee node parameters
GotifyMessagingGotifySee node parameters
Edit set intern varsTransformEdit FieldsSee node parameters
ENDRoutingNo OpSee node parameters
Spotify get Liked SongsFiles / mediaSpotifylibrary
Spotify get all playlistsFiles / mediaSpotifyplaylist / getUserPlaylists
Spotify get Tracks of XFiles / mediaSpotifyplaylist / getTracks

Setup

  1. Download the JSON and import it into an isolated n8n instance. Leave the workflow inactive.
  2. Connect your own credentials through n8n’s credential store. Replace REPLACE_WITH_* values with your resource identifiers.
  3. Inspect API destinations, Code nodes, database queries, file paths, and outbound actions.
  4. Run with synthetic data and harmless destinations. Enable triggers only after checking the actual outputs.

Requirements

An n8n instance with the listed node types and compatible versions. Service-connected workflows may require accounts, credentials, or paid APIs.

Credential types declared in the source

None declared. HTTP requests and Code nodes may still need configuration.

Workflow notes

Sticky Note2

Run the workflow every 24h at 0 o'clock

Spotify Sync Liked Songs to Playlist

Spotify Sync Liked Songs to Playlist

Purpose and structure

This folder contains the Spotify Sync Liked Songs to Playlist workflow. Its executable nodes use compareDatasets, filter, gotify, manualTrigger, merge, noOp, scheduleTrigger, set, sort, splitInBatches, spotify, summarize. The table and connection map below are derived from the JSON, not an inferred guarantee of behavior.

Setup

Import inactive. Configure your own credentials and replace REPLACE_WITH_* values. Review external destinations and Code nodes before running.

Entry points

Start, Schedule Trigger

Verification

Sanitized source candidate; not runtime-tested. This overview is generated from node metadata. Read the folder README for the connection map, credential types, and license.

Attribution

https://github.com/Zie619/n8n-workflows/blob/94007c1445d9258a7da116646b79473e7c7c3282/workflows/Schedule/1867_Schedule_Filter_Sync_Scheduled.json MIT; preserve source notices.

Canvas section labels

These name areas of the original canvas; they do not include explanatory instructions.

  • Spotify add all missing song from your Liked Songs to the Playlist.
  • Spotify remove all songs that aren't in your Liked Songs anymore.
  • Compare the content of your Liked Songs and the target Playlist
  • Edit here!
  • Change the value to the name of your target playlist.
  • You need to add your own spotify account here.
  • (Optional)
  • (Optional)

More in Media & content