Skip to content

Tasks

Tasks are the building blocks of pipelines. Each task performs a specific operation on tracks.

Source tasks provide tracks to your pipeline.

TaskDescription
Get Playlist TracksFetch tracks from a Spotify playlist
Get Album TracksFetch tracks from an album
Get Artist Top TracksFetch an artist’s most popular tracks
Get Saved TracksFetch your liked/saved tracks

Transform tasks modify the track list.

TaskDescription
Filter TracksKeep tracks matching specific criteria
Remove TracksRemove tracks matching specific criteria

Filter criteria include:

  • Track name, artist name, album name
  • Release date (before, after, between)
  • Popularity (above, below threshold)
  • Duration (longer than, shorter than)
  • Explicit content flag
TaskDescription
Sort TracksOrder tracks by a field (ascending or descending)
Shuffle TracksRandomize track order
Reverse TracksReverse the current order

Sort fields include: name, artist, album, release date, popularity, duration.

TaskDescription
Deduplicate TracksRemove duplicate tracks

Deduplication strategies:

  • By track ID (exact match)
  • By name and artist (fuzzy match)
TaskDescription
Limit TracksKeep only the first N tracks
Skip TracksSkip the first N tracks
TaskDescription
Merge TracksCombine tracks from multiple sources

Output tasks save the results.

TaskDescription
Save to PlaylistSave tracks to a Spotify playlist

Options:

  • Replace all tracks in the playlist
  • Append to existing tracks
  • Create a new playlist if it doesn’t exist