In this video, I will show you step by step how I created this LinkedIn post generator that creates
for me the entire content for my infographics and LinkedIn posts.
And here, let me actually show you I created these two infographics with the exact description, and
everything is automatically and it's posted on our LinkedIn.
And here you can see the images are quite good Unrevealing the differences between AI and machine learning.
And here we've got another infographic.
So five essential healthy habits for beginners.
And again it's so so nice.
Everything here is created with this entire automation.
So we've got agent that creates post description for LinkedIn posts.
The next agent that creates prompts for our images, the next agent that generates titles.
Then we generate an image.
We convert that to the file we publish on LinkedIn, and we send the post via Gmail to us.
So with all that being said, let's dive in and let's build it from scratch.
Also, remember, in the resources of this material, you will have the file to download that has all
of the instructions.
And here step by step guide how to exactly set up this entire project.
Um, and now what we can do, we can go over to Naarden and build our project.
Let's go over here and sign in and there start with the new project here.
So new workflow personal.
Let's let's go further.
So first things first we start.
We start with the trigger.
And here actually the choice is yours I would like to trigger this automation whenever someone fulfills
here the form.
So obviously me all right.
Because it's my LinkedIn profile.
However you can have let's say I don't know, Google Sheets or maybe um, trigger manually.
So whenever you click on the button like it's your choice, let's click on Form submission.
And here we just want to provide three fields.
Let's go over here and see.
So in general we want to have the email post topic and target audience.
Um, because yeah, after, um, the user provides an email, we use it to, to actually send the post
data.
And the confirmation that LinkedIn post was published on his email.
And we provide the post topic obviously and target audience, which is very helpful for LinkedIn posts.
Um, so let's go over here and there.
Let's provide the form title.
So let's say LinkedIn posts, um, post generator and let's write a description.
So here provides the details to create captivating LinkedIn posts.
Let's provide our elements.
So firstly we have an email.
This will be the text.
Or even we can provide an email um provide your email here.
Um, let's make it required.
Next, what we have we have our post topic that we'll be using later.
So here, um, enter um, your post topic.
Let's also make it required add new element, which will be um here the target audience.
All right.
And now again please provide um for what this content is.
And that's really enough.
Let's click on Test the Step and then provide the email post topic.
So what we do um let's for an example type something like free.
Um amazing facts about artificial intelligence.
Intelligence.
All right.
And then we have the target audience.
So let's say people that are beginners in AI, let's click submit.
And even what we can do, we can pin the data.
So actually later and we've got this pinned.
We don't need to for example you know um yeah.
Fulfill again the form.
So we've got this data we'll be using.
And now what we can do, we can go over ahead and even let me go further and provide them sticky notes
so you know what we are doing.
So let me take from the second screen my sticky notes.
And there it will be better visible for you.
So we've got content ideas with the form.
Let's go over ahead with the Create content.
And here we'll have three actually agents.
The first one for LinkedIn post description, the second one for prompts for an image to generate with
open AI, and the third one for titles for LinkedIn posts.
Let's go ahead.
And here, um, just type a agent that's perfect.
And there what we can do.
We can click on define below.
And there in our file you've got actually the instructions.
We've got the prompt we can take.
So here post topic target audience.
We provide that to our agent right here.
And also we specify under the system message because we want to provide really a pretty long I can say
description for this agent.
So here what we have the purpose.
So create LinkedIn posts that are professional, insightful and engaging tailored to any topic and audience.
How it works.
Whenever you receive a topic follow this process.
So here research, write the post and then of course you can stop the video or even go over to this
file and like read it.
Here we have the output rule sample use use cases use case actually.
So for now um this is as simple as that.
You can just copy that and paste here.
Also remember in the resources of this material you will have the JSON file of this template.
So you can just download that and yeah import here.
It's also a great way or even just you can build it.
So for now we've got it I don't I don't I actually think it's no needed to speak more about the system
message.
You can read it in your free time.
Let's test the step.
And even before.
All right.
We need to choose the model obviously.
And there do other stuff.
I forgot about it.
Um, so here let's pick open AI and let's go over with for.
Oh.
All right GPT four.
Oh and also what's very important next what we can do.
We can click on the plus.
So add the tool.
And there we want to actually add the tool to search the web.
All right.
We need to search for the specific information because you need to remember like our agent is limited
to the specific data.
All right.
Um yeah.
Um so here we want to give it an access to the internet.
And there let's click on the HTTP request tool.
And here what we can do.
We can type use this tool to search the web for necessary for necessary information.
Or even we can just type search the web.
All right.
Let's click on post.
And also here in the file you've got everything explained.
So here I'm search web post and URL authentication.
Um and there everything here.
So let's actually copy our URL right there.
Um and then paste it here.
We've got authentication.
So generic credential type here.
And we've got the header.
And there we need to go over to Tavileh.
We'll be using this tool inside um this this project.
So let's go over here.
Um just search for the API.
Uh all right.
You need to just login, just set up your account of obviously.
And there you've got 1000 credits.
Um, yeah.
So you can search the web 1000 times.
It's nice.
I can say it's very cool.
And here you should have your key.
Yeah.
Here.
The name, everything there.
So actually you can go over also to the documentation and there to the API reference.
And here you've got everything explained actually you've got to search.
So post search here.
Authorization the body to be you need to provide here also will be just copying this entire.
Yeah this entire code.
So what we have we've got the query.
Um so who is um Leo Messi for an example will be providing this parameter.
Um, so the question here, we've got a topic um search depth of course.
Actually um lay there.
Um you can play with that.
So for example chunks per per source max results um days here.
Um, yeah.
Answers a lot of more nevertheless about it later, however, I wanted to show you that you've got a
documentation you can use if you, in case you have any problems or you've got some questions, you
can go over here and read it.
Um, it's really useful, I can say, to actually know how to operate with the documentation, because
you can just be more, I can say, proficient in using an A, then an HTTP request.
All right.
Because afterwards, if you know how to use it, um, you can just modify a lot of different things.
Let's go over back to my workflow.
And here click on the header authentication and create new credential.
And the name you need to type the authorization authorization.
And in a value you need to provide your API key that I have here I can copy that and just paste it right
there.
Click on save.
So now it works.
And um actually let's click on update.
And then what we need to do let's go over to our file.
We need to enable the headers.
So here I'm actually no headers.
We need to enable the body I'm sorry.
Let's go over there.
We need to send the body and let's click here on using JSON below.
And there inside our file let's just copy and paste this JSON format.
So here we can just paste it.
And there also we can add definition.
So placeholder name and description.
And there in the placeholder we've got search term.
Also we can copy that from from here.
So we've got search term and a description.
So what the user is searching for us.
Let's go over here.
All right.
And now we've got that set up.
What we can do.
We can go over here and actually test this step.
All right.
See if that works properly.
If we don't have any problems here because, um.
Yeah.
Let's see.
Hopefully not.
Um, so let's wait.
All right.
Let's see.
Hey, artificial intelligence is not only transforming industries, but also opening new doors.
Actually, let me see if you if you see that, let me change the screen.
All right.
So artificial intelligence is not only transforming industries but also opening new doors for innovation
and efficiency.
Here are three amazing facts about AI.
Nice.
It works.
However, let's see if our search tool works.
Yeah, so we can see the response.
If you set up that, um, like if you have an error here, you should see that right there.
It's really worth to check it out.
If you set up properly this HTTP request because otherwise you don't have the, um, yeah, the access
to the internet.
All right.
So for now I can say, um, we've got it.
And now even let's rename it so we can rename it as um, let's say um LinkedIn post.
Post.
Description.
A agent.
All right.
So let's rename it by this way.
And now let's go ahead to the next step, which will be creating another agent.
However, now for creating and prompts for images.
So let's provide a agent here defined below.
And also like we can just speedrun this process because, um, everything is explained inside our community.
And also here, um, you've got all of the instructions.
So um, let's go over here.
Let's provide a prompt.
Let's add an option.
So here click on system message there.
Um let's go over here and see.
We've got a purpose here.
An agent desire to convert LinkedIn posts into visual prompts.
Description.
This prompts guide the creation of compelling marketing graphics that visually enhance the written message
and align with professional branding standards.
And there we've got the goals visual criteria, output requirements.
So even actually you can see here you can provide for example um colors different here the style.
Maybe you would like something more sophisticated.
Instead of the flat logo?
Maybe something I don't know.
Um, yeah, I don't know, maybe 3D, um, you know.
So here you've got output requirements, design style elements.
Um, it's nice, you can modify it and you can decide what you would like to get.
Um, so let's just copy that.
Actually you have that in the file.
So I think there is no need to speak more about it.
Um, let's just paste it here.
And we just we are just providing here the output from our previous LinkedIn post description, a agent.
So here we just simply drag and drop it here.
Um, however, you know, when I'm preparing for you these files, I'm a little bit lazy and I and I
just like to copy and paste it afterwards.
It's much more comfortable nevertheless, you know.
Yeah.
Like do it on your own.
Let's rename it as the create um image prompt.
Um, all right.
Let's rename it.
And here test the step.
Um.
All right.
Again, I forgot about to select the model.
I don't know why.
However, I'm still.
Let's pick GPT four or mini.
Um, let's run it.
So let's see how it works.
We've got flat design illustration of futuristic cityscape infested with a elements such as robotic
arms, digital screens representing various industries, a prominent bar graph displaying the projected
$190 billion market growth by two 2025 on the left.
So here we've got 2025.
And it's nice because, um it it indicates that our HTTP request works even.
Um, let me actually, um, change the name of that.
So here search web.
Let's rename it um right there.
Let's click on Add Another agent.
And here we just want to provide the title.
All right.
We'll be using this title inside our LinkedIn posts.
Um, so it's nice.
Let's go over here.
And this actually description, um, will be short, so let's simply paste it here and there.
We've got other name of the agent.
So here LinkedIn post description agent.
And there we had create LinkedIn post description.
Um let's go over there and provide this output.
All right.
And now provide the system message.
Just copy it from here.
And actually it's really simple.
The simplest actually system message we have.
So your job is to create a clear, highly engaging title for LinkedIn post based on its description.
Um, let's go over there.
There's a step.
And of course, for the first time, I don't know, guys, for the first time I forgot to choose the
model.
And we can pick GPT four or mini.
Um, let's test the step right now.
Yeah, unlocking the future free fascinating facts every beginner should know.
Very solid title, very nice.
And even let's rename it as Generate title.
Generate title.
Perfect.
And now let's go ahead to the step which is HTTP request.
So we'll be using that to generate an image with OpenAI actually image generation model.
Let's um put the method which is post.
And right away let me go over to the API.
Um, actually OpenAI API, OpenAI API and even generate images, image generation API.
And here again inside the docs you've got everything explained.
So here, um, you know, model comparison models you can use.
Um, nevertheless, also I came here because we need to take API key from there.
So I've got API keys nevertheless.
Um, let's go over there and change the post we've got there, the URL and also it's in the documentation.
However, I posted it here.
So we've got url API OpenAI version one images generations.
Um, hopefully you've got it here.
Um, let me see.
Um, actually, maybe they're in the API image API.
Um, it should be there.
Let's wait.
Yeah, you've got it here.
So we can just copy it and then you can post.
Um, let's go over there.
Let's paste it here.
Then let's click on send Headers.
And there will, will need actually to provide the authorization um and the value.
So let's see what we have here.
Authorization and bearer our API key.
Um there just go over to your API account and create new secret key or just, you know, um, just copy
some of these, create new secret API key and their, let's say LinkedIn demo, LinkedIn demo.
Let's create a secret key.
Let's copy that and go over here and just paste it.
Just paste it simply.
And now click on send the body inside the body.
Let's go over to our file.
And we need to provide some parameters.
So parameter one.
So here we specify the model.
We specify the value there the parameter two.
So the prompt obviously we need to provide it from our agent.
And we've got the parameter three which indicates the size.
Uh when you go over there to image generation of course you can manipulate the size.
Um, let's go over there.
You've got different sizes you can use.
So here, more like a landscape, the portrait, um, or even auto.
Actually, you can do this obviously.
Um, so just a quick fact because I want you to actually get more familiar with some documentations
we have and some applications.
Again, it's also nice, um, and it saves you a lot of time because you've got better troubleshooting
skills.
I can say.
Um, so nevertheless, let's go over here.
I'm sorry.
Um, provide a name of the first parameter.
So what we had here, we had here the model.
So actually let's copy that.
You know, let's copy that.
Let's use our resources we have provided.
Um, yeah.
Add another parameter which is prompt there.
We can provide just our prompt for the image so we can feed it with this data.
Um, let's provide another parameter.
And here we've got a size we can provide a size very shortly.
And now there is the step.
Let's even change the name of that.
So generate an image.
Let's click on rename.
And here it has the step.
All right.
So I need to wait for some time because um yeah I provided too much images.
Um yeah.
Lately.
And hopefully it solves in a couple of minutes.
After a few minutes we've got it so we can see we've got the response and the binary form.
And there we need to convert that to file.
So let's go over here and just add another step which is convert um to file.
And here move base 64 string to file.
And then what we need to do we need to just provide um in the fixed um actually field this variable.
And there just as a step hopefully it works.
So yeah it works.
Now what we can do, we can view the file.
And now it's really nice.
So actually we've got like, yeah, this text for example, cut off.
However still it's really cool.
We've got a fact, a predicting natural natural disasters, a creating music and art a in space exploration,
of course.
Remember actually you can repeat the process.
So um, just, you know, again create the image.
Nevertheless for now let's go further.
The next step will be, um, actually I'm using LinkedIn.
And now there is a disclaimer.
In general, you've got two different ways how you can set up this entire automation.
Because I can say creating your credentials is not that easy.
So here first option is to go over to the LinkedIn and create your credentials.
And unfortunately for now in the course we don't have the video about connecting LinkedIn.
Um, yeah, creating credentials and LinkedIn.
Nevertheless, I have for you the video that explains that very nicely.
So here I will put the link in the resources of this material.
And there you can just go over there, watch it and you know like connect your LinkedIn credentials.
The second option will use in this video.
Actually, let me go over here.
We'll be just uploading the file to Google Drive.
All right.
So you've got two options.
After you set it up you automatically like create a post on LinkedIn.
Nevertheless, for now let's go over with Google Drive.
And remember afterwards you can modify it.
So again connect LinkedIn and let's go over to drive Google Drive.
And here we want to just upload the file.
And afterwards we want to just send the data.
So everything on our email.
So even we can just copy and paste that.
And it takes just a several seconds.
Let's go over here and there what we have.
We've got our Google account.
We've got the file upload and we've got the folder.
And there I need to select um, let's say I have my folder which is for LinkedIn, LinkedIn posts.
Um, and there what we can do, we can go over and provide the name.
So let's provide a name which will be the output.
So generate title.
Let's provide this name.
And now let's test the step.
And after we do this we can see um yeah it went successful.
So here we've got the web link.
And even we can go over there to LinkedIn posts folder.
And we've got our graphic uploaded.
All right.
It's nice.
And the last step for this automation will be to send a confirmation via Gmail.
So let's go over here pick the Gmail.
And there what we have um sent a message.
We've got tool.
So let's go over to our forms.
Let's provide an email subject um even text um, your LinkedIn posts is published.
That's that's correct.
Let's go over here.
Yeah.
Nice.
Let's provide a message.
So here.
Hello.
Um, here are details for your LinkedIn post.
And there was very important.
Let's provide a title, um here description.
And there the image URL.
Image URL.
So we have our three main components we can use.
Um let's get the title right there.
Um description.
Uh yeah.
We've got this is the description.
Nice.
And there the URL.
So we want to pick the view link.
Um, even if you would like to instantly download that you can just provide a content to web link.
So here you've got the export download.
Nevertheless let's test it.
And from the second screen let me show you.
Let me wait for an email and show you that it works.
Um, all right.
So I've got um, yeah.
This email, um, give me a while.
All right.
We've got it.
So let me show you what I've got here.
Tidal.
Unlocking the future free mind blowing facts about AI that will inspire your journey.
We've got the entire description with all of the details, and there the image URL that we can open.
And we've got our image we can download instantly.
So that's how you can create the entire system that creates for you perfect LinkedIn posts.
Remember you can modify it.
You can just refine it, provide different style of the graphics.
Um, and just feel free to check it out.
All right.
Here again in the resources you will have the template to use it.
Um, so actually you can import that.
You will have also the file and with all of the explanations how to set up this and project.
And I can say for now that's everything.
Thank you for watching this video.
I hope you enjoyed it.
And remember to leave us an honest review or even rating of the course.
We really appreciate it.
And again, for now, that's everything.
Thank you for watching and I will see you in the next material.