Best answer

YouTube Zap for when stream starts

  • 20 November 2019
  • 4 replies
  • 653 views

Userlevel 1

I was looking at the zaps for Youtube and there appears to be only 4 options.

  1. New vid in channel
  2. New vid by username
  3. New vid by Search
  4. New vid by playlist

All these descriptions refer to uploaded videos only


I'm looking to trigger something when a stream goes live. Anyone have experience with the YT integration?


icon

Best answer by AndrewJDavison_Luhhu 20 November 2019, 09:42

View original

4 replies

Userlevel 7
Badge +10

Hi @moxy

The only way to do this would be for you to build your own custom Youtube integration using Zapier's Developer Platform: https://zapier.com/platform

Having a quick look, Youtube does have a Live Streaming API: https://developers.google.com/youtube/v3/live/getting-started

You'll need to see if there is a specific endpoint you can poll for a when a stream starts.

@ikbelkirasan who's pretty active on this forum may be able to help with this.


You could build a web function to either check the stream or use the YT API, then send to Zapier we hook to do an action. 
 

set up your function on a CRON job. 

You could build a web function to either check the stream or use the YT API, then send to Zapier we hook to do an action. 
 

set up your function on a CRON job. 

Here is some code that I used for Cloudflare stream checking. Am now doing this with YT. Adapt the code to send data to your web hook. https://chat.openai.com/share/dcf75c96-871e-4df9-b343-106ae9372233

Has somebody implemented it?

Reply