WEBVTT

00:00.240 --> 00:06.880
Now in this lesson of the course, I will show you how I built this agent system to produce for me viral

00:06.880 --> 00:08.080
social media posts.

00:08.080 --> 00:12.600
And the fact is, I'm using inside perplexity to make the research for me.

00:12.600 --> 00:18.080
Because if you don't know, actually, for a day of recording this video, perplexity note integration

00:18.080 --> 00:24.560
was released only a few days ago inside an addon, and it allows our agents to be ten times better when

00:24.560 --> 00:25.920
it comes to the research.

00:26.360 --> 00:27.600
And this type of content.

00:27.600 --> 00:31.000
Make thousands of likes with millions of views and in general.

00:31.000 --> 00:36.360
In this video I will show you step by step how to build this automation that produces for you.

00:36.400 --> 00:40.440
This entire content also publishes it on other social media.

00:40.480 --> 00:45.680
Actually, a lot of social media such as Instagram, TikTok, Facebook, LinkedIn, Pinterest, or even

00:45.680 --> 00:48.160
we can publish it on YouTube and more.

00:48.640 --> 00:52.840
And for now, even before we build it step by step, let me guide you through what it does.

00:52.840 --> 00:58.040
So firstly, we've got our agent that creates an idea for our content.

00:58.040 --> 01:00.600
It produces a title tidal description hashtags.

01:01.000 --> 01:03.120
And then we will use this idea.

01:03.120 --> 01:06.320
So as you can see right now perplexity is making the research.

01:06.560 --> 01:09.400
And so we'll be using this content for further steps.

01:09.760 --> 01:10.680
After it's done.

01:10.680 --> 01:13.400
It saves the data inside Google Sheets for tracking.

01:13.680 --> 01:19.520
Then it gives the data for the graphic idea, a agent that produces for us the prompt to generate an

01:19.520 --> 01:19.920
image.

01:19.920 --> 01:21.360
So here we've got the prompt.

01:21.760 --> 01:24.800
And then this prompt is sent over to HTTP request.

01:24.800 --> 01:29.400
So here we are using GPT image one model to generate for us infographic.

01:29.800 --> 01:31.720
Then it's converted to the file.

01:31.720 --> 01:39.000
We get an image URL by using Cloudinary and we set up our credentials kind of credentials.

01:39.000 --> 01:43.560
So IDs for our social media we upload an image to the blog.

01:44.000 --> 01:49.600
So the content to straightforward publish that on TikTok, Instagram, Facebook, LinkedIn and Pinterest.

01:49.920 --> 01:56.080
And the process is pretty straightforward because after we generate our image now look it's within just

01:56.080 --> 01:56.840
seconds.

01:56.840 --> 02:02.040
So it's being published on Instagram, TikTok, Facebook, LinkedIn and Pinterest within seconds.

02:02.080 --> 02:08.000
Again, and at the end, our data is saved inside Google Sheets and just look simply what content we

02:08.000 --> 02:08.440
received.

02:08.440 --> 02:10.560
So we've got a description for the post.

02:10.600 --> 02:17.200
We have our image and everything again is published, you know, every day by our automation and on

02:17.200 --> 02:24.520
our five social media platforms without us doing anything afterwards after we set up this entire project.

02:24.520 --> 02:27.800
So this is actually the indicator to watch this video to the end.

02:27.840 --> 02:28.880
It's so powerful.

02:28.920 --> 02:31.800
You can automate a lot of different things with this automation.

02:32.040 --> 02:35.800
And so with all that being said, let's build it from scratch from start to finish.

02:36.320 --> 02:40.360
Basically, this video will be quite long, however, you know, after you set it up once.

02:40.360 --> 02:46.440
So this entire project, it works for you whenever you sleep, it posts every day and create valuable

02:46.440 --> 02:47.080
content.

02:47.480 --> 02:51.600
But let's start with our trigger, which is our schedule.

02:51.600 --> 02:56.440
Note so we say we would like to trigger this automation at midnight every day.

02:56.550 --> 03:01.590
Of course you can change the trigger interval, for example, to hours, weeks, days.

03:01.590 --> 03:04.630
So you know you can trigger between two days or so.

03:05.190 --> 03:10.110
Then right away we go ahead to our next step, which is our agent.

03:10.870 --> 03:17.070
And it's to create for us an idea so I can rename it, create an idea, a agent.

03:17.870 --> 03:22.190
Um, by this agent, we want to get the title, description and hashtags for the content.

03:22.190 --> 03:22.710
Right.

03:23.190 --> 03:30.630
Um, so yeah, we can just define below and we'll be using the prompt, um, system message and also

03:30.630 --> 03:34.230
for different, um, actually extensions for this agent.

03:34.470 --> 03:39.470
So I can say this is the most comprehensive step inside this automation because we'll be using a lot

03:39.510 --> 03:40.670
of again extensions.

03:40.870 --> 03:44.910
But um, I gathered every information for you inside the file.

03:44.910 --> 03:47.390
You can download in the resources of this material.

03:47.390 --> 03:48.990
So first we've got a prompt.

03:48.990 --> 03:54.190
So research the most recent and interesting news about artificial intelligence and automation.

03:54.190 --> 03:58.070
Create content for me based on the latest developments in these areas.

03:58.310 --> 04:05.270
And there is a very important fact you can modify this system to generate for you any type of the content

04:05.270 --> 04:05.870
you wish.

04:05.990 --> 04:08.870
Let's say you want to have that for the healthcare tech.

04:08.990 --> 04:11.230
I don't know, maybe for sports cars.

04:11.270 --> 04:18.150
Okay, news for the sports cars or any sports kind of, you know, so in general what you do, you can

04:18.150 --> 04:21.270
actually go ahead to ChatGPT and you can type, all right.

04:21.670 --> 04:27.070
And take this entire piece of the text and transform that to let's say healthcare industry.

04:27.070 --> 04:27.630
All right.

04:27.670 --> 04:32.950
For the specific case again I'm the same thing you can do with system message.

04:32.950 --> 04:37.710
So just copy it because it's structured for AI and automations as you can see.

04:38.030 --> 04:39.270
But it's simple.

04:39.590 --> 04:40.470
It's simple as that.

04:40.470 --> 04:45.630
To go ahead ChatGPT and tell okay just customize it for me for healthcare.

04:46.190 --> 04:47.990
So for example let me show you.

04:48.390 --> 04:55.110
So I typed customize for me these instructions for the recent news from football I provided my system

04:55.110 --> 04:59.910
message and then you can see we've got a system message here, an expert content creator for short form

04:59.910 --> 05:02.830
posts about recent football, football, football news.

05:03.110 --> 05:07.750
And then we've got football news and instead of a agents automations.

05:07.750 --> 05:09.150
So you do it by this way.

05:09.150 --> 05:12.870
And this automation I can say is really versatile.

05:12.910 --> 05:13.270
Okay.

05:13.310 --> 05:16.430
You can just, you know, create different contents.

05:16.470 --> 05:21.630
Even you can have these multiple automations for different type of the content.

05:21.630 --> 05:22.070
Again.

05:22.230 --> 05:27.510
So also in the resources of this material, you can download the entire template for automation.

05:28.030 --> 05:32.910
And when you do this you just click on these three dots and you click on import from file.

05:33.390 --> 05:36.070
So let's just pick perplexity posting machine.

05:36.310 --> 05:40.990
And then you just have this entire project, you know, setup inside an addon.

05:41.110 --> 05:45.470
However, let's now move on to setting it up, setting it up step by step.

05:45.790 --> 05:48.830
So what we have inside again we need to provide the prompt.

05:49.430 --> 05:50.270
Um, yeah.

05:50.270 --> 05:51.630
We can provide a prompt.

05:51.630 --> 05:53.790
And this is the message which is really white.

05:53.790 --> 05:55.750
I spend a lot of time on setting it up.

05:55.790 --> 05:56.190
All right.

05:56.190 --> 05:58.790
So let me actually show you we can choose the expression.

05:59.310 --> 06:01.470
And inside we have we have the system message.

06:01.470 --> 06:06.030
So we are an expert content creator for short form posts about AI and automations.

06:06.030 --> 06:07.070
We have the purpose.

06:07.670 --> 06:11.390
It's pretty obvious you can just read it and for which purpose it is.

06:11.390 --> 06:16.670
So it's designed for platforms like TikTok, Instagram Reels, YouTube shorts, you know, um, there

06:16.670 --> 06:21.430
we would like to create interesting, surprising or viral worthy insights.

06:21.430 --> 06:23.790
So again, we are using perplexity in that case.

06:23.790 --> 06:27.950
And in summation, to make the interior research, we connect it with ChatGPT model.

06:28.110 --> 06:30.150
So together they are so powerful.

06:30.190 --> 06:31.670
You know, like we've got the best.

06:32.150 --> 06:35.430
Just imagine we've got the best model to make a research on the internet.

06:35.550 --> 06:44.750
And then we allow this entire tool to talk with ChatGPT and work together like it can't be weak or I

06:44.750 --> 06:46.070
don't know, it can be bad.

06:46.310 --> 06:48.150
Um, and you will see everything in this video.

06:48.470 --> 06:51.220
We have the content type, we've got the output format.

06:51.220 --> 06:55.020
So as I said, we would like to get the title, description and hashtags.

06:56.100 --> 06:57.340
How to use the think tool.

06:57.660 --> 07:04.220
We specify the time because in the agent like remember it doesn't know which time it is for now, but

07:04.340 --> 07:06.020
by providing this variable.

07:06.020 --> 07:14.140
So we've got two curly brackets and then dollar sign and yeah the comment now we give it the time.

07:14.140 --> 07:16.620
So here you can you can see the time.

07:16.620 --> 07:20.380
We've got 2025 June 14th.

07:20.780 --> 07:21.460
Um yeah.

07:21.500 --> 07:22.420
So it's perfect.

07:22.740 --> 07:25.460
Um, for the JSON output format.

07:25.540 --> 07:29.220
Uh, we want to also use it for the structured output parser.

07:29.220 --> 07:31.380
So we want to get title description hashtags.

07:31.420 --> 07:32.900
We've got also formatting rules.

07:32.900 --> 07:37.580
But for now you can just stop the video or even go over here to the document and just read it.

07:38.260 --> 07:40.020
So let's move on.

07:40.340 --> 07:45.180
And for this case we'll have um our chat model which is OpenAI.

07:46.060 --> 07:48.860
Inside I like to use GPT four or mini.

07:50.260 --> 07:51.380
It's pretty efficient.

07:51.580 --> 07:57.300
Okay, then for the tools, we want to use either our think node.

07:57.660 --> 07:59.060
So we've got think tool.

07:59.820 --> 08:01.220
We'll customize it later.

08:01.420 --> 08:02.980
And perplexity.

08:03.620 --> 08:09.500
It's pretty important if you are using right now your nar den and you can't see perplexity you need

08:09.500 --> 08:10.700
to update your cloud.

08:10.740 --> 08:11.140
Okay?

08:11.180 --> 08:14.860
So make sure you have the latest update and then update.

08:15.620 --> 08:20.900
Um, and also additionally we want to get um structured and specific output format.

08:20.900 --> 08:22.940
So structured output parser.

08:23.780 --> 08:25.900
So let's organize it very quickly.

08:26.180 --> 08:28.100
We've got structured output parser.

08:28.100 --> 08:29.900
And now let's set everything up.

08:30.420 --> 08:32.460
So firstly let's start with the think node.

08:32.780 --> 08:38.860
And we want to use think node to actually you know refine the responses from perplexity and open AI.

08:39.340 --> 08:42.940
Um so make sure we have the content which is relevant.

08:43.340 --> 08:49.420
Um so just automate I can say automate um, the working process between these two nodes.

08:50.340 --> 08:56.300
And let me show you what I have for you, because I provided this description for the think node.

08:56.340 --> 09:01.340
Let's just paste it here and I will explain you how it works.

09:01.820 --> 09:08.380
So we've got your filtering and reasoning and reasoning assistant and review the information gathered

09:08.380 --> 09:08.740
below.

09:08.780 --> 09:12.820
Your job is to confirm the news is from the last three days.

09:12.820 --> 09:19.380
So today is we provide a date, make sure it is related to a tools agents or automations and and in

09:19.380 --> 09:22.940
general again you can customize it for your specific content.

09:22.940 --> 09:26.140
So again go ahead to ChatGPT and type right.

09:26.180 --> 09:27.340
It's for the football.

09:27.380 --> 09:29.460
Or I can do like the following stuff.

09:29.460 --> 09:30.820
I can just copy it.

09:30.820 --> 09:34.980
And now just type now for it okay I can just type now for it.

09:35.020 --> 09:42.500
And it will customize this data for the football as you can see like here UN news and confirm.

09:42.500 --> 09:43.180
All right.

09:43.220 --> 09:45.980
Yeah but I can type for football.

09:47.740 --> 09:48.460
Football?

09:49.540 --> 09:55.140
Um, yeah, I can just do this and then I will get the content for the football.

09:55.140 --> 10:00.180
So football matches, transfers, injuries, controversies, records or viral moments.

10:00.460 --> 10:02.220
Um, so again, you can do this.

10:03.100 --> 10:08.060
And what we have inside, um, make sure it's related to a tools agents or automations.

10:08.060 --> 10:13.500
Reject anything older or unrelated to a system updates or automation breakthroughs.

10:13.860 --> 10:19.900
And if the news meets all criteria, summarize the key insights or topic in 1 or 2 sentences for content

10:19.900 --> 10:20.580
creation.

10:21.100 --> 10:27.940
Um, so again, we kind of this is kind of the guard for this automation to make sure everything is

10:27.940 --> 10:28.580
correct.

10:28.740 --> 10:35.300
Um, it's cool because actually again with this agent we are using four different nodes for the structured

10:35.300 --> 10:36.300
output parser.

10:37.220 --> 10:40.060
We'll be using just a simple, um, text.

10:40.060 --> 10:43.140
So here we want to get the title description and hashtags.

10:43.420 --> 10:45.250
So this is simple JSON code.

10:45.690 --> 10:46.170
Okay.

10:46.650 --> 10:50.930
And for the perplexity, maybe let's change the order for the perplexity.

10:51.170 --> 10:57.050
Um, now what we do, we actually in the text we use this option.

10:57.050 --> 10:59.850
So we let I to define this parameter.

10:59.850 --> 11:03.010
So it takes the information from our agent.

11:03.050 --> 11:03.650
All right.

11:03.690 --> 11:04.770
What we create.

11:04.770 --> 11:06.210
So it uses I again.

11:06.570 --> 11:10.330
But now we need to create our credential with perplexity.

11:10.570 --> 11:14.650
So how you do this you create on you click on the create new credential.

11:14.850 --> 11:18.010
And then you need to provide your API key for this case.

11:18.010 --> 11:20.610
Go ahead to perplexity API.

11:21.770 --> 11:25.370
You can click here on API settings or even perplexity.

11:25.370 --> 11:26.770
Let's click on perplexity.

11:27.210 --> 11:34.850
And then in the account and all settings you can find your API keys right there.

11:35.010 --> 11:36.890
Also you need to provide your credits.

11:36.890 --> 11:40.210
So I provided some dollars but it's pretty cheap.

11:40.250 --> 11:42.050
Um so yeah you can do this.

11:42.410 --> 11:51.010
Um go ahead to API keys, create new key and just take it and provide in your API key bracket.

11:51.010 --> 11:53.530
Click on save and it's done.

11:54.410 --> 11:56.850
Then what you can do, you can choose the model.

11:56.850 --> 12:01.170
So for this case I like to use Sonar or Sonar Pro so we can use sonar.

12:01.770 --> 12:03.850
Um so it's pretty it's pretty pretty.

12:03.850 --> 12:04.690
Everything all right.

12:04.690 --> 12:08.450
So we are using perplexity, um, to make the research for us.

12:09.330 --> 12:15.090
Um, so now what we can do, we, we can execute the workflow and see if that works.

12:15.090 --> 12:19.930
So now we can see our AI agent, um, connected to ChatGPT.

12:20.290 --> 12:22.210
Then it went to perplexity.

12:22.450 --> 12:27.090
Now, um, it used think tool even to do the entire stuff.

12:27.090 --> 12:29.010
And at the end we've got the content.

12:29.010 --> 12:36.770
So, you know, like we've got here, let me show you and tidal, OpenAI or Free Pro Meta's major arm

12:36.770 --> 12:39.290
moves big news in the AI world.

12:39.290 --> 12:41.930
OpenAI just rolled out its new model.

12:41.930 --> 12:43.810
003 Pro.

12:44.290 --> 12:45.290
That's perfect.

12:45.890 --> 12:50.210
Even when you click on logs here and you can see the entire process.

12:50.370 --> 12:51.530
So what I've done.

12:51.650 --> 12:53.530
Firstly it came to ChatGPT.

12:53.570 --> 12:54.770
It gave the input.

12:54.930 --> 12:57.930
So yeah ChatGPT created for us some data.

12:58.250 --> 13:04.410
Then it went to perplexity and asked to research the latest news and developments related to artificial

13:04.410 --> 13:06.170
intelligence and automation.

13:06.290 --> 13:11.490
So again, like the combination of ChatGPT and perplexity is so powerful.

13:11.850 --> 13:14.210
We used ChatGPT, then perplexity.

13:14.330 --> 13:21.770
Then with the data from perplexity, we used again ChatGPT then we refined our knowledge, and with

13:21.770 --> 13:24.930
the think tool again, actually twice here.

13:24.930 --> 13:30.890
And at the end, um, after checking all of the data, we went through OpenAI chat model to give us

13:30.890 --> 13:31.490
the response.

13:31.530 --> 13:32.050
All right.

13:32.210 --> 13:35.170
And also we've got the structured output format.

13:35.490 --> 13:39.330
So we've got this entire data again title description hashtags.

13:39.330 --> 13:40.530
That's truly amazing.

13:41.530 --> 13:43.690
After this agent that is pretty complex.

13:43.690 --> 13:48.450
I need to say, um, we go, we move on to Google Sheets.

13:49.050 --> 13:50.450
We want to save the data.

13:50.450 --> 13:53.530
So there we just pick up and row in sheet.

13:54.610 --> 14:00.050
Um, we pick our document, which is, for our case, Daily News.

14:00.530 --> 14:06.370
Um, let me show you because you can also, um, you know, like, copy it from the resources of this

14:06.370 --> 14:07.010
material.

14:07.050 --> 14:12.370
So just click on the link, then click on the file, make a copy and you can use it.

14:12.410 --> 14:16.170
However inside we've got title description hashtags status.

14:16.370 --> 14:19.850
So in progress or done image URL.

14:20.290 --> 14:24.850
Um additionally for this entire project will be generating an image remember.

14:24.850 --> 14:26.850
So after the entire process is finished.

14:26.850 --> 14:29.890
Also we want to store image URL to have the access.

14:29.890 --> 14:30.250
All right.

14:30.290 --> 14:34.970
So inside Google Sheet we just store the data and we make sure our content is published because it's

14:34.970 --> 14:35.810
done every day.

14:36.970 --> 14:39.440
Um so we pick our Google Sheets.

14:39.760 --> 14:45.960
And then we pick sheet one and we just map our specific fields for the title.

14:45.960 --> 14:47.840
We provide a title for the description.

14:47.840 --> 14:52.960
We provide the description for the hashtags, we provide the hashtags and for the status we type in

14:52.960 --> 14:53.680
progress.

14:54.880 --> 14:56.240
We execute the step.

14:57.200 --> 14:59.200
So now I'm actually going to wait.

14:59.200 --> 14:59.760
All right.

14:59.960 --> 15:01.000
And status and progress.

15:01.000 --> 15:02.240
Description title.

15:02.280 --> 15:02.720
Hashtags.

15:02.760 --> 15:04.040
Everything is correct.

15:04.840 --> 15:05.520
Um okay.

15:05.760 --> 15:09.360
After our Google Sheets, we provide another agent.

15:10.360 --> 15:14.040
So we pick a agent right here.

15:14.520 --> 15:15.000
Okay.

15:15.600 --> 15:18.160
And then, uh, we click define below.

15:18.640 --> 15:23.000
Um, in the prompts we move on to our file.

15:23.640 --> 15:25.840
Um, so I provided everything here for you.

15:25.880 --> 15:30.280
You know, instead of just typing, um, that from scratch, just you can just copy it.

15:30.280 --> 15:34.880
Also, we don't waste a lot of time in this video to create the prompt system message.

15:35.000 --> 15:36.480
Like, it takes a lot of time.

15:36.520 --> 15:44.080
Like trust me, creating this system message took me, I don't know, maybe one hour or so because I

15:44.080 --> 15:47.760
had like a lot of different errors and different problems.

15:47.920 --> 15:50.960
So yeah, like it's it's ready for you to use.

15:50.960 --> 15:52.080
You don't need to do anything.

15:52.080 --> 15:53.960
Just, just just copy and paste it.

15:53.960 --> 15:55.960
I hope you actually also appreciate it.

15:56.640 --> 16:00.440
But what we can do for now, we can copy this prompt.

16:01.360 --> 16:03.040
Um, so we can provide a prompt.

16:03.320 --> 16:05.000
And there the system message.

16:06.400 --> 16:10.520
So just select all by clicking Ctrl A and Ctrl C to copy.

16:10.560 --> 16:19.360
Also also here you can copy the content paste there and simply um let's quickly preview what we have.

16:19.400 --> 16:20.520
Again a system message.

16:20.560 --> 16:22.240
You're a visual prompt engineer.

16:22.560 --> 16:24.960
Um, so this agent creates for us the prompt.

16:25.120 --> 16:26.920
Um, it's pretty important.

16:26.920 --> 16:29.200
And we've got the prompt requirements.

16:29.200 --> 16:34.120
So like, yeah, all of the requirements for the model and example output.

16:34.360 --> 16:36.280
And it's pretty straightforward.

16:36.280 --> 16:40.040
For this case, we are using, um, open AI model.

16:40.040 --> 16:44.440
So for all mini um, let's scroll down for mini.

16:44.680 --> 16:46.320
So it should create for us the content.

16:46.320 --> 16:47.320
That's pretty everything.

16:47.320 --> 16:51.040
We don't have any additional nodes extensions such as think tool.

16:51.040 --> 16:57.280
And so uh, but we've got the prompt, a vibrant, a dynamic scene depicting two key elements of AI

16:57.320 --> 16:57.880
advancement.

16:57.880 --> 17:05.920
On one side, the OpenAI O3 uh Pro model represented a sleek, glowing digital assistant, engaging

17:05.920 --> 17:08.680
with users through interactive holographic displays.

17:08.960 --> 17:11.560
Uh, pretty complex prompt.

17:11.960 --> 17:15.200
Um, it's due to our actually, it's due to our system message.

17:15.360 --> 17:20.880
So again, we want to have really a professional prompt to use and to create our image.

17:21.760 --> 17:24.960
Um, and for now I can say and create prompts.

17:25.040 --> 17:31.040
Uh, part is ready for for us is already created also from my ready automation.

17:31.400 --> 17:33.160
Um, let me take sticky notes.

17:33.160 --> 17:34.960
So we see what happened, what is happening?

17:35.040 --> 17:37.120
So for now, we create that, um, yeah.

17:37.160 --> 17:43.160
We created the part to create the prompts and then, uh, we move on to generate image.

17:43.200 --> 17:45.320
Actually not images, but image.

17:45.320 --> 17:46.480
Let me change it.

17:46.480 --> 17:47.560
So we've got image.

17:49.120 --> 17:52.400
And the first thing we want to take our HTTP request.

17:53.280 --> 17:55.720
So inside we'll be creating uh yeah.

17:55.760 --> 18:02.320
We'll be just creating our image uh with GPT image one uh model.

18:02.720 --> 18:07.680
So we've got the method which is post inside, um, our document, we've got the URL.

18:08.400 --> 18:13.160
And in this course I can say many times we used this HTTP request to generate our images.

18:13.160 --> 18:15.400
So for now I won't go more in depth.

18:15.840 --> 18:19.400
Um, let's just, uh, copy and paste the information.

18:19.400 --> 18:20.880
So we've got, um, yeah.

18:21.160 --> 18:23.760
Um, authorization, predefined credential type.

18:25.120 --> 18:32.440
We've got the generic, um, here what we have actually let's see, um, inside we've got open I.

18:34.630 --> 18:40.510
So we just pick open I and there just connect your OpenAI account.

18:40.550 --> 18:41.550
As simple as that.

18:41.950 --> 18:44.470
For the next content we need to enable the body.

18:45.230 --> 18:47.590
And in the body we need to provide the JSON code.

18:48.310 --> 18:51.870
So let's send the body up using JSON.

18:52.350 --> 18:57.150
And inside the JSON just provide a code and it simply indicates let me show you.

18:57.190 --> 19:02.150
It simply indicates that we want to use the model which is GPT image one, the prompt to generate high

19:02.150 --> 19:03.870
quality image with this prompt.

19:03.870 --> 19:10.710
And there we provide the output from our agent to generate for us, um, the prompt and this is the

19:10.910 --> 19:11.990
this is the value.

19:12.310 --> 19:16.150
So we indicate we want to get only one image this size.

19:16.350 --> 19:20.510
Uh, 1024 by 1024 output format.

19:20.550 --> 19:21.470
This is JPEG.

19:22.630 --> 19:23.430
Uh, yeah.

19:23.430 --> 19:31.590
So we are just using it and afterwards we just create our image, we click on Execute step and we need

19:31.590 --> 19:33.670
to wait approximately 30s.

19:35.030 --> 19:37.950
When the process is done, we are ready to move forward.

19:38.430 --> 19:41.950
We received the B64 JSON format.

19:41.950 --> 19:43.750
So then what we want to do?

19:43.790 --> 19:47.110
We want to format it, actually turn it into the file.

19:47.430 --> 19:54.790
We are using the node which is convert um to file and then move base64 string to file.

19:55.550 --> 19:57.110
Um it's pretty straightforward.

19:57.110 --> 19:58.910
We just put base64 JSON.

19:58.910 --> 20:03.950
So this entire code we just click on execute step and then we have our image.

20:03.950 --> 20:04.750
Let's view it.

20:05.590 --> 20:06.950
Um that's perfect okay.

20:06.990 --> 20:08.110
We've got some problems.

20:08.110 --> 20:10.070
But you know um it happens.

20:10.070 --> 20:12.190
So here it cutted the text.

20:12.230 --> 20:12.630
Yeah.

20:12.630 --> 20:15.110
But still it's highly professional even.

20:15.110 --> 20:17.550
Remember we can regenerate the image for now.

20:17.550 --> 20:18.990
So let's do it very fast.

20:20.030 --> 20:26.870
After it's done we have our b64 JSON format and we need to turn it into the file.

20:26.910 --> 20:33.790
For this case we'll be using the node which is converts convert to file and then move base64 string

20:33.830 --> 20:41.270
to file and just simply provide this variable inside the input field and click on execute step.

20:41.470 --> 20:43.310
And then we can just preview the file.

20:43.310 --> 20:46.670
So view here and it's perfect.

20:46.670 --> 20:52.990
So even like look so far what what we've done we used our agent to create for us an idea.

20:52.990 --> 20:55.150
So here title description hashtags.

20:55.270 --> 20:58.630
We used perplexity to make the best research possible.

20:58.830 --> 21:03.350
Think tool to just guard everything and check if everything is at the point.

21:03.390 --> 21:04.430
Also open AI.

21:04.550 --> 21:07.030
So this is really powerful agent.

21:07.030 --> 21:08.270
Then we save the data.

21:08.350 --> 21:11.710
Then we used a agent to create the prompt for an image.

21:11.750 --> 21:14.870
We generated an image and we've cut an image.

21:14.870 --> 21:16.710
So the entire content.

21:16.710 --> 21:18.310
That's pretty amazing.

21:18.790 --> 21:20.830
But for now let's move forward.

21:20.830 --> 21:23.110
So we need to get image URL.

21:24.070 --> 21:30.030
For this case we'll be using again HTTP request will be connecting with the Cloud Deanery, which is

21:30.030 --> 21:32.710
an application that allows us to do this stuff.

21:33.150 --> 21:41.270
So when you go to our file and you can see we've got the method which is post URL, um, and different

21:41.270 --> 21:41.990
parameters.

21:41.990 --> 21:44.630
So let me guide you through step by step how to do this.

21:45.110 --> 21:50.990
Um so in general in the URL you provide this URL change the method to post.

21:51.110 --> 21:55.870
However, in the URL um, just notice you've got your cloud name.

21:56.510 --> 21:59.550
This is the great moment to move on to Cloudinary.

21:59.550 --> 22:05.630
So type Cloudinary that API, just click on upload API reference.

22:05.910 --> 22:11.350
Um, just sign up for free and the right top corner, just click on sign up with Google.

22:11.790 --> 22:17.030
After you do it, click on home in the left top corner and just take your cloud name.

22:17.030 --> 22:24.950
Just copy it and provide insight inside this part so your cloud name, just paste it here.

22:25.550 --> 22:26.230
Perfect.

22:26.780 --> 22:28.780
Next we need to send the body.

22:29.060 --> 22:30.180
And inside the body.

22:30.180 --> 22:33.660
In the body content type, we need to pick form data.

22:33.660 --> 22:35.500
We'll be providing two parameters.

22:35.700 --> 22:39.100
So the parameter one which is the file and parameter two.

22:39.500 --> 22:41.620
Uh we want to upload the preset.

22:41.620 --> 22:45.860
So our preset from Cloudinary I will show you everything step by step.

22:46.340 --> 22:50.620
Um, firstly um let's provide the form data for the parameter first.

22:50.660 --> 22:55.180
Like the first parameter we want to pick an a then binary file name.

22:55.420 --> 22:56.660
Um, this is the file.

22:57.020 --> 23:01.420
And for the input data field name we just provide the file name.

23:01.420 --> 23:04.420
For this case it's the data as you can notice here.

23:04.740 --> 23:08.020
So we just type data for the next parameter.

23:08.580 --> 23:10.220
Uh we provide a form data.

23:10.380 --> 23:12.540
And then um let's go over here.

23:12.980 --> 23:15.540
We provide the exact name which is this one.

23:15.540 --> 23:16.820
So upload preset.

23:18.260 --> 23:27.140
Um and for this case we need to provide our preset name, but before we need to create it, let's go

23:27.180 --> 23:36.460
ahead to um Cloudinary click in the left bottom corner, um, on settings and in the upload field,

23:36.500 --> 23:41.100
actually in the in the upload tab click on Add Upload preset.

23:41.340 --> 23:43.940
Also in the Cloudinary you've got the free trial.

23:43.980 --> 23:47.980
Actually, you know like free subscription, you can you can do a lot off of it.

23:47.980 --> 23:51.820
So even I have the free subscription for my other automations.

23:51.820 --> 23:57.900
So there I've got a lot of capacity, but let's move on and provide the preset name.

23:58.340 --> 24:00.860
Let's name it as an Aiden test.

24:02.180 --> 24:08.020
Click on unassigned and click on save in the right top corner right here.

24:09.340 --> 24:10.620
Then what you want to do.

24:10.660 --> 24:12.260
You want to pick the name.

24:12.260 --> 24:15.900
So and then test and paste it here.

24:16.940 --> 24:18.740
So let's execute this step for now.

24:21.220 --> 24:29.620
So we can notice everything is perfect even Let's rename it as get get image URL.

24:30.580 --> 24:31.180
Perfect.

24:31.580 --> 24:32.140
Nice.

24:32.180 --> 24:34.420
Also other steps.

24:34.420 --> 24:36.740
And this is create an idea a agent.

24:36.740 --> 24:39.300
And this is graphic idea agent.

24:39.300 --> 24:41.780
Let's click on rename graphic.

24:42.220 --> 24:46.060
Um graphic idea.

24:48.660 --> 24:51.100
Idea I agents.

24:53.420 --> 24:53.940
Nice.

24:54.420 --> 24:56.580
Um and there is the point.

24:56.580 --> 25:01.260
So we have we've created the prompts and we generated our image.

25:01.620 --> 25:03.580
Um, and also we got an URL.

25:03.820 --> 25:11.100
However, for now there is the fact we need to kind of have some external tool to publish on different

25:11.100 --> 25:13.260
social media, actually to publish our post.

25:13.260 --> 25:16.420
So combine everything together and publish it on our social media.

25:16.860 --> 25:22.700
For this specific case, I'm using the Dado, which is amazing platform that allows us to do this stuff.

25:22.740 --> 25:25.820
So when I go ahead to blow the dough, you've got your free trial.

25:26.100 --> 25:31.140
So in general, when you sign up, you've got seven day free trial, so you can use it totally for free.

25:31.300 --> 25:36.620
And this is an amazing platform that lets you, um, yeah, just take your content and publish on multiple

25:36.620 --> 25:37.500
social media.

25:37.860 --> 25:41.020
And overall, I will put the link in the resources of this material.

25:41.020 --> 25:42.060
So actually feel free.

25:42.180 --> 25:42.620
Um, yeah.

25:42.660 --> 25:46.060
To open, um, this blue data platform via my link.

25:46.060 --> 25:47.260
By this way, you help me.

25:47.300 --> 25:48.260
Thank you so much.

25:48.300 --> 25:52.740
Nevertheless, for now, let's continue and we can click on Start Free Trial.

25:53.020 --> 25:54.980
So simply I can just log into my account.

25:55.020 --> 25:55.820
You need to do this.

25:56.540 --> 25:58.060
And then let me show you.

25:58.100 --> 26:04.020
When you click on the settings you can actually log in and upload to different platforms.

26:04.020 --> 26:10.980
So it can be Twitter, LinkedIn, Facebook, TikTok, Instagram threads, Pinterest, or even YouTube.

26:11.180 --> 26:16.260
As you can see there, I've got my accounts that I will be using for this specific case for this video.

26:16.700 --> 26:21.450
Um, so yeah, you just go over here and you click on login for an example with Google.

26:21.490 --> 26:22.210
All right.

26:22.210 --> 26:23.250
You just click here.

26:23.250 --> 26:27.890
You log in with Google and then after you do this not not Google however Facebook.

26:28.210 --> 26:34.690
Um, nevertheless after you do this, um, you can copy your account ID that will be using in the next

26:34.690 --> 26:40.810
step for this automation because we'll be choosing edit um fields.

26:41.050 --> 26:42.890
So we'll set up the specific value.

26:43.210 --> 26:44.490
We'll be using JSON.

26:44.730 --> 26:49.410
And then inside our document um you've got the JSON format.

26:50.050 --> 26:56.730
So simply what you want to do, you just take it um you just take paste it here and then inside for

26:56.730 --> 27:03.890
an example Facebook, you go ahead to potato, you copy account ID and you paste it here.

27:03.930 --> 27:04.290
Okay.

27:04.330 --> 27:05.250
You just remove it.

27:05.250 --> 27:10.610
You paste for the Facebook page ID um, we need to take it from Facebook.

27:11.650 --> 27:18.890
So just move on to your Facebook page account, click on Account Settings privacy and then settings.

27:19.850 --> 27:26.250
Um, move on to page details right here and then click on Page Transparency.

27:26.330 --> 27:30.090
So from there you can just take your page ID, copy it.

27:30.490 --> 27:31.810
Um just paste here.

27:32.290 --> 27:34.850
Um, do it by this way and for other things.

27:34.850 --> 27:42.810
So Instagram I can go ahead to blog I can log in with Instagram, I can copy account ID, paste it here

27:43.130 --> 27:46.410
for um, there for the Pinterest again.

27:46.450 --> 27:48.930
Again, the same stuff, um, like this platform.

27:48.930 --> 27:52.610
So it allows you, um, to publish the content.

27:52.610 --> 27:59.090
Also make it really easy to do because remember, also there is a fact, um, when it comes to publishing

27:59.090 --> 28:04.370
the content on TikTok, even Instagram, Facebook, these platforms are really sensitive when it comes

28:04.370 --> 28:08.170
to actually uploading the content from which sources, from which platforms.

28:08.850 --> 28:12.450
And I can say not a lot of platforms have the access to do this.

28:12.490 --> 28:14.330
However, potato can do this.

28:14.490 --> 28:19.370
So it's directly connecting to these platforms and it's posting the content for us.

28:20.010 --> 28:24.730
It's a really great platform because actually you need to remember we'll be able to publish the content

28:25.250 --> 28:27.170
to approximately ten different platforms.

28:27.170 --> 28:28.010
It's huge.

28:28.170 --> 28:31.130
One type of the content to different platforms, ten of them.

28:31.410 --> 28:32.330
It's a big amount.

28:32.330 --> 28:36.490
And for me, it's really I think even this plan is really affordable.

28:36.530 --> 28:39.810
So after the free trial, you pay $29 for the month.

28:39.850 --> 28:44.850
However, again, you may have um, yeah, a lot of different automations and you can use it.

28:45.530 --> 28:48.490
But let's move on to our Nadine.

28:49.210 --> 28:50.810
So we have our edit fields.

28:50.930 --> 28:51.330
Um, yeah.

28:51.330 --> 28:53.250
We've we've got our edit fields node.

28:53.250 --> 28:57.530
We can execute the step and we will get variable for each specific.

28:57.650 --> 28:58.290
Uh yeah.

28:58.330 --> 29:01.370
Specific code specific ID.

29:02.130 --> 29:07.930
But after edit fields we we need to upload the URL inside the upload.

29:09.010 --> 29:13.650
So what we do we just take the content and we upload it to the Plato.

29:13.690 --> 29:18.810
For this case we use the method which is post inside our document.

29:18.970 --> 29:20.090
We've got this URL.

29:20.970 --> 29:23.530
So back end conversion to media.

29:24.570 --> 29:25.890
We just provide it here.

29:26.330 --> 29:31.370
Then what we do for the authorization we pick the generic credential type header authentication.

29:32.010 --> 29:36.090
So we pick generic credential type header authentication.

29:36.770 --> 29:39.490
And then we create new credential.

29:39.530 --> 29:41.610
So I will show you how it works I've got upload it.

29:42.450 --> 29:47.930
And here in the name just type protocol and Dash API key.

29:48.330 --> 29:56.010
This exact name um it's defined by the um if you if you don't provide this exact name, you provide

29:56.010 --> 29:56.650
something else.

29:56.650 --> 29:57.490
It won't work.

29:57.810 --> 29:58.690
Simple as that.

29:59.050 --> 30:04.130
For the value you need to provide API key, go ahead to blog in the settings.

30:04.290 --> 30:08.770
Um, just move down and click on copy API key.

30:09.610 --> 30:16.000
Just provide it here and then I'm just simply delete it paste it and you've got your credential created.

30:16.240 --> 30:17.400
For now, let's close it.

30:18.000 --> 30:25.040
So you do it by this way when it comes actually, um, to the other things, to the other settings inside

30:25.040 --> 30:27.840
this node, we need to send and body.

30:28.080 --> 30:31.920
So in general we only send the URL.

30:31.960 --> 30:35.880
So we simply send the URL from um the previous node.

30:36.800 --> 30:38.880
In general we click on send body.

30:39.400 --> 30:42.760
Then what we do uh we are using JSON.

30:42.800 --> 30:44.640
Now we are using fields below.

30:45.000 --> 30:47.400
Then we provide the name which is URL.

30:47.440 --> 30:49.080
Again type the specific field.

30:49.440 --> 30:54.280
And for the URL we provide um here the URL from there.

30:55.000 --> 30:58.680
So we've got the URL get image url JSON item.

30:58.840 --> 31:00.200
That's perfect.

31:00.240 --> 31:04.920
We execute the step and after the process is finished we have the URL.

31:04.920 --> 31:12.240
So now the image is stored inside data instead of the application which is cloudinary with the Cloudinary

31:12.240 --> 31:18.560
we wanted to take an Earl, but then we just simply want to apply that to the potato, because potato

31:18.600 --> 31:21.520
manages our entire content and uploads that on social media.

31:22.040 --> 31:27.720
When you paste this, when you copy this URL and you paste it inside your browser, you should see your

31:27.720 --> 31:28.280
image.

31:28.880 --> 31:29.760
So let's wait.

31:29.760 --> 31:31.480
We've got our image will be using.

31:31.480 --> 31:32.280
That's perfect.

31:33.000 --> 31:36.040
And then it's the perfect time to connect.

31:36.200 --> 31:36.880
Um, yeah.

31:36.920 --> 31:41.000
To connect our content and publish it on social media.

31:41.320 --> 31:45.200
So firstly, let's take a look on the Instagram account.

31:45.960 --> 31:47.760
We'll be using HTTP request.

31:47.960 --> 31:48.920
And there is the point.

31:48.920 --> 31:54.280
We are not connecting to Instagram directly however to potato that connects to Instagram.

31:55.080 --> 31:58.680
So we choose the method which is post inside.

31:58.680 --> 32:00.840
Here we pick this URL.

32:01.160 --> 32:05.120
Okay, so let's pick this URL and then let's just read.

32:05.320 --> 32:10.040
We need to provide the authorization authentication actually, which is the same as previously.

32:10.280 --> 32:17.440
And for the send body we need to provide only the JSON code, so simply let me copy it for the authentication

32:17.440 --> 32:23.000
generic credential type then header authentication data.

32:24.480 --> 32:33.040
So pick the credential we we set up previously send body using JSON and just provide this JSON code.

32:33.040 --> 32:34.240
Just provide it here.

32:35.160 --> 32:37.360
And what it does let me show you.

32:37.400 --> 32:39.240
We've got a post method.

32:39.240 --> 32:41.200
We've got the target target type.

32:41.200 --> 32:45.920
So Instagram for the content we want to take the text from this field.

32:45.920 --> 32:49.000
So this a agent create an idea agent.

32:49.000 --> 32:52.640
So we pick this description for the media URLs.

32:52.880 --> 32:55.880
We pick the media from our model.

32:56.200 --> 32:57.680
And this is our blood idol.

32:58.520 --> 33:02.280
So we just provided there JSON url account id.

33:02.880 --> 33:06.920
So we provide the account ID from our edit fields.

33:06.920 --> 33:08.120
This is for the Instagram.

33:08.120 --> 33:11.560
So we simply drag and drop this Specific variable.

33:12.360 --> 33:13.760
And that's pretty it.

33:14.680 --> 33:16.560
Let's rename it as Instagram.

33:17.000 --> 33:17.840
Instagram.

33:18.840 --> 33:20.600
Now let's execute this step.

33:21.480 --> 33:23.400
So we need to wait a while.

33:25.560 --> 33:31.320
So for now I can see in the description we've got these signs that allow us to go to the new line in

33:31.320 --> 33:32.200
the content.

33:32.240 --> 33:34.440
However in the JSON format we can't have that.

33:34.440 --> 33:39.920
So for now what we can do, I can update the system message and you will have also that in the notion

33:40.120 --> 33:41.320
update later.

33:41.480 --> 33:49.920
So for an example, what I can do let's say in the output format um we can type never use.

33:52.400 --> 33:53.000
That.

33:53.480 --> 34:05.000
So this this sign to go let's say um to go to the next line.

34:05.320 --> 34:11.910
So for now never use um, the sign and the content to go to the next line.

34:11.950 --> 34:12.630
All right.

34:12.670 --> 34:16.750
And for this case, unfortunately we need to repeat the entire process.

34:16.750 --> 34:21.030
So run again this entire automation to actually publish our Instagram post.

34:21.590 --> 34:26.630
But after it's done you can notice our description is set up properly, formatted properly.

34:26.630 --> 34:28.310
So now everything should work.

34:28.310 --> 34:30.830
Let's wait until it generates an image.

34:30.870 --> 34:32.990
It goes through all of the nodes.

34:33.630 --> 34:35.830
So I think it will take 10s more.

34:36.190 --> 34:39.630
So let's wait and preview if it was the problem.

34:40.070 --> 34:44.670
Also remember in really long automations like yeah let's see.

34:44.870 --> 34:45.350
Nice.

34:45.350 --> 34:46.350
It was a problem.

34:46.590 --> 34:52.630
But what I wanted to say actually and long automations many times you will have a lot of problems.

34:52.630 --> 34:57.830
So for an example if this node create an idea agent and other different things.

34:57.830 --> 35:01.190
So you know by setting it up like it takes a lot of time.

35:01.590 --> 35:04.190
But um, yeah, for now we can see it works.

35:04.190 --> 35:06.550
So it published our content on Instagram.

35:06.710 --> 35:08.550
And for this case, let's check it out.

35:08.550 --> 35:09.510
If it worked.

35:09.790 --> 35:16.830
Uh, we can go ahead, um, to our profile and then, like, see one minute ago.

35:17.110 --> 35:17.910
Perfect.

35:17.910 --> 35:20.990
We have our description post, like, you know, like.

35:21.030 --> 35:22.550
Yeah, description, image.

35:22.590 --> 35:23.910
Everything is correct.

35:23.910 --> 35:31.510
Also, if you go ahead to potato, you can click on publish posts and then this post should be visible

35:31.510 --> 35:31.990
right there.

35:31.990 --> 35:36.070
So Instagram created at two minutes ago post URL content.

35:36.310 --> 35:42.830
Also if something fails um, you've got failed posts uh, right there, you know, so it works by this

35:42.830 --> 35:43.190
way.

35:43.230 --> 35:46.710
However, let's move on to other, um, HTTP requests.

35:47.190 --> 35:49.630
So the next thing we'll setup will be the TikTok.

35:49.670 --> 35:53.630
Let's click on it, click Ctrl D and just put it here.

35:53.790 --> 36:00.110
Also again let's click Ctrl D not this one however this one Ctrl D again Ctrl d.

36:00.510 --> 36:00.870
Um.

36:00.870 --> 36:04.430
So let's provide five HTTP requests.

36:04.670 --> 36:05.910
Um I'm sorry.

36:06.110 --> 36:10.350
Let's provide five HTTP requests and for each let's rename it.

36:11.510 --> 36:12.990
So we had our Instagram.

36:12.990 --> 36:15.510
Now we have the TikTok, Facebook, LinkedIn and Pinterest.

36:15.670 --> 36:20.270
And also we need to connect our HTTP request which is also we can rename it.

36:20.270 --> 36:20.710
So.

36:23.590 --> 36:25.670
To each platform.

36:26.030 --> 36:32.310
Remember like this Instagram for an example node is not connected to TikTok and this TikTok node is

36:32.310 --> 36:36.790
not connected to Facebook like it looks like it's connected because it's very close.

36:36.790 --> 36:43.790
However, you know, I wanted to show you to don't run out into some problems, but let's connect each

36:45.230 --> 36:51.030
node with Play-Doh so it processed with all of the nodes at the same time.

36:51.030 --> 36:53.710
And now let's move on to the TikTok for the TikTok.

36:53.710 --> 36:54.950
Actually, for each node.

36:54.950 --> 36:59.070
We don't change anything here, however, only the JSON format.

36:59.430 --> 37:00.430
So let's move on.

37:00.510 --> 37:04.230
Um, in the instructions you've got everything, so let's just paste it said.

37:04.990 --> 37:08.150
And see what we have inside for now.

37:08.190 --> 37:13.470
We've got media URLs, so then we just provide like there, we just provide the URL from.

37:14.590 --> 37:23.750
Um, simply it doesn't work because we've got like other name for the URL, which is if I move on here

37:23.750 --> 37:25.470
I just remove upload two.

37:25.910 --> 37:26.950
You see it works.

37:26.950 --> 37:27.550
So yeah.

37:27.830 --> 37:35.110
Um, it's by this way, um, and then what we have inside, um, we publish the content on TikTok and

37:35.110 --> 37:37.870
it's very important because TikTok is for the videos.

37:38.110 --> 37:40.190
However, also we can publish images.

37:40.230 --> 37:40.790
All right.

37:41.110 --> 37:45.910
Um, and then what we do inside, we add the auto music.

37:45.910 --> 37:46.910
So we say it's true.

37:46.910 --> 37:50.670
So it selects for us the music based on our content in general.

37:50.670 --> 37:51.990
We've got other variables.

37:51.990 --> 37:56.350
You can read them and you can go ahead to TikTok API documentation.

37:56.390 --> 38:00.150
Also in the other video in this course, I explained everything more in depth.

38:00.270 --> 38:03.580
Nevertheless, now we are interested in content.

38:03.580 --> 38:09.980
So for the text we provide a text description from create an a and idea a agent.

38:09.980 --> 38:12.100
So this one agent so description.

38:12.100 --> 38:14.900
And again for the media URLs we provide a Dado.

38:15.140 --> 38:23.300
And for the account id we provide the account ID or just uh actually here uh, we just take the account

38:23.300 --> 38:24.580
ID from TikTok.

38:24.780 --> 38:29.220
And for now I can see I don't have the TikTok, so I will leave the value as the static one.

38:29.820 --> 38:34.860
Um, however, again, with the Dado, you can just, uh, when you go to the settings, you can just

38:34.900 --> 38:36.540
log in with TikTok.

38:37.340 --> 38:38.340
So it's simple.

38:38.700 --> 38:42.300
But for now I can say we can execute this step and wait.

38:42.340 --> 38:44.020
Hopefully it works nice.

38:44.580 --> 38:47.740
As you can see, the content is successfully published on TikTok.

38:49.060 --> 38:55.580
So with the music also, and maybe it's not the best format for TikTok because we've got one image and

38:55.580 --> 38:58.500
they're only, you know, we've got only the description.

38:58.860 --> 39:04.660
Uh, however, still, this is a good habit to test out, like different platforms where you can publish

39:04.660 --> 39:08.140
just, you know, just set up the TikTok account, publish this content.

39:08.140 --> 39:12.460
Also, if you are more advanced, you can just experiment with this entire automation.

39:12.460 --> 39:19.500
So let's say instead of just one image because here I'm just look, I'm there in the JSON file.

39:19.500 --> 39:20.780
We've got only one image.

39:20.900 --> 39:25.300
You can create multiple images and then just customize this content for the TikTok.

39:25.300 --> 39:26.940
So create something like this.

39:27.340 --> 39:32.980
Let me show you um, on this account, actually in this course we've got also the automation to publish

39:32.980 --> 39:34.180
this type of the content.

39:34.180 --> 39:42.340
So let's see, do you think with the music and it changes the images and it's pretty nice.

39:42.380 --> 39:44.540
It gets a lot of likes and a lot of views.

39:45.300 --> 39:49.500
But let's go back to our automation and now connect other different fields.

39:49.940 --> 39:51.340
Uh, let's do it pretty fast.

39:51.340 --> 39:56.820
So this is a Facebook, um, just take this code base there.

39:57.420 --> 40:00.500
Um, and here again I need to provide the upload blood idol.

40:02.100 --> 40:03.140
That's perfect.

40:03.140 --> 40:04.660
We can execute the step.

40:05.380 --> 40:06.020
Nice.

40:06.260 --> 40:08.180
The next thing is our LinkedIn.

40:08.940 --> 40:11.820
So again, this is straightforward process.

40:11.820 --> 40:15.020
You just take the JSON code I prepared for you.

40:15.700 --> 40:17.220
Um, nice.

40:17.260 --> 40:18.660
You execute the step.

40:19.740 --> 40:23.060
And the last thing actually last node will be Pinterest.

40:23.060 --> 40:25.700
And there it can be a little complicated.

40:25.700 --> 40:33.020
However, I will show you how how to do this because for Pinterest you need to have your board ID.

40:33.060 --> 40:33.940
This is the point.

40:33.940 --> 40:35.340
You need to have your board ID.

40:35.580 --> 40:40.300
However, Pinterest doesn't provide directly your board ID we need to do some trick.

40:41.220 --> 40:45.820
So let's provide here our data and we need to take this board ID.

40:46.500 --> 40:47.740
Let me show you how to do this.

40:48.060 --> 40:49.340
Go ahead to Pinterest.

40:51.100 --> 40:51.620
Okay.

40:52.220 --> 40:59.620
Um, and then just click on your page and on your profile, actually.

40:59.620 --> 41:03.220
So here, um, let's move on to my profile and on your board.

41:03.220 --> 41:04.460
This is my test board.

41:04.860 --> 41:09.500
And now click on right click Inspect Element.

41:10.020 --> 41:11.860
Then go ahead to the network.

41:12.580 --> 41:15.020
And here just refresh this tab.

41:15.860 --> 41:22.340
And then inside type boards uh resource resource okay.

41:22.860 --> 41:23.900
Just click here.

41:24.140 --> 41:27.260
And now in this resource just take this entire response.

41:27.980 --> 41:30.060
So just take this entire response.

41:30.220 --> 41:31.220
Just copy it.

41:32.020 --> 41:40.380
Go ahead to ChatGPT and type give me my board's ID and just paste this entire code.

41:40.620 --> 41:42.980
And it should give you your boards ID.

41:43.220 --> 41:44.100
Let's wait.

41:45.660 --> 41:46.500
All right.

41:47.660 --> 41:51.340
So it's not that actually um, it's not that simple.

41:51.660 --> 41:53.900
But with this case, um, yeah.

41:53.900 --> 41:54.740
Let's go, let's go.

41:54.780 --> 41:59.050
ChatGPT with this case, you can get your boards ID very simply.

41:59.490 --> 42:01.370
So my boards ID is this one.

42:01.730 --> 42:06.930
Let's move on to Na den and paste it here so I can paste it here.

42:07.410 --> 42:09.890
Um and click Execute Step.

42:09.890 --> 42:10.930
Hopefully it works.

42:11.690 --> 42:12.450
All right.

42:12.610 --> 42:13.610
Um let's see.

42:14.010 --> 42:17.810
Um we can refresh the page and as you can see we've got it.

42:17.810 --> 42:20.890
So this is our post published and it's perfect.

42:21.410 --> 42:28.610
And the last step for this entire project is to uh yeah, save the data, actually make it mark as done

42:28.650 --> 42:31.690
and upload an image URL inside Google Sheets.

42:31.930 --> 42:34.810
For this case I can delete this part.

42:35.210 --> 42:37.010
This part and this part.

42:37.770 --> 42:41.210
Um, change the status to done and provide image URL.

42:41.490 --> 42:44.730
Um, let's provide it from image URL.

42:45.050 --> 42:49.330
Let's execute this step and see if it's done here.

42:49.730 --> 42:50.810
So yeah it's done.

42:50.810 --> 42:52.010
We've got image URL.

42:52.010 --> 42:53.330
So this is pretty everything.

42:53.770 --> 43:01.690
By this way we created really complicated, I can say, sophisticated automation for creating perfect

43:01.690 --> 43:03.410
content for our social media.

43:03.530 --> 43:07.490
So then again, we actually use perplexity to do a research.

43:07.530 --> 43:13.370
We use our think tool OpenAI, and it creates for us an idea with title description, hashtags.

43:13.850 --> 43:19.010
Then we create, we give this information to this agent that creates for us the prompt.

43:19.370 --> 43:23.210
This prompt is is moved forward to the HTTP request.

43:23.210 --> 43:26.970
So we use image ChatGPT image generation model to generate an image.

43:27.170 --> 43:28.730
We convert that to the file.

43:28.730 --> 43:31.130
We get image URL we provide.

43:31.130 --> 43:36.490
Inside this edit fields node, we provide all of the credits actually IDs for our accounts.

43:38.010 --> 43:43.930
Then we connect our blood and our blood uploads.

43:44.130 --> 43:49.130
You know we connect with Instagram and TikTok, Facebook, LinkedIn, Pinterest.

43:49.130 --> 43:54.250
So simply we just post the content on these platforms and at the end we save the data inside Google

43:54.250 --> 43:54.770
Sheets.
