In this video, we'll be talking about how we can connect perplexity with Nadine to make your research
ten times better.
So we'll be setting up perplexity with our A agent.
I will show you how to set up perplexity node and even how to set up HTTP request.
And what we'll set up in this video simply looks like this.
So we've got firstly a agent that connects to perplexity.
And here OpenAI model, there the perplexity node and HTTP request.
So firstly maybe let's start with a agent.
So to begin with let's just pick our trigger which will be on chat message.
So whenever we've got the message we trigger this automation.
And right away we connect it with a agent.
So that's truly amazing.
We can connect our agent with ChatGPT model and also perplexity.
And this is the combination that allows us to make really professional and highly interesting content
based on the best research available.
Because we need to remember I'm actually perplexity is the best tool out there on the internet to make
a research.
And finally, we've got the opportunity to use perplexity, because actually today at June 13th, um,
2025.
So if you are watching this video right now, perplexity, insight and then was released just one day
ago or so.
So yeah, it's pretty new tool and I think it will gain a lot of popularity, um, within the weeks,
months or even in long term.
But now let's set up our chat model.
So for this case OpenAI, we can choose GPT four or mini, which is really affordable and pretty effective.
So for this case GPT four mini.
And now when it comes to the tools, we can click on this plus and add perplexity.
So we see this perplexity tool.
And remember actually it's available with the newest update.
So if you can see that probably you don't have the update like in your cloud.
Nevertheless let's click on the perplexity tool.
And then we need to connect our credential.
So let's click on Create New Credential.
And now we need to provide our API key to get your API key.
Move on to perplexity I.
And in the left bottom corner click on an account and click on my account.
After you do this here you should see API keys.
Click on it and then just click on Create key.
After a while you've got your key.
You can just copy it.
Also remember here on clicking by clicking on these three dots, you can just delete it.
And for sure after this video I will do this.
So also remember about your security if you are for an example.
Um, like yeah, I'm showing someone the automation or just you download the JSON file.
So then you just get here your API key.
So remember to remove it.
Let's move on to Na.
Then we can just paste it here.
We can save it.
And then we are ready to go.
We can just close it.
And now in general the last thing we need to do.
We need to set up our text.
We've got this option that allows us to ask AI to define this parameter.
So we can click on it, and then we are ready to go.
In general we can provide some message inside.
Yeah.
Inside our automation.
So for an example what are five the best AI tools for video editing.
And 2025.
When I run it you see what happens.
Actually it uses ChatGPT.
Then it uses perplexity to do a research about what we asked, and then it will just go back to ChatGPT
and it will create for us a response.
So this combination is highly, I can say effective because from the one side we've got our ChatGPT,
which is a huge LLM model.
This is so actually, you know, you know, ChatGPT.
And on the other side we've got perplexity that does the entire research.
So you can combine these two tools and you will see what happens actually here.
So we need to wait a few seconds more and hopefully the response will be created.
So I will show you again how it performed.
So after the process is done, I can click on a agent and here on logs.
So we've got the first step which is OpenAI model.
Then it came to perplexity and it asked, all right what are five the best tools for video editing and
perplexity did the entire research.
And after that we've got our response from ChatGPT.
That's highly professional.
And again, we connected perplexity with OpenAI.
So this is how we connected perplexity with a agent.
But there are two ways left how we can do this.
So by the node or HTTP request, the next thing we'll cover is how to connect perplexity with its node.
So first things first let's add the new node and set up the trigger.
Or even just add the node which will be perplexity.
Okay, we can just use perplexity message, a model, and then in general we can connect our credential.
So as we've done it previously.
So there is nothing really secret.
It's nothing hard.
But for now we can need to add the text.
So let's say I will take this, um this chat message node, I will connect it and then um, here, let
me actually move it around right there.
Um, just yeah.
Move it here and provide my chat input so I can provide the chat input.
And then whenever I type any message.
So, um, give me five marketing tools and 20, 25 then, um, you know, it processed with perplexity
and it gives us the response.
Um, so actually, by this way, we actually not using um, ChatGPT, but only perplexity to give us
a response.
So it's less, I can say, powerful, um, solution rather than creating a agent because here, um,
yeah, we've got the response, which is actually, you know, not that, um, not that captivating.
We've got different, um, data.
So here, um, we just get the content.
Also, remember, when it comes to perplexity, you've got different models to use.
Um, the models I recommend is Sonar and Sonar Pro, so when you just use it, um, actually for me
it's better.
However, still, um, feel free to experiment.
And the last thing for now for this video will be connecting our perplexity via HTTP request.
So for now, um, even let me take the sticky notes so it looks better.
So we have perplexity a perplexity node.
And now it's time for, um, our HTTP request.
Let's click here.
Add the node pick HTTP request.
So like each method has its own advantages and disadvantages.
Um, for example, with the A agent we are able just to connect perplexity with other things.
So you know our a agent that can use multiple different tools like the memory option ChatGPT.
You know like a lot of that.
Um, the note that actually, you know, um, there we can pick different models and also here, um,
so I can say like the note is better in different circumstances.
Let's say for an example, you've got your external, um, ChatGPT or previous node that is an agent
or so, then you can put the content inside perplexity node and it works great.
So I can say again it depends from the circumstances.
Um, HTTP requests I can say is the method that we are using like an end users, um, when um, like
the node perplexity node, um, wasn't available for us.
So remember you can use different actually applications that even don't have them.
Um, internal connection inside Nadine.
Uh, for that we've got HTTP request.
And in this course we are setting up a lot of HTTP requests, um, because it's very important to know
how it works.
But let's move on and choose the method which is post, and I prepared for you the file with all of
the information.
So here, um, actually you can see you've got the URL, you can just copy it or just simply always
I will I will just recommend you to go ahead to perplexity documentation, perplexity API documentation.
And here just check the data.
You know, so their perplexity home.
Um just click on API reference and you've got all of the information actually what you need to exactly
set up.
Um, what's the authorization, how to do this.
Um, so for the simplicity, I put everything in this file.
However, if you want to learn sometimes, you know, like the things how to do some specific notes,
how to use them, uh, just play around with the documentation.
It's really useful.
For an example, we'll be using JSON and we just take this data from here.
Um, it's pretty easy.
Um, I think the documentation and most APIs, um, is pretty comprehensive.
So again, feel free to use it.
But for now, what we can do.
Let's pick the authorization authentication.
I'm sorry.
Here we had we have actually no.
We click on none.
We send headers and there we provide authorization.
Um, we type bearer.
And by the way, you've got everything explained here.
You can download it in the resources of this material.
So with the bearer you need to provide your API key and move around right there.
And again just paste API key API key here.
Send the body and pick JSON using JSON and just paste the code I provided for you.
So inside the JSON you've got it.
You can put it here.
And remember um, we've got the expression let me show you.
Remember just instead of like we've got the system message and the user message, the user message is
your prompt and the system message is kind of the system instructions.
Okay.
And remember inside there in the system message you can put anything you want.
So as a default it's it's be precise and concise.
And when it comes to the user message we've got how many stars are there in our galaxy to make it.
Um actually as a variable.
Um, let me show you.
You can pick the chart.
So there, just pick the chart, connect it with your HTTP request and inside, uh, your content,
just put your variable instead of this text.
So just put it here.
So we've got the chat input.
All right.
So then when you do this you can execute the step.
And it should run your HTTP request and give you the response.
So you've got the data.
You've got the content.
Um even you've got you know you've got the search results.
So the exact sources and by this way you connect perplexity insight and then by three different ways.
I hope you enjoyed it.
Thank you for watching and I will see you in the next video.