Skip to main content

Hi everyone,

 

I already have one automation that does exactly that, but it takes a lot of Zaps to get it done.

Right now I use “New track added to playlist” as a trigger and “Add track to playlist” as an action.

Basically, if there are 30 tracks added, this Zap will be triggered 30 times.

 

I would like to find a way that does it in one or just a few zaps.

Maybe there’s a way to kind of scan through a playlist once every week and add everything to another playlist with just 1 single Zap?

Or I was thinking about just copying the entire playlist with a new name for every new week.

Really don’t know how to achieve that.

 

Hope someone can put me in the right direction. Thank you.

Hi ​@bagrov 

That type of logic would likely involve using the Spotify API: https://developer.spotify.com/documentation/web-api

Resources for using app APIs in Zaps: 

 


Hi there, ​@bagrov 👋

How did you get on with Troy’s suggestion of making a request to Spotify’s API? Were you able to use a Webhooks action to get a list of all the tracks on a playlist?

If not, I spotted that the Spotify app has a Search for Items action which looks like it might be able to pull the information (and possibly the tracks?) for a specific playlist:

1c392bea96a2cd6555d58408787fa1d8.png

So maybe you could use that to get the tracks, then follow it up with a Add Items to Playlist action to add them to a different playlist. Do you think that could work?

Keep us posted on your progress, want to make sure you’re all set!


Hi there, ​@bagrov 👋

How did you get on with Troy’s suggestion of making a request to Spotify’s API? Were you able to use a Webhooks action to get a list of all the tracks on a playlist?

If not, I spotted that the Spotify app has a Search for Items action which looks like it might be able to pull the information (and possibly the tracks?) for a specific playlist:

1c392bea96a2cd6555d58408787fa1d8.png

So maybe you could use that to get the tracks, then follow it up with a Add Items to Playlist action to add them to a different playlist. Do you think that could work?

Keep us posted on your progress, want to make sure you’re all set!

Thanks for checking in on me SamB!

 

I haven’t tried API method since I am not that quite tech savvy, though I might try when I have more time.

I tried this way ( ↓ ) and I get an error which I have no idea how to resolve.

 


Hi ​@bagrov,

 

Welcome to the Community.

If you see the "invalid base62 id" error when trying to create an item in Spotify using Zapier, it likely means there's an issue with the ID or code being used. To troubleshoot, double-check that your input data is correct and properly formatted, ensure all required fields are filled, review your Zap's setup, consult Spotify's API documentation to confirm valid ID formats, and try testing with different data to isolate the issue.

If you have any more questions or need further assistance, feel free to ask. We're here to help.