when producing YouTube videos we all need fresh content ideas in this video we'll run through with no code tools how we generate a 100 trending YouTube ideas in your niche in under five minutes we use na then as our no code tool and if you can Master this you can produce timely engaging content that continues to resonate with your audience and boost your channel growth so we're going to start today with a template on the n81 templates Library if you haven't checked out the N templates Library I definitely recommend it there's a ton of really
cool templates that are really useful completely for free so you they got 1087 you can filter by things like AI Etc and today we're looking at one specific template that helps us find YouTube trending ideas based on our Niche so this one was created by Leonardo Gregorio and what we're going to do is show you a full run through of how we would use this template and you can actually access this template for free exactly like I'm doing now so if you haven't used one of these templates before there are several ways to import it
to your n10 environment um which I'll show you in a second but first on these templates what you can can see is a general description down here of how the template is meant to be used so I'll leave that for you to run through so what we have here is a template created by Leonardo Gregorio and he's created this template that's completely accessible and free to all of us and we're going to go and run through the setup and show you how to set this up and actually what results it's so there are several ways
to import an na10 flow into your workflow environment so the way that I usually use is if we click on use workflow down here we can copy the Json directly so that's now on our clipboard I'm going to open up my test workflow here and actually all I'm going to do is copy and paste this flow in here whenever you do this what you'll see immediately these red triangles and what that indic Ates is they're missing some sort of information which is usually credentials because credentials don't carry over in the Json um naturally because they
are secure and we have credentials saved in our own environment so what I can see from this workflow is we've got a main chat interface where we can open up the chat down here with the chat window and actually chat with this window and I've done some previous chats just to test this out so we'll come back to that in a second we can see we've got an AI tools agent so the tools agent helps us connect to different tools and what he's done here is connect a separate workflow that abstracts out and searches YouTube
for trending items based on our search T so the first thing we're going to do is come into here and open up and connect to our API account so if you don't already have an open AI account we can use a different model as well we can use Claude Etc what you need to do is connect to your open AI account set up an account and put in your API key here I've already got mine set up and what we're using is GT GPT 4 40 GPT 40 mini we've also got a window buffer memory
here so what this tells me is that actually the chat window is going to remember the last five messages we've sent that's a nice easy way to just store memory and then we finally got a YouTube search agent so we go into this you can see it's called YouTube search and the description he's given it here is coolist tool to search for trending videos based on a query and we need to define a separate workflow in which this is is going to call in a second and you can see that it simply just inputs a
search term and it's given an adjacent example here of some value So based on our chat the AI will determine the search term and push it into this separate workflow and send the separate workflow search term and then another value of the niche we're trying to search and you can see that in the tools agent prompt uh we've got some helping information that suggests this also so you help YouTube creators find trending videos in a specific Niche verify if the user informed a niche before doing anything so basically look for the niche in the message
if not ask them what Niche after what type of contct user might produce use the YouTube search tool up to three times with different Search terms based on the user's content type of Niche so if we wanted this to run 10 times 20 times Etc all we do is just amend this here and we could get for example 100 outputs if that doesn't exceed the maximum outputs of this tools agent but you can see that we can search for a lot more data than it is doing now all it's doing is calling this flow several
times to find videos that are trending in that is tool will answer with a list of videos from the last two days so you can see there super relevant it returns a list of jsons covering each video's ID view count like count comment count so a load of information that's really interesting for us as YouTube video creators because we obviously want to find stuff that's really engaging and hitting and resonating with an audience you should then proceed to understand the data received and proide pro provide the user with insightful data of what could have been
trending so it will return the YouTube video link as well as key information but also a summary at the end of what's trending in order to help us understand what content or what content ideas to pursue so this is the main workflow and actually it's all just operated by a chat interface this is going to call a subw workflow so with the AI tools agent you can connect various tools and all that's happening here is we've connected or he's connected to the YouTube search tool so if I click on tool here on the right hand
side I just show you here on the right hand side we've got call na10 workflow tool um we can access these predefined nodes but here actually we're just calling a node that's not predefined there's no YouTube node in the tools here so we're going to call an N workflow and that's all that has been done here and we've given it a description name Etc however the one important thing here is that because it's calling another workflow we need to take this section and actually move it to a completely new workflow and for test sake I've
called this test two and now I want to tell this tool that it's going to call test two workflow so that will now know which workflow in the N1 environment so cool and if we go to test two we've got to set up a few so if I click inside the YouTube credential here what I can see immediately is it's not got access to a search ter and one thing I know from practice of calling other workflows is we need to open up the nodes here and get the execute workflow trigger so that this workflow
can be called by our tools agent so this just says that this workflow is is able to be called by previous workflow and the tools agent in the previous workflows knows that it's calling this workflow the second thing we're going to do is go into this YouTube node here so I've already got a YouTube uh node account set up if you don't already have a YouTube account set up then what we're going to do is you're going to go to Google credentials and similarly if you've already set up Gmail or G drive or any of
those flows on here it's fairly simple so if you go to console. cloud.google.com then this will bring up your cloud and if you've previously connected using n you'll be familiar with this it's usually quite cumbersome for the first time but not for the second time so on enabled apis and so if we go to the credentials screen over here you can see that we've previously set up these oor clients if you don't have one of those set up you can just go up here create credentials one of those on the right hand side we're able
to see our client ID and our client secret if we hit download action I've already done that so I'm not going to do that here but one other important thing if you not used YouTube before you need to go to enabled apis and services search up here for YouTube YouTube and it will come up with a few different uh data apis what we're looking for is YouTube data API V3 click on that as you can see I've already got it enabled but if you don't then you can enable it here so what we're going to
need is the API key to access this for a later node so if we go to manage we go on to credentials you can see we're back at our credentials screen but actually what we're going to do is just create a new credential over here see if I zoom in create credentials API key I'm just going to zoom out and that's just going to create an API key for us that we're going to be able to access this with so if we copy that to clipboard and obviously I'll remove this afterwards we go back to
our YouTube credential as I've said if you not set this up before you just update your credential here with your client ID and your client Secret that should work and the second node that we need to update is this HTTP request you can see all the other requests do not have any credentials but in here we've actually we're calling the Google API for YouTube video data and we're calling it with an API key here which we need to replace with our own API key so for demonstration sake I'll put it here but this is actually
bad practice to put it in the query parameter directly because you're exposing it to the web if you want to know how to actually do this using the authentication method to ensure your API Keys encrypted then you can watch my other video on this but in short you can go to generic credential type add a query or and then put in the details there but for the sake of this demonstration I'm going to remove the API key afterwards anyway you can see that this grabs the idea of the video it grabs content details Snippets and
statistics which will enable this to run so just going to save that and it's just then grouping the data and saving the data to memory so that our other workflow chatbot can actually access that so if we go back and we now try run this I'm going to go down here with there's a chat window sorry I'm having to zoom in so in the chat window I'm just going to say find me videos on NN AI agents because that's a niche that I'm interested in I'm going to search for that and you can see that
as it activates the AR tools agent has taken in that query and it's understood that it needs to query the YouTube search so it's already done it once you can see with the one and it will probably do it two more times given we told it to do it three times so we'll wait for the response on that and then we can have a look at the response great so it's now come back with a response and I can see that it's now working correctly so it says I found some trending videos related to NN
AI agents and the first one is Leon vanzile and you can see it links Channel directly it's got 2,235 views 149 likes and then gives us a description that it's about building a personal AI assistant using n10 and telegram without coding so actually immediately we can see that if this video is performing well then maybe I need to create a video around a personal AI assistant connecting n10 and telegram we've then got AI Workshop which has 1,783 View seven comments and again another description we can go into more detail and actually obtain more and more
information with this but this is a really good start of finding ideas and then oh amazingly it's actually pulled up one of my videos about connecting to any API using AI in two minutes yeah it's linked to there 18 views a guide on how to quickly connect to apis using n and AI tools and that's exactly what it's about as well and then it's even give us a bonus here number four and then below that we've actually got all the links to the videos but then specific information around this video so overall it's given us
some really good ideas in our Niche really easy to set up great template that you can find back on na10 templates really good template that speeds up the idea creation process by maybe three five times and gives us really relevant videos that are trending on so this is a great template thanks Leonardo for pulling that together