WEBVTT

00:00.280 --> 00:01.920
Hello, I'm Eric, how can I help you?

00:02.200 --> 00:02.880
Hi, Eric.

00:03.040 --> 00:06.160
Um, I would like to plan a trip to Rome.

00:07.440 --> 00:08.520
That sounds exciting.

00:08.560 --> 00:12.360
To help you plan your trip to Rome, could you please provide me with a few details?

00:12.360 --> 00:17.080
I need to know your departure and return dates, the number of travelers, your departure city, any

00:17.080 --> 00:21.920
specific activities you want to do in Rome, and the email address where I can send your travel plan.

00:22.600 --> 00:23.080
All right.

00:23.080 --> 00:25.480
So I will provide the information I remember.

00:25.480 --> 00:28.800
So my city is Krakow.

00:28.800 --> 00:32.480
So my origin city I would like to visit Rome.

00:32.680 --> 00:38.880
And here the departure date is 17th of May and the return date is 22nd of May.

00:39.160 --> 00:40.360
Um, activities.

00:40.360 --> 00:42.720
I would like maybe to visit some museum.

00:43.000 --> 00:44.400
Uh, for the email.

00:44.400 --> 00:47.960
It's DFA course Academy at gmail.com.

00:48.320 --> 00:51.960
And for the travelers, it's actually two travelers.

00:51.960 --> 00:53.520
Do you need any other information?

00:55.120 --> 00:56.880
Thank you for providing the details.

00:56.880 --> 00:59.200
Let me summarize to ensure everything is correct.

00:59.760 --> 01:05.570
You are traveling from Krakow to Rome, departing on the 17th of May and returning on the 22nd of May.

01:05.730 --> 01:09.250
There will be two travelers and you are interested in visiting museums.

01:09.250 --> 01:13.250
The travel plan will be sent to DFA Course Academy at gmail.com.

01:13.290 --> 01:15.250
Please give me a few moments to look into this.

01:16.090 --> 01:16.370
Yes.

01:16.370 --> 01:16.730
Of course.

01:16.730 --> 01:17.370
Thank you.

01:21.490 --> 01:22.410
Thanks for your patience.

01:22.410 --> 01:23.370
I'm almost done.

01:23.370 --> 01:28.650
Your travel plan has been successfully created and sent to DFA Course Academy at gmail.com.

01:28.650 --> 01:30.610
Is there anything else I can assist you with today?

01:30.930 --> 01:31.530
No thank you.

01:31.530 --> 01:32.010
That's all.

01:32.010 --> 01:32.330
Thank you.

01:32.330 --> 01:33.050
Have a nice day.

01:35.650 --> 01:36.370
You're welcome.

01:36.370 --> 01:38.570
Have a wonderful day and enjoy your trip to Rome.

01:39.530 --> 01:45.290
All right, so as you can see right now, I can check my Gmail if the entire plan is sent over here.

01:51.050 --> 01:56.810
So there you can notice we've got exciting vacation to Rome from Krakow, 17th of May to 22nd.

01:56.810 --> 01:57.930
And here, actually.

01:57.970 --> 01:58.650
Nice heading.

01:58.700 --> 02:00.420
Get ready for your trip to Rome.

02:00.460 --> 02:01.780
Flights here.

02:01.780 --> 02:02.340
Resorts.

02:02.340 --> 02:06.460
We can choose an event, activities and everything is at the point.

02:06.460 --> 02:12.780
So in this video I will show you step by step how to create this entire automation that is your personal

02:12.820 --> 02:13.980
travel agent.

02:14.620 --> 02:19.060
Even before we begin, remember you can download the template in the resources of this material.

02:19.060 --> 02:23.700
So right now you can right away stop the video, download the template and I will show you step by step

02:23.700 --> 02:24.700
how to set it up.

02:25.260 --> 02:28.220
So after you have your template the trigger is our webhook.

02:28.340 --> 02:31.100
So in general here we've got the method which is post.

02:31.100 --> 02:32.700
We've got the path which is travel.

02:32.700 --> 02:37.420
So simply um I typed here the travel no authentication.

02:37.420 --> 02:40.940
And here we are using respond to webhook node.

02:41.260 --> 02:45.420
And in general we'll be connecting the webhook to our 11 labs.

02:45.980 --> 02:49.980
So when you are inside 11 labs click on the conversational AI.

02:50.300 --> 02:52.660
And here click on agents.

02:52.860 --> 02:55.820
And right now you need to create your new agent.

02:56.500 --> 03:01.800
So simply you can name it as the Travel Agent demo.

03:02.240 --> 03:06.280
And here choose the blank template and click on Create Agent.

03:06.760 --> 03:09.720
After you click on that you should have this entire interface.

03:09.840 --> 03:12.600
And right now I'm in the agent which is already set up.

03:12.640 --> 03:16.960
Nevertheless, I will show you now which fields you need to set up in order to make it work.

03:17.000 --> 03:17.720
All right.

03:17.760 --> 03:20.520
So in general, first we need to go over to voice.

03:20.520 --> 03:22.040
And here just pick your voice.

03:22.040 --> 03:23.680
You can choose from many of them.

03:23.800 --> 03:28.120
So here I picked Eric because I liked I liked his voice.

03:28.120 --> 03:28.680
All right.

03:28.880 --> 03:32.680
And so you can pick Eric and here I've got use flash.

03:32.920 --> 03:33.720
So here enable.

03:33.760 --> 03:37.240
So this is the model that you will be using for the agent.

03:37.240 --> 03:42.200
And here also you can actually manipulate with the stability speed of speech here.

03:42.240 --> 03:43.120
Similarity.

03:43.120 --> 03:44.720
So everything right there.

03:44.800 --> 03:46.280
Um you can just control.

03:46.320 --> 03:47.880
I left it as default.

03:47.880 --> 03:48.960
So it's your choice.

03:49.240 --> 03:53.240
Then what you can do after you pick your voice, you go over to agent.

03:53.240 --> 03:54.720
And here you just type the message.

03:54.720 --> 03:56.810
So my message is hello I'm Eric.

03:56.810 --> 03:57.170
How.

03:57.210 --> 03:58.410
How can I help you?

03:58.410 --> 04:03.370
This is the first message that our agent actually speaks in the conversation.

04:03.650 --> 04:09.050
So it's very important actually also provide the name of the agent and the system prompt.

04:09.050 --> 04:10.690
And we've got the following prompt.

04:10.930 --> 04:13.490
I'm actually I put it inside the file.

04:13.490 --> 04:15.730
You can download also in the resources.

04:15.730 --> 04:22.410
So the entire system prompt, you know you can just use it um, and just use my template.

04:22.410 --> 04:24.970
Also um I can say you can modify it.

04:24.970 --> 04:28.850
So actually for an example, you know, we've got here you're a travel assistant.

04:28.850 --> 04:34.410
Your job is to create help, um, is to help the caller create a travel plan based on the details they

04:34.410 --> 04:34.970
provide.

04:34.970 --> 04:35.650
We've got the tool.

04:35.690 --> 04:38.130
So and then we would like to specify only this tool.

04:38.170 --> 04:39.250
Instructions.

04:39.290 --> 04:41.410
Extract the required details from the caller.

04:41.450 --> 04:43.810
Always send the details to the tool.

04:43.930 --> 04:47.410
Um to clarify actually the agent um yeah the tool.

04:47.610 --> 04:52.490
After you use the tool, say please give me a few moments to look into this.

04:52.690 --> 04:53.450
Um, yeah.

04:53.490 --> 04:53.970
All right.

04:53.970 --> 05:01.260
So we just kind of, um, make the conversation very natural, like, the flow is very natural.

05:01.260 --> 05:02.740
So we don't have any breaks.

05:02.740 --> 05:05.940
If you are forced to speak, just say thanks for the for your patience.

05:06.100 --> 05:07.460
I'm almost done.

05:07.620 --> 05:14.540
So here in general, again, we are using these small sentences to make the conversation us with the

05:14.540 --> 05:15.660
real human right.

05:15.660 --> 05:19.820
Because sometimes chatbot likes to, you know, be silent, like wait for the response.

05:19.820 --> 05:25.100
So, um, even you can add other sentences, you know, once the travel plan has been emailed to the

05:25.100 --> 05:27.460
caller, carefully let them know.

05:27.460 --> 05:31.060
So this is actually also great because yeah, it indicates what to do.

05:31.620 --> 05:33.860
So we've got it for the LLM.

05:33.900 --> 05:35.420
I picked GPT four.

05:35.900 --> 05:36.580
All right.

05:36.820 --> 05:40.100
Um so there you've got Gemini two zero flash.

05:40.260 --> 05:46.460
Other models I like to stick with the ChatGPT actually OpenAI models, it's your choice for the temperature.

05:46.500 --> 05:49.620
It actually indicates how varied the responses will be.

05:49.620 --> 05:50.820
I can say half of it.

05:50.820 --> 05:51.380
All right.

05:51.420 --> 05:57.230
Because with the highest and higher temperature like the responses will be less predictable.

05:57.230 --> 06:03.150
With the lower temperature, it will be more stable, more, um, you know, more, um, you can predict

06:03.150 --> 06:03.590
it better.

06:03.630 --> 06:04.190
All right.

06:04.550 --> 06:05.590
I'm also here.

06:05.630 --> 06:05.830
Oh.

06:05.870 --> 06:07.070
All right, what do we need to do?

06:07.270 --> 06:08.950
We need to add tools.

06:08.990 --> 06:09.310
All right.

06:09.310 --> 06:10.830
So we need to click Add tool.

06:11.550 --> 06:13.590
And there we need to set everything up.

06:13.870 --> 06:15.990
So in general let me change the screen.

06:16.430 --> 06:19.190
Um actually and we've got name which is na.

06:19.190 --> 06:21.150
Then we've got here the description.

06:21.150 --> 06:26.190
So this tool is responsible to generate a travel plan when details are given.

06:26.550 --> 06:29.070
And here what's very important we need to change.

06:29.110 --> 06:36.910
We need to choose the method which is post actually and take our URL when you are inside your automation.

06:37.790 --> 06:39.030
Um, let me show you.

06:39.070 --> 06:39.550
Okay.

06:39.910 --> 06:42.430
When you're inside your automation and you open the webhook.

06:42.430 --> 06:45.030
So again I can open the webhook here.

06:45.030 --> 06:48.270
You've got actually the webhook URL.

06:48.710 --> 06:51.910
So you need to just copy that and paste it here inside.

06:51.910 --> 06:56.530
So you just connect by this way, you just give a hook to 11 labs to work with.

06:56.570 --> 06:57.090
Nadine.

06:57.130 --> 06:57.610
All right.

06:57.650 --> 06:59.010
If that makes any sense.

06:59.450 --> 07:03.610
Um, then what you do, you enable the parameters also.

07:03.610 --> 07:09.330
Here, um, let me show you, um, body parameters enabled.

07:10.130 --> 07:11.770
And there you provide a description.

07:12.050 --> 07:13.130
Um, let's go over back.

07:13.450 --> 07:14.850
Um, you provide here a description.

07:14.850 --> 07:18.810
So get all of the details from the color, then send the request.

07:19.210 --> 07:21.090
And there we provide the properties.

07:21.090 --> 07:22.850
And actually there are some of them.

07:22.850 --> 07:24.250
So um yeah.

07:24.530 --> 07:26.010
Um pay attention.

07:26.530 --> 07:29.570
So firstly we've got the traveler identifier.

07:29.570 --> 07:31.810
And here the data type is number.

07:31.810 --> 07:34.490
So you would like to specify number of travelers.

07:35.410 --> 07:37.570
So here this is for an example one.

07:38.010 --> 07:40.370
Um then we've got return date.

07:40.370 --> 07:44.130
So we've got the day person calling wants to return.

07:44.530 --> 07:49.290
Uh so in general actually um we specify the fields we need to return.

07:50.210 --> 07:52.700
Um, there we've got the departure date.

07:52.700 --> 07:54.820
So the day person calling wants to leave.

07:55.180 --> 08:02.020
These descriptions are just to actually, you know, indicate what you would like to get by this entire

08:02.060 --> 08:02.540
sentence.

08:02.540 --> 08:03.100
All right.

08:03.380 --> 08:04.020
Just short.

08:04.060 --> 08:05.260
You can provide longer.

08:05.260 --> 08:06.820
However, it still works.

08:07.220 --> 08:09.020
Um, we've got a destination.

08:09.020 --> 08:11.300
So where the person calling is traveling to.

08:11.340 --> 08:12.380
Again, this is string.

08:12.420 --> 08:17.020
Previously we had the string, and this is also the string only for the day.

08:17.140 --> 08:22.460
Um, for the traveler, we had the number because this is actually, um, the number.

08:22.500 --> 08:23.780
So that's why we had the number.

08:24.100 --> 08:25.420
And we have the origin.

08:25.420 --> 08:27.980
So the city from where we are traveling.

08:28.700 --> 08:34.260
So where the person calling is traveling from, um, this is also the string and all, like, pay attention.

08:34.260 --> 08:36.180
We've got required fields right there.

08:36.220 --> 08:36.740
All right.

08:36.740 --> 08:37.860
So here required.

08:37.860 --> 08:38.740
Required.

08:39.140 --> 08:40.020
And all of that.

08:40.020 --> 08:40.500
Okay.

08:40.820 --> 08:42.780
Um, we've got activities.

08:42.820 --> 08:49.180
It's also the string activities person calling wants to take part in at the destination.

08:49.500 --> 08:50.540
We've got an email.

08:50.540 --> 08:51.830
And this is pretty all.

08:51.870 --> 08:52.070
Yeah.

08:52.070 --> 08:52.390
All right.

08:52.430 --> 08:56.510
So we've got so we've got an email an email to send the travel plan to.

08:56.790 --> 08:57.950
And that's pretty everything.

08:57.950 --> 08:59.150
So we've got here.

08:59.230 --> 09:06.630
Um yeah we've got here everything um parameters and body we've got enabled um actually here enabled.

09:06.630 --> 09:13.430
So um, yeah, you need to enable that and all of the parameters, properties and so on, we can save

09:13.430 --> 09:14.070
changes.

09:15.030 --> 09:22.070
And lastly what we have, um, let's go over to advanced and we've got turn timeout.

09:22.070 --> 09:25.150
So the maximum number of seconds since the user last spoke.

09:25.190 --> 09:28.710
If exceeded the agent will respond and force a turn.

09:28.750 --> 09:29.110
All right.

09:29.110 --> 09:30.630
So we've got 20s.

09:31.070 --> 09:32.710
Um, actually it's your choice.

09:32.710 --> 09:35.070
You can, um, select 10s.

09:35.270 --> 09:36.710
Um, actually, um, yeah.

09:36.750 --> 09:37.710
15 seconds.

09:37.710 --> 09:38.910
It's your choice here.

09:38.910 --> 09:44.350
We've got other fields such as silence and call timeout, max conversation duration.

09:44.350 --> 09:49.110
We've got the keywords, user input, audio format, um, so we can modify it for now.

09:49.110 --> 09:50.440
This is pretty everything.

09:50.840 --> 09:52.600
And now what we need to do.

09:52.920 --> 09:54.880
Uh, we can go over here.

09:55.160 --> 09:58.200
And now what we need to do in order to get the trigger.

09:58.400 --> 10:01.280
Um, I don't want to actually to provide that.

10:01.560 --> 10:02.640
Um, yeah.

10:02.680 --> 10:08.040
Because, um, actually, what you need to do, let me show you, um, you've got here the trigger.

10:08.080 --> 10:16.360
All right, so there, you just need to click on listen listen for test event and just click on Test

10:16.400 --> 10:17.200
Agent.

10:17.800 --> 10:21.000
So let me show you you just click call agent.

10:22.800 --> 10:23.120
Um.

10:23.480 --> 10:23.800
All right.

10:23.800 --> 10:24.680
Let's wait.

10:25.080 --> 10:25.880
Hello I'm Eric.

10:25.880 --> 10:26.840
How can I help you?

10:27.240 --> 10:31.120
All right, so right now what you can do and you can do it by this way.

10:31.160 --> 10:35.960
And then you've got your record, um, here inside the webhook.

10:36.000 --> 10:37.320
You should have all of that.

10:37.520 --> 10:39.720
Um, you can even, um, pin the data.

10:39.720 --> 10:46.080
So afterwards, you don't need to change that whenever you for an example, um, actually not edit a

10:46.080 --> 10:49.690
pin afterwards when you leave this entire automation, this data is spent.

10:49.690 --> 10:52.010
So in general the entire automation works.

10:52.010 --> 10:52.530
All right.

10:53.450 --> 11:00.530
So now what we can do we can go ahead and after our webhooks and actually setting up our agent we can

11:00.650 --> 11:03.810
um actually create set fields node.

11:03.970 --> 11:09.090
So here in general we would like to map the specific fields the origin.

11:10.090 --> 11:11.690
And so there is a origin.

11:11.690 --> 11:12.330
All right.

11:12.330 --> 11:17.290
So what I do I provide here the name and there I go over here.

11:17.650 --> 11:19.330
Um let's go over there to the body.

11:19.330 --> 11:21.410
You can even um, close the headers.

11:21.770 --> 11:28.050
So I just simply take the origin and I put it here, then the destination, I take the destination,

11:28.090 --> 11:30.610
put it here, um, departure date.

11:30.610 --> 11:34.130
So simply, I would like to store the entire data, like here.

11:34.370 --> 11:35.850
So to make it clear.

11:35.850 --> 11:36.410
All right.

11:37.130 --> 11:38.170
It's simple as that.

11:38.610 --> 11:41.770
Then what I have, I have actually a chain.

11:41.930 --> 11:45.970
So here inside what I want to do, I've got a prompt.

11:46.410 --> 11:49.310
Um, so here you've got everything set up already, right?

11:49.310 --> 11:51.550
If you have the template, you've got everything set up.

11:51.950 --> 11:53.990
Um, it's as simple as that.

11:54.030 --> 11:56.030
However, let me explain what we have inside.

11:56.070 --> 12:00.030
We've got the origin and we provide actually the origin from here.

12:00.030 --> 12:02.310
So as you can see, we've got here the origin.

12:03.390 --> 12:06.950
We've got the destination departure date and return date.

12:06.950 --> 12:11.870
And what's very important we would like to have the actually our codes.

12:11.870 --> 12:14.510
So here um, let me show you the instructions.

12:14.550 --> 12:18.150
Turn the origin and destination into their airport codes.

12:18.190 --> 12:22.750
Make sure that the departure and return dates are in the future, not in the past.

12:23.030 --> 12:28.230
Uh, so actually, remember, it's very important because sometimes if you speak the exact date.

12:28.270 --> 12:35.030
All right, um, actually, maybe you speak, let's say, uh, May 17th, it can take, for example,

12:35.070 --> 12:36.270
year 2023.

12:36.310 --> 12:36.590
Right.

12:36.590 --> 12:38.910
So that's why we avoid any problems in the future.

12:39.150 --> 12:40.950
So here is the current date time.

12:41.270 --> 12:43.110
And we specify the date which is now.

12:43.390 --> 12:51.440
And by this way actually so by providing the prompt system message and we get actually our airport code

12:51.480 --> 12:54.920
and here our airport codes here, departure and return date.

12:55.280 --> 13:00.440
And also what's very important we are using our model which is for all however output parser.

13:00.760 --> 13:03.800
So inside what you have you've got the like the type.

13:03.800 --> 13:05.480
So the object here property.

13:05.520 --> 13:07.160
So origin which is the string.

13:07.440 --> 13:09.440
So the description actually the origin.

13:09.640 --> 13:15.120
Um and here actually we are using you know like this output parser um to indicate.

13:15.160 --> 13:17.720
Yeah destination departure.

13:17.720 --> 13:20.200
So we would like to receive this specific format.

13:20.200 --> 13:20.840
All right.

13:20.880 --> 13:23.240
Not let's say actually other format.

13:23.280 --> 13:30.280
However exact year month and date here again year month and date not other format.

13:30.280 --> 13:30.840
This format.

13:30.840 --> 13:32.640
And that's why we are using parser.

13:32.640 --> 13:36.800
So we again indicate the specified format we would like to get.

13:37.200 --> 13:38.360
Let's go over back.

13:38.400 --> 13:38.800
All right.

13:38.800 --> 13:42.840
So we've got um our um yeah our content.

13:42.840 --> 13:45.320
So here origin again airport code for that.

13:45.320 --> 13:47.490
For the destination, for departure return.

13:47.490 --> 13:48.730
We'll be using it later.

13:49.250 --> 13:53.130
So then what we have, we've got actually our activities.

13:54.010 --> 13:59.690
So we are searching the web for different activities and we are using Tavileh.

13:59.930 --> 14:01.850
Let's go over to Tavileh API.

14:02.130 --> 14:03.730
Let me show you how it works.

14:03.930 --> 14:04.970
So we've got Tavileh.

14:04.970 --> 14:06.410
I like to use it actually.

14:06.410 --> 14:11.250
You've got three credits, 1000 searches with the free account you can see here.

14:11.610 --> 14:14.410
And now actually let me show you how to set it up step by step.

14:14.930 --> 14:17.130
Firstly you choose the method which is post.

14:17.330 --> 14:20.290
You take the URL, you've got everything set up.

14:21.450 --> 14:24.730
So here you take the URL even let me show you.

14:25.130 --> 14:27.370
Um, actually.

14:27.370 --> 14:28.010
All right.

14:28.370 --> 14:33.050
Let's go over to the documentation, um, to the API reference.

14:33.090 --> 14:39.570
And even actually what you can do, you can go over and you can take this URL and there, um, to set

14:39.610 --> 14:46.300
up the entire, um, yeah, the entire note, you can import the URL and it's I can say it's very,

14:46.820 --> 14:49.620
um, it's very, um, actually comfortable.

14:49.860 --> 14:50.780
So let's add the note.

14:50.780 --> 14:51.540
Let me show you.

14:51.580 --> 14:52.820
HTTP request.

14:54.100 --> 14:56.380
Um, you can go over here.

14:56.660 --> 14:59.380
It's a, um, like a small tip.

14:59.380 --> 14:59.740
All right.

14:59.740 --> 15:00.620
How you can do this.

15:00.940 --> 15:04.820
Um, however I think it's very useful import URL there import.

15:04.820 --> 15:09.460
And you've got actually, you know, authorization you need to provide your token, um, here the URL,

15:09.500 --> 15:11.820
JSON, um, you can format that.

15:11.860 --> 15:12.180
All right.

15:12.180 --> 15:13.700
Will be formatting the query.

15:13.740 --> 15:18.540
However after you import the URL you've got everything set up.

15:18.540 --> 15:21.180
And it's nice actually tip for the future.

15:21.220 --> 15:22.660
Nevertheless let's go back.

15:22.660 --> 15:23.940
So we have the post.

15:23.940 --> 15:28.220
We've got the URL and actually the URL you can copy probably.

15:28.780 --> 15:30.900
And from here you can copy this URL.

15:30.940 --> 15:32.260
Just paste it here.

15:33.260 --> 15:35.420
Um authentication we send the headers.

15:35.620 --> 15:38.420
So there we provide the authorization.

15:38.580 --> 15:41.300
You've got everything explained in the documentation.

15:41.500 --> 15:44.830
Um so here Authorization, which is required.

15:44.990 --> 15:46.630
And there you've got better.

15:46.630 --> 15:48.190
And your API key.

15:48.830 --> 15:53.870
Um, I'm showing you that, um, actually, you've got everything set up inside the template.

15:53.910 --> 15:56.270
And I'm showing that because, um.

15:56.310 --> 15:56.710
Yeah.

15:56.990 --> 16:00.750
Um, later on, if you, um, search different documentations.

16:00.990 --> 16:06.950
You get familiar with that, you're better, um, you're better even at operating HTTP requests.

16:07.070 --> 16:12.070
Which is really important in Na then, because it allows us to do many different things, trust me.

16:12.390 --> 16:15.950
Um, so that's why you've got here the authorization bearer.

16:16.270 --> 16:17.430
Um, here API key.

16:17.630 --> 16:19.190
You click send body.

16:19.910 --> 16:21.910
And there you choose JSON using JSON.

16:22.110 --> 16:24.590
And here um let's see what we have.

16:24.630 --> 16:25.870
We've got the query.

16:26.190 --> 16:29.870
So um in general we provide our variable.

16:29.870 --> 16:35.150
So here um let's see we've got set fields and we just provide the activities.

16:35.150 --> 16:35.790
All right.

16:35.830 --> 16:36.950
So this is the query.

16:37.150 --> 16:39.310
And there we also provide a destination.

16:39.310 --> 16:42.810
So it looks by this way um let me show you.

16:43.370 --> 16:45.050
Um, actually, it looks by this way.

16:45.050 --> 16:49.690
So we've got, um, query visit museums in Rome.

16:49.850 --> 16:50.490
All right.

16:50.730 --> 16:53.290
And here inside we've got, um.

16:53.450 --> 16:53.810
Yeah.

16:53.850 --> 16:55.090
Max results free.

16:55.370 --> 16:59.370
Um, because we would like to get free actual results, um, days free.

17:00.410 --> 17:01.010
Um.

17:01.050 --> 17:02.010
Everything here?

17:02.050 --> 17:02.610
All right.

17:02.890 --> 17:05.970
Um, you can also manipulate that, that data.

17:06.010 --> 17:09.090
However, for now, we've got the query, which is really important.

17:09.130 --> 17:11.970
The the city and also other values.

17:12.010 --> 17:12.730
All right.

17:12.770 --> 17:16.410
After you click on this step, um, you should get um yeah.

17:16.450 --> 17:17.610
The entire response.

17:17.810 --> 17:21.610
So here what we have, we've got um three results.

17:21.770 --> 17:26.410
So first result is um yeah we've got a title 25 best news.

17:26.490 --> 17:28.410
Must visit museums in Rome.

17:28.450 --> 17:32.570
Second results so that ten best museums you will want to visit in Rome.

17:32.730 --> 17:34.050
Um, URL content.

17:34.210 --> 17:37.090
Um, you know, and the third result, which is really nice.

17:37.890 --> 17:39.570
And we've got our activities.

17:39.610 --> 17:42.020
Now is the time for resorts.

17:42.060 --> 17:42.580
Okay.

17:42.940 --> 17:46.380
And for that we are using the method which is get.

17:46.820 --> 17:49.220
Then we've got the tool which is Serp API.

17:49.460 --> 17:51.620
And here we are using this URL.

17:51.620 --> 17:52.780
And now let me show you.

17:52.820 --> 17:54.500
We've got serp API.

17:55.180 --> 17:56.500
Um let's type it.

17:56.500 --> 17:57.580
Let's go over here.

17:57.940 --> 17:59.940
Um just simply register.

18:00.140 --> 18:01.460
Um I can click on sign in.

18:01.460 --> 18:03.060
I've got an account here.

18:03.100 --> 18:04.260
Um, there is my API key.

18:04.300 --> 18:05.940
Of course, later I will change it.

18:06.540 --> 18:12.860
Um, and there actually and we've got the documentation every time, whenever you're using any tool,

18:12.900 --> 18:20.380
I recommend you to go here because what you have API parameters, um, which is required and it defines

18:20.380 --> 18:21.940
the query you want to search.

18:21.940 --> 18:26.420
You can use anything that you would like to use in a regular Google search.

18:26.540 --> 18:27.620
So we need to provide that.

18:27.620 --> 18:29.500
We know then what we have.

18:29.500 --> 18:30.460
Location.

18:30.900 --> 18:34.620
Um let's say um we've got here the Google domain.

18:35.500 --> 18:40.630
So all of the parameters, um, as you can see here, even we've got API key.

18:40.750 --> 18:44.990
So we've got actually the data how to set up your API key.

18:45.310 --> 18:46.270
So it's required.

18:46.270 --> 18:48.710
As you can see some of the fields are optional.

18:48.830 --> 18:49.990
So you don't need to use them.

18:49.990 --> 18:53.230
However API key is required also.

18:53.510 --> 18:57.230
And their q parameter which indicates the query.

18:57.830 --> 19:01.510
Let me show you how it looks like inside this HTTP request.

19:01.630 --> 19:05.350
So we use generic credential type query authentication.

19:05.630 --> 19:08.110
And there let me show you how to set up a credential.

19:08.750 --> 19:10.430
You click on setup the credential.

19:10.510 --> 19:18.430
And there as in the documentation you've got up let me show you API key.

19:19.310 --> 19:23.310
So this lower dash so API and lower dash key.

19:24.150 --> 19:26.270
And then you provide API key here.

19:26.270 --> 19:27.550
And you click on save.

19:27.830 --> 19:29.270
All right you click on save here.

19:29.750 --> 19:32.630
Um and that's why and that's how you have your API key.

19:32.990 --> 19:35.430
You click on send query parameters.

19:36.310 --> 19:37.870
And there it's very important.

19:38.310 --> 19:41.240
Um you click using uh, fields below.

19:41.240 --> 19:43.320
And now let's start with the first.

19:43.320 --> 19:46.640
So we are using engine which is Google Hotels okay.

19:46.680 --> 19:48.040
We are using this engine.

19:48.480 --> 19:52.800
And it's really crucial because let me show you we've got different engines.

19:52.960 --> 19:55.080
So let's go over here to your background.

19:55.120 --> 19:57.040
Open a link in a new tab.

19:57.040 --> 19:59.440
And here I've got there the sidebar.

19:59.440 --> 20:02.880
And here you can see Google Search, Google Finance, Google Flights.

20:03.040 --> 20:05.920
We are using Google Hotels API and Google Images.

20:05.920 --> 20:10.360
However you can connect different engines will do it will do it later.

20:10.360 --> 20:12.000
So we'll connect Google flights.

20:12.960 --> 20:15.760
Um, let's go back to our na den.

20:15.800 --> 20:21.360
So here we've got the engine name, which is um, actually let me um, yeah.

20:21.400 --> 20:27.800
Provide the name which is engine value, Google hotels and the value we provide the specific engine.

20:27.800 --> 20:30.520
So Google Flight, Google Hotels, Google Images and so on.

20:30.720 --> 20:33.240
We've got the query which is required parameters.

20:33.240 --> 20:34.440
So we provide a cue.

20:34.720 --> 20:39.180
And simply from the set fields Else we drag and drop.

20:39.220 --> 20:40.540
Actually our destination.

20:40.540 --> 20:41.180
All right.

20:41.180 --> 20:43.340
So here we've got our destination.

20:43.340 --> 20:45.980
And there you can see we've got the roam as a result.

20:47.020 --> 20:48.740
And we've got check in date.

20:49.460 --> 20:53.780
So here this is Jason departure date and checkout date.

20:53.780 --> 20:57.380
So this is return adults and we specify the travelers.

20:57.820 --> 20:58.660
So this is two.

20:58.860 --> 21:04.020
And simply here um, let me show you from here we take the departure.

21:04.460 --> 21:04.900
All right.

21:04.900 --> 21:05.900
So this is the same.

21:06.100 --> 21:11.100
And from here we take the return from set field travelers.

21:11.540 --> 21:14.380
We take travelers this variable.

21:14.780 --> 21:15.900
And that's pretty it.

21:16.340 --> 21:18.780
We can actually test the step after we test it out.

21:19.140 --> 21:21.660
Um, we've got everything that we wanted.

21:21.660 --> 21:25.060
So here for an example, Google hotels URL there.

21:25.260 --> 21:26.580
Uh, we've got our engine.

21:26.580 --> 21:29.620
We used all of the parameters.

21:29.740 --> 21:31.620
Let's now close that.

21:31.860 --> 21:37.550
Um, so here in general, um, you will see we've got a lot of different properties.

21:38.110 --> 21:42.670
So different actually, you know, different Google, different hotels from Google.

21:42.790 --> 21:44.750
Let's see how many we have of them.

21:45.030 --> 21:47.030
Um, so a lot of searches.

21:47.030 --> 21:47.590
All right.

21:47.750 --> 21:48.630
Um different hotels.

21:48.630 --> 21:50.510
So this is Hilton for an example.

21:50.790 --> 21:55.230
When I collapse again, this property I have the building hotel there.

21:55.230 --> 21:56.950
I've got Spagna dream.

21:56.990 --> 21:59.030
Um, so they're even the link.

21:59.070 --> 22:00.230
Everything right there?

22:00.270 --> 22:01.350
It's so, so nice.

22:01.510 --> 22:03.870
Let's see how many of them we have.

22:04.230 --> 22:04.750
Um.

22:06.070 --> 22:06.510
Um, yeah.

22:06.510 --> 22:09.830
So we've got 19, um, different hotels to choose.

22:09.830 --> 22:11.190
It's so, so cool.

22:11.190 --> 22:15.230
So by this way, we we sell, actually, we search for different hotels.

22:15.270 --> 22:15.830
All right.

22:16.630 --> 22:17.310
So it is.

22:17.310 --> 22:18.870
So that's how it works.

22:19.070 --> 22:21.390
Um, hopefully we, uh.

22:21.430 --> 22:24.390
Yeah, we've been talking about everything here.

22:24.430 --> 22:24.870
Okay.

22:25.750 --> 22:27.750
Um, let's go over ahead to the flight.

22:27.910 --> 22:31.150
And there we are using the same application, so serp API.

22:31.630 --> 22:37.520
However here we are using Google Flights as an engine, again, so not Google hotels however Google

22:37.520 --> 22:38.080
flights.

22:38.520 --> 22:41.920
And there what we have okay let me let me select that.

22:41.960 --> 22:42.560
And what we have.

22:42.560 --> 22:45.240
We've got departure ID we've got the value.

22:45.240 --> 22:50.080
And there I took um I took here the origin.

22:50.600 --> 22:53.240
So I took this variable.

22:54.160 --> 23:00.320
Next I've got the arrival ID so here we took the destination.

23:00.320 --> 23:01.880
And there just pay attention.

23:01.880 --> 23:04.440
We've got our airport codes okay.

23:04.720 --> 23:08.880
So here even you've got the result here and there.

23:08.920 --> 23:09.880
We've got Rome.

23:10.320 --> 23:15.160
Um, it's important and we've got the outbound date inside.

23:15.160 --> 23:16.520
We have, um.

23:16.560 --> 23:17.400
Let me let me see.

23:17.400 --> 23:18.600
We've got the departure.

23:18.960 --> 23:21.640
So simply just take this variable and put it here.

23:22.080 --> 23:24.720
We have the return date and the return date.

23:24.720 --> 23:26.760
We've got this exact date.

23:27.040 --> 23:29.480
And at the end we've got, um, the data.

23:29.480 --> 23:36.370
So for number of travelers, we've got adults simply afterwards you test the step and the method is

23:36.370 --> 23:38.250
get as previously URL is the same.

23:38.650 --> 23:42.810
Um, however, only kind of the engine and some parameters changed.

23:42.850 --> 23:43.250
Yeah.

23:43.650 --> 23:45.010
So that's pretty it.

23:45.170 --> 23:52.450
Um, this is very important and I can say the most, um, the most important and the hardest part of

23:52.490 --> 23:56.170
this entire workflow and automation, because we have a lot of different parts.

23:56.170 --> 23:58.090
We've got three HTTP requests.

23:58.370 --> 24:01.250
Um, and yeah, we've got also, um, chain.

24:01.250 --> 24:06.410
So everything here afterwards we go over to the part with the Create and Send email.

24:06.410 --> 24:09.210
So we've got our agent that creates for us an email.

24:09.210 --> 24:09.370
And.

24:09.370 --> 24:10.250
All right okay.

24:10.290 --> 24:12.250
This agent is also sophisticated.

24:12.250 --> 24:14.490
So it's a little messy actually.

24:14.530 --> 24:15.650
Especially the prompt.

24:15.810 --> 24:16.570
Um yeah.

24:16.610 --> 24:18.850
So look a lot of variables.

24:18.850 --> 24:23.010
However afterwards you will see it's not that complicated at all okay.

24:23.890 --> 24:27.170
So I will explain I will try to explain everything step by step.

24:27.170 --> 24:27.690
All right.

24:28.450 --> 24:31.130
Um, so here we have our email creator.

24:31.170 --> 24:34.700
Firstly we are using the model which is GPT four mini.

24:35.340 --> 24:40.300
Um, there we are using our parser to actually specify the field.

24:40.300 --> 24:45.100
So here, um, we've got the email subject we've got here, the email body.

24:45.100 --> 24:47.900
And at the end we've got uh yeah required.

24:47.900 --> 24:49.700
So subject and email body.

24:49.700 --> 24:53.740
So as you can see we've got two variables subject and email body as we want it.

24:53.980 --> 24:58.420
That's why we are using this parser uh which is very helpful in that case.

24:58.940 --> 25:00.580
And then let's go ahead.

25:00.780 --> 25:03.620
Um, maybe first to the system message.

25:03.620 --> 25:04.180
All right.

25:04.380 --> 25:06.100
Let's go ahead to system message.

25:06.420 --> 25:11.940
We've got the overview URL is called email Copywriter who creates engaging travel plan emails.

25:11.940 --> 25:18.700
Your job is to generate an HTML email that includes clickable links, output two parameters subject

25:18.700 --> 25:21.220
and email body separately and purpose.

25:21.220 --> 25:23.060
You will receive vacation plan details.

25:23.060 --> 25:27.900
The email should have three sections flights, resorts and activities.

25:28.300 --> 25:30.540
We've got format requirements of course.

25:30.580 --> 25:33.240
Again, actually feel free after you set up.

25:33.240 --> 25:36.560
I recommend after you set up the entire automation.

25:36.560 --> 25:39.240
You see it works so you don't have any problems.

25:39.240 --> 25:40.000
Let me show you.

25:40.000 --> 25:41.480
You don't have any problems here.

25:41.480 --> 25:43.800
The entire automation works afterwards.

25:43.920 --> 25:46.360
Um, feel free to change some parts.

25:46.360 --> 25:49.320
So for example, system message inside the agent.

25:49.480 --> 25:52.720
Um, here maybe you would like to change.

25:52.840 --> 25:53.480
Um, yeah.

25:53.520 --> 25:54.960
Maybe you would like to change.

25:55.080 --> 26:00.880
Um, here, um, let me show you the system prompt inside the agent, inside the 11 labs.

26:01.320 --> 26:03.040
Um, so just experiment with that.

26:03.040 --> 26:03.600
Nevertheless.

26:03.600 --> 26:08.720
Nevertheless, for the first time, if you are creating this automation, um, I recommend you to pick

26:08.720 --> 26:10.480
the values that I'm providing for you.

26:10.680 --> 26:12.480
I have awkward this situation.

26:12.560 --> 26:18.640
Um, in the past, for example, if I had some template I wanted to use, and there actually, I said

26:18.680 --> 26:23.560
to myself, all right, no, let's let's rename it like change some parts and so on.

26:23.600 --> 26:28.720
And later on there are a lot of problems, you know, like, yeah, because for an example, you've

26:28.720 --> 26:34.530
got some variables that are set at the specific name of the note and you've got some specific fields.

26:34.530 --> 26:39.450
And then when you just rename them, you need to search for some specific parts, like, you know,

26:39.810 --> 26:45.530
um, like think more, spend time ever afterwards after you set up the automation, you know, at least

26:45.530 --> 26:48.930
you know that all of the nodes are properly set up.

26:49.090 --> 26:49.450
Yeah.

26:49.490 --> 26:52.410
And afterwards you can just change some specific parts step by step.

26:52.730 --> 26:55.610
So it's just a tip to save time.

26:55.650 --> 26:56.050
Yeah.

26:56.410 --> 27:01.370
Um, let's go over back to our agent and let's see, um, these instructions.

27:01.370 --> 27:05.530
So format requirements use proper HTML for email formatting.

27:05.690 --> 27:13.050
Add section headers inside the HTML, um and and each section with a horizontal line.

27:13.330 --> 27:14.530
Um, it's really nice.

27:14.530 --> 27:18.130
And actually it indicates the entire format of the email.

27:18.330 --> 27:21.090
So here it's so it's so cool actually.

27:21.090 --> 27:21.850
Look on that.

27:22.050 --> 27:29.650
Um, we've got actually the line I'm here, um, the specific, you know, output, um, even the images.

27:29.860 --> 27:30.820
I'm so here.

27:30.820 --> 27:31.620
It's so cool.

27:32.020 --> 27:32.420
Um.

27:32.540 --> 27:35.380
Subject line must include destination city and travel dates.

27:35.420 --> 27:36.540
Opening section.

27:36.700 --> 27:38.980
Also, we've got horizontal line.

27:39.460 --> 27:41.740
And here even what's very important.

27:41.740 --> 27:46.100
And the results section, we've got, um, actually the format of images.

27:46.100 --> 27:50.180
That's why, um, we've got max width, which is 20%.

27:50.340 --> 27:55.820
And the image inside the email is not that big on the, on the entire, you know, um, page.

27:55.820 --> 27:56.220
All right.

27:56.260 --> 27:59.580
It's so crucial uh, for me, it's really nice.

27:59.620 --> 28:03.020
Um, formatting line, um, activity section.

28:03.980 --> 28:05.660
Um, closing and note.

28:05.660 --> 28:08.780
So do not exceed 1000 words in total.

28:08.780 --> 28:09.540
It's really important.

28:09.540 --> 28:14.580
I can say for now, even you can stop the video and read all of these instructions.

28:14.980 --> 28:15.660
Um, yeah.

28:15.660 --> 28:16.860
So feel free to do this.

28:16.900 --> 28:19.500
And there you've got a lot of useful information.

28:19.860 --> 28:23.100
And now let's go ahead to the some messy part.

28:23.140 --> 28:28.220
So prompt because here um, we've got a lot of variables.

28:28.220 --> 28:30.030
So let's start from the beginning.

28:30.230 --> 28:34.630
Basically, for now, if you look on the expression side, it's really complicated.

28:34.670 --> 28:36.390
However, if you look on the right side.

28:36.390 --> 28:39.830
So on the result, it's not that hard I can say.

28:39.990 --> 28:46.430
So here, for example, we've got the flights from Krakow to Rome on the date and two specific date.

28:46.470 --> 28:50.430
Here you've got also here the date, you know, um.

28:50.470 --> 28:52.030
So it's really cool.

28:52.670 --> 28:57.070
And now what I did there, you've got flights from set field.

28:57.230 --> 28:59.270
So even let me expand this.

28:59.430 --> 29:00.270
Um, yeah.

29:00.310 --> 29:01.150
The left side.

29:01.270 --> 29:04.150
And then what I did, I took, um.

29:04.350 --> 29:05.990
Let me set it.

29:06.190 --> 29:07.990
I took the origin from here.

29:07.990 --> 29:09.030
I put it there.

29:09.390 --> 29:11.990
Then what we have is the destination.

29:11.990 --> 29:13.510
So I put it here.

29:14.710 --> 29:18.670
Um, then we had the departure date again here.

29:18.870 --> 29:20.070
And the return date.

29:20.230 --> 29:21.190
So here.

29:21.230 --> 29:21.870
All right.

29:21.910 --> 29:22.990
It's not that complicated.

29:23.030 --> 29:27.590
I only chose, um, these and variables and put them here.

29:28.200 --> 29:30.960
Then what we have, we've got specific flights.

29:31.160 --> 29:32.120
So, um.

29:32.120 --> 29:34.000
Yeah, the flight information.

29:34.760 --> 29:37.240
Firstly we've got let's go over to flights.

29:37.640 --> 29:39.520
So we've got flights here.

29:39.520 --> 29:42.600
We have best flights M0 and the and the brackets.

29:42.920 --> 29:45.240
And there we've got the flights zero.

29:45.240 --> 29:46.600
So this is the first flight.

29:46.800 --> 29:51.640
And now actually what we do we've got best flights flights airplane.

29:51.640 --> 29:54.200
So we take simply there a plane.

29:54.200 --> 29:54.720
All right.

29:55.000 --> 29:56.760
Um I will show you that here.

29:56.800 --> 29:58.080
Maybe let's put it here.

29:58.080 --> 30:00.280
So this is the same actually variable.

30:00.320 --> 30:00.800
Okay.

30:01.200 --> 30:05.400
Then what we do we take actually from this the same category.

30:05.440 --> 30:09.160
However we take departure um, our airport time.

30:09.560 --> 30:11.240
So let's search for that.

30:11.280 --> 30:14.760
We've got departure airport and we take the time.

30:15.080 --> 30:16.280
So we put it here.

30:16.560 --> 30:17.960
Um, actually hopefully it's.

30:17.960 --> 30:18.680
You see that?

30:18.840 --> 30:19.240
Okay.

30:19.280 --> 30:25.320
So we've got, uh, there it is the same, um, even actually, let me show you.

30:25.800 --> 30:30.180
Um, we've got departure, um, departure.

30:30.220 --> 30:31.300
Airport time.

30:31.980 --> 30:33.860
So this is the same as you can see.

30:33.900 --> 30:35.820
And at the end, we've got the duration.

30:35.820 --> 30:37.220
So this is the duration.

30:37.660 --> 30:40.300
And by that we get all of this data.

30:40.300 --> 30:42.020
So I'm Austrian.

30:42.060 --> 30:45.420
And the date and minutes we've got the features.

30:45.420 --> 30:47.260
So we need to go over to flights.

30:47.300 --> 30:47.660
Zero.

30:47.700 --> 30:48.460
Flight zero.

30:49.100 --> 30:52.020
Um so here um, we have all right.

30:52.060 --> 30:56.300
We've got there the best flights and flights and extensions.

30:56.460 --> 30:59.220
So we need to so we need to just take the extensions.

30:59.700 --> 31:01.180
Um, just put it here again.

31:01.180 --> 31:02.780
I will show you that it's the same.

31:03.580 --> 31:10.100
So overall, um, when you go step by step through, um, all of these variables, you see, it's not

31:10.100 --> 31:11.020
that complicated.

31:11.020 --> 31:11.620
All right.

31:11.660 --> 31:17.740
Even you can, um, actually train your skills and, um, like, you know, like tracking all of the

31:17.740 --> 31:18.580
variables.

31:18.820 --> 31:20.500
Um, from here, it's.

31:20.500 --> 31:21.940
I can say it's nice.

31:22.380 --> 31:23.940
And because later you can just read.

31:23.940 --> 31:26.110
All right, we have here the flight zero.

31:26.110 --> 31:27.310
So you go over here.

31:27.590 --> 31:29.950
Um, like, actually best flight zero.

31:30.310 --> 31:33.910
So you can go over here and there, you can get the price.

31:33.910 --> 31:34.230
So.

31:34.270 --> 31:34.550
All right.

31:34.550 --> 31:35.470
You've got the price.

31:35.470 --> 31:37.790
And now you can just put it here.

31:38.150 --> 31:39.150
Um it's cool.

31:39.270 --> 31:40.470
Then you've got um.

31:40.510 --> 31:42.590
Actually the flight zero the type.

31:42.590 --> 31:44.910
So you provide a type again.

31:45.430 --> 31:48.150
And by this way you track all of the variables.

31:48.750 --> 31:51.350
Um, let's, let's actually move forward.

31:51.350 --> 31:56.070
So we've got then JSON best flights, one flight, zero airline.

31:56.870 --> 32:03.910
So we'll go over um, we've actually the second option because there we've got a free the best flights.

32:04.150 --> 32:10.110
So we've got uh, best flight zero, best flight one and best flight two.

32:10.670 --> 32:11.030
Um, yeah.

32:11.070 --> 32:12.110
As you can see there.

32:13.150 --> 32:18.670
Um, and then what we, what we do, we go over to the best flight one.

32:19.070 --> 32:21.030
And now, um, let me see.

32:21.190 --> 32:23.430
We take actually here the airline.

32:23.430 --> 32:29.840
So again as there you can even change actually only this number because all of these variables are the

32:29.840 --> 32:30.080
same.

32:30.120 --> 32:30.720
All right.

32:30.760 --> 32:33.800
However, um, you take the data from here.

32:33.800 --> 32:36.000
So you've got, um, the airline.

32:36.000 --> 32:40.080
So this one departure or port time.

32:40.280 --> 32:46.480
And so you've got departure airport time and it's as this I think it's very logical.

32:46.480 --> 32:48.880
It's very I can say intuitive.

32:49.320 --> 32:53.280
Um, however, I, I need to actually explain that because it's really messy.

32:53.320 --> 32:53.520
Yeah.

32:53.520 --> 32:54.840
We've got a lot of variables.

32:55.320 --> 32:56.720
So we covered the back end.

32:56.760 --> 32:58.280
So all of that data.

32:58.960 --> 33:00.400
And now let's move forward.

33:00.400 --> 33:04.520
Actually you can stop the video or even read in your template what we have inside.

33:04.720 --> 33:09.920
Even sometimes you can see we've got these uh variables that are on red on red color.

33:10.120 --> 33:14.040
That means um, actually we don't have them in the schema.

33:14.040 --> 33:15.240
It happens sometimes.

33:15.320 --> 33:21.680
So if you have like a lot of different fields here from, uh, like previous steps and sometimes, um,

33:21.680 --> 33:26.570
something is missing, it's totally fine because it doesn't break the entire automation.

33:26.570 --> 33:29.930
Just for an example, we don't have, we don't have here the link.

33:29.970 --> 33:30.850
It's totally fine.

33:30.850 --> 33:31.450
All right.

33:31.450 --> 33:33.450
For example, here also we don't have the link.

33:33.490 --> 33:36.250
However here we have the link in the second.

33:36.370 --> 33:37.530
Um, this is the hotel.

33:37.570 --> 33:37.810
Yeah.

33:37.850 --> 33:38.530
Resorts.

33:38.530 --> 33:40.570
We have the second hotel link.

33:40.770 --> 33:42.210
So it's not a big deal.

33:42.290 --> 33:43.250
Um it happens.

33:43.250 --> 33:44.410
So it's totally fine.

33:44.410 --> 33:45.170
It works.

33:45.330 --> 33:50.090
The most crucial fact is that, like, the entire automation doesn't break.

33:50.130 --> 33:50.690
All right?

33:51.450 --> 33:53.290
And for now, I think this is everything.

33:53.290 --> 34:00.570
So this is our, um, email creator that creates for us the entire email body, which is formatted by

34:00.570 --> 34:01.210
this way.

34:01.330 --> 34:04.250
So we get a lot of, um, data here.

34:04.290 --> 34:04.850
All right.

34:04.890 --> 34:06.330
We get a lot of that.

34:06.850 --> 34:08.130
Um, that's really it.

34:08.170 --> 34:13.610
Let's go over and to the next step, which is send our plan via Gmail.

34:13.770 --> 34:21.730
So here we use actually our, um, let me collapse all of the notes and we use here the email.

34:22.630 --> 34:23.990
So this one variable.

34:24.430 --> 34:27.950
Then we pick the subject which is from JSON output.

34:27.990 --> 34:28.790
Subject.

34:28.790 --> 34:30.830
So this is the subject all right.

34:30.830 --> 34:31.990
And this is the email body.

34:31.990 --> 34:34.950
So we provide the entire email body.

34:35.390 --> 34:38.710
Next what we do we go over and we edit the fields.

34:38.710 --> 34:42.510
So we provide them variable name which is the response.

34:42.510 --> 34:44.350
And we and we type something like that.

34:44.390 --> 34:47.310
And email has been sent with the travel plan for.

34:47.510 --> 34:51.350
And we provide the variable uh from the email creator.

34:51.350 --> 34:52.910
So here we've got the subject.

34:52.910 --> 34:59.190
So we just put it here and we are doing that because at the end we need to respond to webhook.

34:59.350 --> 35:02.750
So here we just choose first incoming item.

35:02.750 --> 35:05.350
So this entire item and we just say all right.

35:05.390 --> 35:09.350
And email has been sent with the travel plan for this entire date.

35:09.350 --> 35:09.910
All right.

35:10.310 --> 35:11.510
And that's pretty it.

35:11.710 --> 35:19.030
So in general in this video I can say um, I showed you how to create actually set up the entire, um,

35:19.070 --> 35:20.510
I travel agent.

35:20.870 --> 35:23.920
I can say it was a bit complicated.

35:23.960 --> 35:25.920
We had a lot of different steps.

35:26.240 --> 35:28.640
Um, so yeah, um, it wasn't that easy.

35:28.680 --> 35:34.760
However, it's really helpful because afterwards, just look on this entire data, we can just provide,

35:34.880 --> 35:40.520
um, actually an within, let's say, 20s some information about our trip.

35:40.560 --> 35:48.280
And afterwards we get everything here, like resorts, like flights, um, like activities and everything

35:48.280 --> 35:49.080
inside.

35:49.240 --> 35:50.440
That's truly amazing.

35:50.520 --> 35:51.480
I hope you enjoyed that.

35:51.480 --> 35:56.680
Remember, you can download the template in the resources of this material along with this data.

35:56.720 --> 36:00.840
The simple data, rest of the data take place from the template.

36:01.040 --> 36:04.760
From here, take some data when it comes to the HTTP requests.

36:04.920 --> 36:10.320
Uh, from there actually you have them set up, um, or even you can take from here the data and build

36:10.320 --> 36:11.920
the entire automation on your own.

36:12.080 --> 36:14.240
So, you know, feel free to do this again.

36:14.240 --> 36:15.600
Thank you for watching this video.

36:15.640 --> 36:16.880
I hope you enjoyed it.

36:17.120 --> 36:20.480
Um, and with all that being said, I will see you in the next material.
