Lesson 15 - From Article to AI Tweet β
Start an AI Automation Businessπ
2024-07-31
Transcript β
[00:00] now that we know how to create an AI article generator let's go ahead and build out this very complimentary AI automation which is going to allow us to take that article that was generated and push out an AI Tweet now the PDF manual that shows you how to implement this AI automation found in the description down below showcases one method to do this the method used in this context is if a new article is published on Shopify through AI automation or just regular content creation it will then trigger this flow so the steps you're about to
[00:30] see in this video are the same but due to the fact that we're generating AI articles we can actually put this exact flow with in the flow we created in the lesson before this so let's go ahead and combine the two and do this okay coming back to our AI article here remember we were making an article about creating Sushi here we're going go ahead and add a block here this is going to be a chat DBT block and this is going to be our tweet so we're going to do conversation go ahead and rename this to tweet here and continue here continue here all right as you see here we're going to go
[01:01] ahead and copy this paste this here go ahead and copy the bottom part as well paste that there and here we can either provide the article title the article body and so on for this context let's just offer the article title that should be enough context of what we're trying to achieve here we're going to do based on this article title semicolon parentheses and then we're going to go ahead and grab that from the first block here second block I mean do the assistant response message here
[01:32] and then as you see here we got some comments we got some uh square brackets so we're going to go ahead and update some stuff here so as you see here it says we are and then basically we need to provide our company and what we do we are a Blog that talks about food go ahead and delete that and we're saying called and then what the name of our blog is we're going to say easy cooking from here we got based on this article title generate a tweet showcasing what is in the article
[02:04] parameter don't repeat caption and generate just the caption no text before and after and then as you see here we could add a little bit more information here such as maybe the tone so we'll go ahead and add that block here we'll do tone let's do happy let's go ahead and delete this comment that is just our input to help you out delete that and then let's go a and jump over to the PDF so as we see here the PDF wants us to choose gbt 4 and a key come down here let's go ahead and upper model to G bt4 and then our key here we can just do uh easy
[02:35] food let's go ahead and generate this and see what it looks like and there you go here is our tweet dive into the art of sushi making with us with a nice little emojis discover how to craft the perfect Japanese sushi rolls right at home follow our easy steps to master the unique and traditional flavors of authentic Sushi and then with three specific hashtags so the next block we have within this PDF file is the ability to remove quotation marks from that output but as you saw from that tweet we don't even need to deal with that so we are good to go we don't even need to add this specific block typically the reason
[03:07] we add a formatter block in our PDFs like that is as an assurance so just in case if you're dealing with outputs that are really annoying when it comes to quotation marks you can go always add that specific block now we're going to showcase our next block here which is an API image block using Banner bear this is really cool stuff and we're going to learn how to do that today for your reference this is what I'm referring to the ability to make a stat I image but have API variables within the image for this specific context we have a variable text and a variable image being used in
[03:38] order to Showcase this specific article if you're not interested in doing this you can always just grab the original article image found within the flow but if you want to make your articles look custom when you showcase them on Twitter you're going to want to use a platform like Banner bear which allows you to do API images as you see here with their example essentially we can change the title and the associated with that underlying image to do so once you create a banner bear account you can come up here to projects we're going to go ahead and browse the template Library it gives us a ton of options when it
[04:09] comes to different templates we can use with the API Banner bear we're going to scroll down here and actually we can use a filter for the filter we're going to come down here to a Twitter post and as you see here we have different options let's go ahead and take this option right here going to add it to our YouTube course project here then I go ahead and hit edit template from here all you need to do essentially is we can go ahead and just rename this to test template and all we would need to do is essentially call upon these two different variables
[04:42] but what's so great about Banner bear is now that we've created the template here let's goad and save we can go ahead and input our data live here so I'm going to go ahead and just delete some of this as we don't need it and what I do so I'm just going to come up to these three ellipses hit delete layer we're going to go ahead and delete this layer up here and let's go ahead and keep it like this let's jump back over to zap here and build it out all right so we're going to add a step here we're going to do Banner bear and as I said before this isn't pertinent I
[05:13] just wanted to show you the ability to do this with your marketing content so it looks a little bit more custom as always you could use the image for the underlying tweet as the original image from here though we're going to go ahead and say create image and go ahead and choose our YouTube course account here hit continue going to choose a template ID this is what we named it for us it was test template and then we're going to go ahead and input the relative variables so the first one's going to be your image
[05:44] URL the next one is going to be our title come over here to article title following this we have our photo text so that was that little uh URL here we're going to do www.y cooking.com so we can do fix text as well and then it looks like we have another image URL here so we're just going to go ahead and put the image we generated earlier again from here we can go ahead and hit continue and test this action and there
[06:16] we go we have our variable data for the title we got our variable image Associated and then we have our fixed text we used for the underlying link one thing I want to point out as well is we go more in depth of how to use Banner bear in this tutorial right here so go ahead and click this button right here if you want to learn more about Banner bear for now though we got our final step which is creating the Tweet as you see here we can put the image that we just created with Banner bear here and the output that we created earlier so we're going to go ahead and create a new Step here we're going to do Twitter we're going to do create tweet continue
[06:49] continue we going to do the message of our tweet right here and then we can go ahead and grab the image that we just generated here so which going to be the jpeg perfect and then from here we need to go ahead and also include some fix text so let's just say we want to do a call Action we're can to say learn more and then we went ahead and provide a link to the article so the way we're going to go ahead and grab the link for
[07:19] the specific URL and the blog created is you're going to want to go ahead and go to your domain and see how articles are categorized with your link once you find it for us it's webcafe AI / article SL and then this is where the link maker comes in to play with that specific handle we created earlier and now we've officially created our tweet let's go ahead and see what this tweet looks like live I'm going to go ahead and hit continue here let's test this action and check it out and there you go we have our Niche specific ai2 AI tweet created
[07:53] we got our AI generated captions with three specific hashtags a call to action that's fix text call us to go to that specific link and then finally our API created image as you already know both these Services we just created in these last two lessons are for commercial use so go ahead and input it into your own backend and also sell it as a service for potential businesses what's great about this combination is how it can work in business so let's say you're working with a potential client and you're saying we're willing to do an AI
[08:23] article generator for x amount you can always throw in the article to tweet for free to kind of sweeten up the deal and lead to more conversion with that potential client we hope you found value in this lesson without further Ado we'll see you in the next lesson