Skip to main content
Best answer

How to get the most recent podcast episode from Spotify?

  • December 19, 2024
  • 7 replies
  • 53 views

How do I get the most recent podcast episode from Spotify? Get Show Episodes returns five, and I only need one. I can’t figure out how to set the limit field.

Best answer by SamB

Hi there, ​@Ether 👋

Did you find a way to get just the latest episode?

If not, it looks like that Get Show Episodes is specifically intended to pull up to 5:

2e006765f68595c8f3c2e6e440204efc.png
So you may need to use Formatter (Utilities > Line-item to Text) actions to convert the line items to text. Then, select either the Output Item 1 field or the Output Item Last field (depending on the sort order of the episodes) to get the details for the most recent episode.

Hope that helps. If you found a different way to solve this or run into any issues on that just let us know! 

View original
Did this topic help you find an answer to your question?
This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

7 replies

Troy Tessalone
Forum|alt.badge.img+14
  • Zapier Expert
  • 30962 replies
  • December 19, 2024

Hi ​@Ether 

For us to have more info, post screenshots showing how your Zap steps are outlined and configured in EDIT mode with the field mappings visible, along with the DATA OUT that is returned from Spotify that you are trying to use so we can see the format of that data point.


Forum|alt.badge.img+1
  • Zapier Staff
  • 17 replies
  • December 26, 2024

Hi ​@Ether,

 

Are you referring to when you test the trigger? We will return the 3 most recent episodes for samples. 

When the Zap runs live, it will only trigger on new episodes. 

I hope this helps. Please let us know if you have any questions.

Shane T - Zapier Support


  • Author
  • Beginner
  • 2 replies
  • January 7, 2025

 

This is what I have so far. It triggers every morning. I want the get show episodes to return the most recent one so I can use the next step to add it to the playlist, but it returns three which I have no way of parsing through.


Troy Tessalone
Forum|alt.badge.img+14

@Ether 

Post screenshots showing the DATA OUT that is returned from Zap step 3 that you are trying to use.


SamB
Community Manager
Forum|alt.badge.img+11
  • Community Manager
  • 7487 replies
  • Answer
  • January 15, 2025

Hi there, ​@Ether 👋

Did you find a way to get just the latest episode?

If not, it looks like that Get Show Episodes is specifically intended to pull up to 5:

2e006765f68595c8f3c2e6e440204efc.png
So you may need to use Formatter (Utilities > Line-item to Text) actions to convert the line items to text. Then, select either the Output Item 1 field or the Output Item Last field (depending on the sort order of the episodes) to get the details for the most recent episode.

Hope that helps. If you found a different way to solve this or run into any issues on that just let us know! 


  • Author
  • Beginner
  • 2 replies
  • January 16, 2025

Thanks that’s exactly what I needed!


ken.a
Forum|alt.badge.img+6
  • Zapier Staff
  • 6395 replies
  • January 17, 2025

That’s awesome ​@Ether! A huge thanks to SamB for pointing you in the right direction!

If you have any other questions, please don’t hesitate to reach out to the Community. We’re always happy to help! 🤗