WEBVTT

00:00.120 --> 00:03.480
Okay, so final integration for today.

00:03.480 --> 00:04.520
We've done so much.

00:04.520 --> 00:07.440
But most importantly structured outputs is so crucial.

00:07.480 --> 00:12.600
I'm super happy that that you've seen it working so, so elegantly.

00:13.000 --> 00:17.080
What we're going to do now is go to another place altogether.

00:17.080 --> 00:23.160
I want to show you a website called Webhook Webhook Site.

00:23.360 --> 00:26.440
You just go to webhook site and this is what you see.

00:26.480 --> 00:28.720
Let me make it a bit bigger.

00:28.920 --> 00:35.360
Uh, this, as it tells you right here, generates free unique URLs and email addresses and lets you

00:35.360 --> 00:38.000
see everything that's sent there instantly.

00:38.400 --> 00:41.320
And so this is something that's great for us.

00:41.360 --> 00:42.760
It's like a web page.

00:42.880 --> 00:45.800
And it has this webhook right here.

00:45.960 --> 00:47.880
Uh, that is a unique webhook.

00:48.080 --> 00:55.240
And we can we can use this, uh, immediately in our code, which we will do to copy it now to a clipboard.

00:55.360 --> 00:57.360
Why am I showing you this?

00:57.480 --> 01:02.820
Well, I want to come back here to to our, n810.

01:03.020 --> 01:05.580
I want to show you another kind of node.

01:05.620 --> 01:06.220
Okay.

01:06.260 --> 01:12.340
So this new node, we're going to want it to be a node that can make a web request to an endpoint that

01:12.340 --> 01:15.580
we've got running this endpoint that we just looked at there.

01:15.860 --> 01:19.060
And we don't want to use like a pre-baked node for this.

01:19.100 --> 01:20.380
We want to do our own.

01:20.420 --> 01:22.300
It's one of these generic types of node.

01:22.300 --> 01:25.460
You remember we had a generic webhook node that was for us to be triggered.

01:25.460 --> 01:27.540
This is the one for us to call an endpoint.

01:27.580 --> 01:29.100
And I told you a few times what it's called.

01:29.100 --> 01:29.980
Do you remember what it's called.

01:29.980 --> 01:32.260
It's called HTTP request.

01:32.300 --> 01:32.860
There it is.

01:32.860 --> 01:37.420
It's just a generic node to make an HTTP request to an endpoint.

01:37.540 --> 01:41.700
So that's what we want to do I'm going to make I'm going to make a Post request.

01:41.700 --> 01:44.340
This is the method that can be get post and a few other things.

01:44.620 --> 01:48.140
The URL is going to be this thing that we just copied.

01:48.140 --> 01:49.900
It's that URL right there.

01:50.300 --> 01:52.700
And I want to send a body.

01:52.940 --> 01:54.860
And now you can choose some different things to send.

01:54.860 --> 02:00.900
I want to send JSON, I want to specify the body not using the fields below, but just using some JSON.

02:01.240 --> 02:05.280
And I want that that to be an expression and the expression.

02:05.280 --> 02:06.960
I want it to be this stuff over here.

02:06.960 --> 02:09.080
I want it to be the data from right here.

02:09.120 --> 02:10.080
Drop that in there.

02:10.960 --> 02:12.160
JSON data.

02:12.200 --> 02:14.240
And there is an example of it.

02:14.400 --> 02:15.000
Okay.

02:15.320 --> 02:16.160
That's cool.

02:16.160 --> 02:18.120
This is this is all set up nicely.

02:18.160 --> 02:18.960
Here it is.

02:19.160 --> 02:21.120
So again this this is what it looks like.

02:21.120 --> 02:22.200
This is the web page.

02:22.360 --> 02:24.560
And it tells you that this is the unique URL.

02:24.800 --> 02:29.200
I can I can click here for example, to call this URL just to show you what it looks like.

02:29.240 --> 02:33.040
Let me do that okay I press open a new tab I do that.

02:34.360 --> 02:34.800
Here we go.

02:34.840 --> 02:35.960
It opens it right here.

02:35.960 --> 02:41.000
This is what it's like if you hit that that link, if I come back here, you'll see that it's just shown

02:41.000 --> 02:42.040
that someone called.

02:42.040 --> 02:42.600
It was me.

02:43.000 --> 02:46.920
Someone called this this web page with a get.

02:46.920 --> 02:47.880
And there it is.

02:47.920 --> 02:48.480
And now I can.

02:48.480 --> 02:50.600
I can get rid of it by exiting that out there.

02:50.640 --> 02:52.080
We don't care about that.

02:52.120 --> 02:53.360
And remove that web page.

02:53.360 --> 02:54.440
That's what triggered that.

02:54.440 --> 02:55.560
If you're if you're not following.

02:55.760 --> 02:57.360
And now go back here.

02:57.400 --> 03:00.440
Now it's time for us to run this and see what happens.

03:00.440 --> 03:02.140
Okay, I open chat.

03:02.260 --> 03:05.060
Uh, I'm going to take the same message again.

03:05.380 --> 03:06.300
Copy that.

03:06.700 --> 03:07.740
Clean this up.

03:07.940 --> 03:09.340
Paste in that message.

03:09.460 --> 03:10.420
Off it goes.

03:10.580 --> 03:11.620
Everything happens here.

03:11.620 --> 03:15.020
Let's turn back here and see what happens here as we wait.

03:15.420 --> 03:19.300
We know that things are running over on the, uh, in and land.

03:19.300 --> 03:22.180
We're hoping to be hit, and we've just been hit.

03:22.260 --> 03:22.940
That wasn't me.

03:23.100 --> 03:23.980
We just been hit.

03:24.100 --> 03:26.380
And you can see that it's a post.

03:26.380 --> 03:27.460
It's come in.

03:27.460 --> 03:35.180
And here is all of the content that came in that came straight from N810 and from deep seek and from

03:35.180 --> 03:35.980
deep seek.

03:36.180 --> 03:39.700
Producing structured outputs so crucial.

03:39.740 --> 03:40.740
Go back over here.

03:40.740 --> 03:43.860
You can see that everything has run and has been successful.

03:43.860 --> 03:49.820
And that is to show you the the generic HTTP request node in action.

03:49.860 --> 03:51.220
We have success.

03:51.220 --> 03:54.940
So just to clean this up and show it there in all of its glory.

03:55.220 --> 03:57.540
That was a nice accomplishment to do.

03:57.540 --> 03:58.220
A quick recap.

03:58.220 --> 04:05.240
We've got a chat that's going into an AI agent that AI agent has open router going to to deep seek.

04:05.280 --> 04:09.400
It's got a system prompt set saying hey you have to produce search queries.

04:09.840 --> 04:10.640
Search query.

04:11.000 --> 04:12.680
It's got simple memory as always.

04:12.680 --> 04:17.160
And then it's got the structured output parser because we turn that on.

04:17.400 --> 04:23.480
And as a result of that, whatever comes out of this AI agent will be JSON that will conform to that

04:23.480 --> 04:24.040
spec.

04:24.200 --> 04:32.160
And we're pumping that JSON into a query we're doing with Firebase calls, Vicryl, which is uh, able

04:32.160 --> 04:35.560
to to search the internet and collect that information.

04:35.560 --> 04:37.960
And the JSON that comes out of that.

04:37.960 --> 04:45.520
We are then using a generic HTTP request node, and we have that posting to an endpoint on the internet.

04:45.520 --> 04:51.000
And that endpoint is an endpoint provided by the lovely convenient site webhook site, which with no

04:51.000 --> 04:57.720
credentials, no login, nothing allows you to post things and shows you right away what you can do,

04:57.760 --> 05:00.480
gets and posts and see them appearing here immediately.

05:00.640 --> 05:02.500
Uh, which which is what we did.

05:02.540 --> 05:06.660
And that is how the web search is displaying right here.

05:06.860 --> 05:08.620
Well, what a day it's been.

05:08.660 --> 05:14.500
We did three big integrations, first of them with Google Drive, which was really a sort of 2 in 1

05:14.500 --> 05:17.860
because we we did a Google Drive trigger to see files that were changing.

05:17.860 --> 05:22.700
And then we also did the the Google Drive drive download so that we could read in a file.

05:22.900 --> 05:30.220
Uh, we, we then also did the fire crawl integration so that we could search and look at search results

05:30.220 --> 05:31.980
of doing doing a web search.

05:32.180 --> 05:32.860
That was a big one.

05:32.860 --> 05:36.580
It was API key based, which meant it was quite easy, but it's very important one.

05:36.580 --> 05:42.460
And then we did the generic HTTP request, which we used to post results to a web page that we could

05:42.460 --> 05:43.100
access.

05:43.140 --> 05:49.900
Just a nice, quick, easy example of how you can use the generic HTTP request, much like we use the

05:49.900 --> 05:58.780
generic webhook one in previous, uh, and I guess last week to get the 11 labs webhook in uh, and

05:58.780 --> 06:01.820
so that that concludes the three big integrations.

06:01.920 --> 06:05.360
but while we were doing it, we also did some core learning as well.

06:05.400 --> 06:10.760
Today should have been like half yellow, half purple because we did structured outputs so crucial.

06:10.800 --> 06:15.160
I know I keep going on about it, but people, people that know structured outputs, you'll be agreeing

06:15.160 --> 06:15.400
with me.

06:15.400 --> 06:17.680
You'll be like, yes, it really is that crucial.

06:17.720 --> 06:20.280
It's fantastic that we've covered that as well.

06:20.280 --> 06:23.640
So you now know all about structured outputs.

06:23.640 --> 06:25.720
And we also did that that file extract things.

06:25.720 --> 06:28.840
You also know how to how to read in text from a PDF.

06:29.000 --> 06:32.200
Another very useful feature to know about.

06:32.400 --> 06:37.920
And so with that we wrap up the Advanced Integrations day.

06:38.120 --> 06:46.640
And now the path is set for us to get to MC, which is all the rage everyone wants to know about MCP.

06:46.680 --> 06:50.120
And luckily you will know about MCP because we're going to cover it tomorrow.

06:50.480 --> 06:55.920
And before we get there, we should take joy in the fact that you are now 80% on your way to being a

06:55.920 --> 07:01.000
pro, 80% of the way there, there's just 20% to go.

07:01.240 --> 07:02.840
I can't wait for tomorrow.
