Okay, so final integration for today.
We've done so much.
But most importantly structured outputs is so crucial.
I'm super happy that that you've seen it working so, so elegantly.
What we're going to do now is go to another place altogether.
I want to show you a website called Webhook Webhook Site.
You just go to webhook site and this is what you see.
Let me make it a bit bigger.
Uh, this, as it tells you right here, generates free unique URLs and email addresses and lets you
see everything that's sent there instantly.
And so this is something that's great for us.
It's like a web page.
And it has this webhook right here.
Uh, that is a unique webhook.
And we can we can use this, uh, immediately in our code, which we will do to copy it now to a clipboard.
Why am I showing you this?
Well, I want to come back here to to our, n810.
I want to show you another kind of node.
Okay.
So this new node, we're going to want it to be a node that can make a web request to an endpoint that
we've got running this endpoint that we just looked at there.
And we don't want to use like a pre-baked node for this.
We want to do our own.
It's one of these generic types of node.
You remember we had a generic webhook node that was for us to be triggered.
This is the one for us to call an endpoint.
And I told you a few times what it's called.
Do you remember what it's called.
It's called HTTP request.
There it is.
It's just a generic node to make an HTTP request to an endpoint.
So that's what we want to do I'm going to make I'm going to make a Post request.
This is the method that can be get post and a few other things.
The URL is going to be this thing that we just copied.
It's that URL right there.
And I want to send a body.
And now you can choose some different things to send.
I want to send JSON, I want to specify the body not using the fields below, but just using some JSON.
And I want that that to be an expression and the expression.
I want it to be this stuff over here.
I want it to be the data from right here.
Drop that in there.
JSON data.
And there is an example of it.
Okay.
That's cool.
This is this is all set up nicely.
Here it is.
So again this this is what it looks like.
This is the web page.
And it tells you that this is the unique URL.
I can I can click here for example, to call this URL just to show you what it looks like.
Let me do that okay I press open a new tab I do that.
Here we go.
It opens it right here.
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
that someone called.
It was me.
Someone called this this web page with a get.
And there it is.
And now I can.
I can get rid of it by exiting that out there.
We don't care about that.
And remove that web page.
That's what triggered that.
If you're if you're not following.
And now go back here.
Now it's time for us to run this and see what happens.
Okay, I open chat.
Uh, I'm going to take the same message again.
Copy that.
Clean this up.
Paste in that message.
Off it goes.
Everything happens here.
Let's turn back here and see what happens here as we wait.
We know that things are running over on the, uh, in and land.
We're hoping to be hit, and we've just been hit.
That wasn't me.
We just been hit.
And you can see that it's a post.
It's come in.
And here is all of the content that came in that came straight from N810 and from deep seek and from
deep seek.
Producing structured outputs so crucial.
Go back over here.
You can see that everything has run and has been successful.
And that is to show you the the generic HTTP request node in action.
We have success.
So just to clean this up and show it there in all of its glory.
That was a nice accomplishment to do.
A quick recap.
We've got a chat that's going into an AI agent that AI agent has open router going to to deep seek.
It's got a system prompt set saying hey you have to produce search queries.
Search query.
It's got simple memory as always.
And then it's got the structured output parser because we turn that on.
And as a result of that, whatever comes out of this AI agent will be JSON that will conform to that
spec.
And we're pumping that JSON into a query we're doing with Firebase calls, Vicryl, which is uh, able
to to search the internet and collect that information.
And the JSON that comes out of that.
We are then using a generic HTTP request node, and we have that posting to an endpoint on the internet.
And that endpoint is an endpoint provided by the lovely convenient site webhook site, which with no
credentials, no login, nothing allows you to post things and shows you right away what you can do,
gets and posts and see them appearing here immediately.
Uh, which which is what we did.
And that is how the web search is displaying right here.
Well, what a day it's been.
We did three big integrations, first of them with Google Drive, which was really a sort of 2 in 1
because we we did a Google Drive trigger to see files that were changing.
And then we also did the the Google Drive drive download so that we could read in a file.
Uh, we, we then also did the fire crawl integration so that we could search and look at search results
of doing doing a web search.
That was a big one.
It was API key based, which meant it was quite easy, but it's very important one.
And then we did the generic HTTP request, which we used to post results to a web page that we could
access.
Just a nice, quick, easy example of how you can use the generic HTTP request, much like we use the
generic webhook one in previous, uh, and I guess last week to get the 11 labs webhook in uh, and
so that that concludes the three big integrations.
but while we were doing it, we also did some core learning as well.
Today should have been like half yellow, half purple because we did structured outputs so crucial.
I know I keep going on about it, but people, people that know structured outputs, you'll be agreeing
with me.
You'll be like, yes, it really is that crucial.
It's fantastic that we've covered that as well.
So you now know all about structured outputs.
And we also did that that file extract things.
You also know how to how to read in text from a PDF.
Another very useful feature to know about.
And so with that we wrap up the Advanced Integrations day.
And now the path is set for us to get to MC, which is all the rage everyone wants to know about MCP.
And luckily you will know about MCP because we're going to cover it tomorrow.
And before we get there, we should take joy in the fact that you are now 80% on your way to being a
pro, 80% of the way there, there's just 20% to go.
I can't wait for tomorrow.