Automate Your Twitch Stream Notifications on Twitter with Zapier & ChatGPT | Step-by-Step Tutorial β
Let's build with Zapier and AI (100+ videos)π
2023-08-16
Transcript β
[00:00] welcome back to webcafe AI where we do daily videos on artificial intelligence for your personal and business life in today's video we're going to be doing an AI automation for the app of twitch now we think this fits well with the fact that we plan on doing a fully AI automated Drop Shipping Store and live streaming the entire event so make sure to follow us on Twitch we're also gonna be live streaming on YouTube and other platforms like Tick Tock in today's video though we're going to go ahead and use our profile as the guinea pig here and we're gonna set up an a animation
[00:30] that when we do a new stream we're going to send it to our Twitter with a very specific type of tweet furthermore we're gonna go ahead and explore the documentation a little see what we can do with the API and go from there let's go ahead and jump in so we are over in zappu here we're gonna go ahead and create a news app and we're just going to call it twitch integration as always you can find the zap we create today in the description down below so you can do it into your own zapier project for completely free from here though we're gonna go ahead and set a trigger here make sure you have your Twitch
[01:00] account connected so the API can get access here we're going to do twitch here we go and right now what's natively available is new follower new live stream and new live stream by streamer for us we're going to do new live stream by streamer but there could be some really cool stuff you can do with new follower for now though we're gonna do this hit continue we are connected to our web Cafe AI twitch and then the streamer is going to be us and then we're going to continue here but as you see you could probably you know Target a certain screamer if you
[01:30] choose to do so in that context from here that we're gonna go ahead and test this and there should be no stream yet so we're going to utilize zapier's new feature here we're gonna be able to create data in order to do so all you need to do if you don't have data for a trigger on a zap is hit skip test then as you see here we have data that we can go ahead and start manipulating so from this data we're gonna do HA gbt block here we're going to do an event of conversation hit continue here we're going to choose our jdbt account here at webcap AI hit continue and then we have all the information we need to start inputting so the first
[02:01] thing I want to do right off the bat is going to do TW for twitch I'm going to say new stream this can be a random string of any 32 characters this is going to ensure consistent outputs the next thing I'm going to do is up the model to gbt4 you can use 3.5 but I like updating it for four for comprehension stuff and then from here we can go ahead and keep everything else the same and let's go ahead and start editing this user message let's go ahead and start providing contacts I'm going to say context we have just started a stream on our Channel
[02:34] and then this is going to be stream data semicolon I'm going to do title we'll go ahead and put username now obviously whatever it's going to use previous data points so if you did a stream before this would be your data from here though we can go ahead and do parentheses and we're going to go ahead and put the title here put in our username here see if there's anything else that we want to put in here you could probably put the thumbnail if needed but don't actually need that in this context and everything else looks good okay
[03:07] we're gonna go ahead and say a couple things here first thing we're going to say generate a tweet let's just start with that I'm going to add a parameter block essentially the parameter we're going to say uh Max of let's say 10 to 20 words and then when you say make sure to include these words so we can go ahead and add some keywords here that we want to make sure that can be added to every single tweet and everything else is going to be
[03:39] variable right so let's just say uh we are giving away a PS5 maybe every single stream you give away PS5 I don't know for now we're gonna generate tweets um I'm gonna say announcing the Stream is live now here's a couple things it's going to provide the title you provide for your stream and then your underlying username if you want to add that into the Tweet is going to be added as well but the title is going to give most the
[04:09] context of what the Tweet is about right because it's grabbing the stream data here so what we do here is let's go ahead and test this out let's go and see what this looks like perfect so as you see here we got live now zapier plays magic you know grab my username uh the Gathering on Diablo 3 join our stream we are giving away PS5 zapier games now a lot of this is specific to zapier because that's the data we are playing around with you can obviously you know change this tweet however you'd want the Tweet to look like for a new
[04:40] stream I could add you know toneage here um so I could be like tone sarcastic so maybe that's part of your character type as a streamer is you're very sarcastic so we're going to retest this guess we're not busy enough zapier juggling magic and Diablo 3 on our p on our stream and then use the keywords PS5 giveaway why not perfect so from here as you see we have one little issue we got quotation marks if you're familiar and you've been following this channel you already know what's next we're going to use a formatter block here formatter blocks are great for taking outputs from
[05:12] jbt and restructuring them or changing the data so we're going to go ahead and do a replace and we'll get the inputs of that output so that's going to be assistant response message and when you find quotation and I'm going to replace it with nothing so therefore our tweet is just going to be the underlying text we care about and there we go so from here we're going to go ahead and grab that we're going to send this to Twitter so use Twitter here and do create tweet hit continue here follow us at web Cafe AI if you want to
[05:44] get daily artificial intelligence from here we're going to go ahead and put in our tweet not the gbt output we're actually going to put the formatted output here perfect and then we can add an image or GIF so maybe the integer GIF we want to add is going to be your thumbnail URL and then on top of that we got to add a link to the stream so let's see if I can find that all right and then we got the stream info URL this will bring us straight to the stream that's live so let's say we have our underlying tweet here uh that is going to be a variable with that one fixed piece of data that
[06:14] we requested which was the PS5 so obviously if you don't want that you can delete it but then we also have the link to the stream there may be context here where you do want fixed text to be found within every single uh one of your tweets so what you would do here is just add watch now you could add an emoji and basically this will be a variable every single time this will be a variable every single time but now we have fixed text here that'll show up every single time it says watch now click the link send it and then as you see here we have thumbnail URL associated with the stream perfect always shorten your URLs gives
[06:46] you more space character limit wise continue Test action that can push that forward and now we'll have a live tweet when it comes to Twitch gaming and Twitch streaming and there you go as you see if we sent that forward we got our variable text here got our nice little fake text here we got the thumbnail for the stream and we got a link to it pretty cool stuff here I'm gonna delete that because we're not streaming and we're not zappier I'm gonna come back over here real quick and as you know this is gonna be found in
[07:16] the description you can add it to your zapier back in for completely free now let me show you some other cool stuff we can do with twitch here so if I add another twitch block here um what's really cool about twitch is that it seamlessly integrates with zapier so as you see here when we do an event it's an action we can access the API so I do API request here continue continue you can now do certain functions that aren't natively available within zapier if we come over to Dutch documentation for developers all this is all these
[07:47] different actions here we can start utilizing within zapier and twitch so for example for the function of creating Clips we would use a post function and essentially proceed uh This Way obviously you'd have to input the relative variables but this is all the documentation and all the different functions we can start doing of twitch within zapier so you can do some really complex stuff here really cool stuff here I just want to show you this real quick it even gives you the documentation here as well which is uh pretty cool so I hope you learned something today when it comes to a ad
[08:18] animation we do these daily on our channel here so make sure to follow us if you feel like you learned something make sure to like the video it's completely free and it helps us here at webcaf AI if you want to learn more about Ai and Automation and how that integrates two platforms across industries make sure to check out the playlist at the end of this video as we're diving into all 5000 apps found on zapier and seeing how we can integrate a out of every single one make sure to subscribe for daily artificial content but without further Ado I'll see you in the next video thanks for tuning in NDS surprise I'm an
[08:49] AI Avatar make sure to explore more here at web Cafe where we demystify AI for your personal and business life until next time foreign