Explore Plans
SpotifySpotify

Add track to a playlist

This Action will search for a track and add the first result to a playlist you specify.

Developer info

API endpoint slug
spotify.add_a_track_to_a_playlist
Filter code method
Spotify.addATrackToAPlaylist.skip(string?: reason)
Runtime method
runAction("spotify.add_a_track_to_a_playlist", {})

Action fields

Playlist Text input > Document title

Label
Playlist name
Helper text
Must be a playlist owned by you. If a playlist with the name given can't be found, a new private playlist will be created.
Slug
playlist
Required
true
Can have default value
true
Filter code method
Spotify.addATrackToAPlaylist.setPlaylist(string: playlist)

Search query Text input > Short text

Label
Search query
Helper text
For maximum accuracy, include the song title here and the artist name in the "Artist name" field
Slug
search_query
Required
true
Can have default value
true
Filter code method
Spotify.addATrackToAPlaylist.setSearchQuery(string: searchQuery)

Artist name Text input > Other

Label
Artist name
Helper text
Optional
Slug
artist_name
Required
false
Can have default value
true
Filter code method
Spotify.addATrackToAPlaylist.setArtistName(string: artistName)