YouTube Content Researcher and Trends Tracker 📊
Antonio Santos
3 days ago181 views
Transcript
00:00
I'm going to teach you how to set up this YouTube content researcher and trends tracker from scratch with N8N and Tube Lab and a bunch of AI in the mix.
00:08
Let's start from a brand new workflow.
00:09
So the first thing you need to do is go here to the bottom left corner to the settings.
00:14
Then click on Community Notes and you need to install the N8N notes tube lab package.
00:22
Okay, Click here.
00:23
I understand the risks.
00:24
Now let's go to the fresh brand new workflow.
00:27
And here on the bottom right corner you need to import from file and use the JSON that I've shared with you or it's on TubeLab's documentation as well.
00:37
Now we have the full workflow and as you can see we have this little warning that means we need to set up some credentials.
00:44
And the first credential that you need is TubLabs API.
00:47
And then you also need I'm using open Router to get my models and I will explain later.
00:53
And you need an API for that as well.
00:55
So you need to go to tubelab and then go here to the Developers tab.
00:59
And here you need to create an API key.
01:01
So I'm going to create just a simple N8N test API key and then you can copy this API key.
01:07
By the way, I'm deleting this API key so if you want to try and copy it, it's not going to work.
01:13
Now just click on any of tublabs nodes and here you need to create a new credential and just paste your key here and hit save and it's done.
01:23
It's working.
01:24
Now all of TubeLabs nodes will be working.
01:27
you need to go node by node and just click here on TubLab Account 2.
01:32
That's because I already have the credential of course.
01:35
But you need to update all TubeLab nodes to use these credential that you've just created.
01:41
Now let's set up the AI credentials.
01:45
So I am using OpenRouter as my AI model provider and I'm using OpenRouter because it allows me to use any model I want.
01:55
I just need to set up here what model I want to use.
01:57
And now I can use Gemini, I can use Cloud, I can use OpenAI ChatGPT, models and all within my workflow.
02:05
So I don't need to set up multiple I guess AI nodes.
02:09
For example here I'm using Gemini 2.5 flash for the channel analysis because it's an extremely smart and ship alternative and the Channel analysis is not critical.
02:19
And again here on the analyze videos we need to set up our account.
02:22
Again, on the analyze videos we need to.
02:25
I'm still using Gemini 2.5, but now for the reports.
02:28
Which is, which is the more essential part of the task.
02:31
I'm actually using Claude Sonnet.
02:33
Okay, which is a much smarter model, more expensive, but I'm only using it on this critical phase.
02:39
But first let's go to open router.
02:41
You need to add some balance.
02:43
Something like $5 is enough.
02:44
this is very, very cheap to run.
02:47
Okay.
02:47
It's going to cost you like a few cents per run and it's going to do every week.
02:51
So it's like less than $5 per month to have a YouTube code researcher.
02:55
But anyways, here you need to create an API key.
02:57
I'm going to just call this test API key.
03:01
I'm going to set the limit of $5 per month and reset every month.
03:06
And now I'm going to copy this key again.
03:08
I'm going to delete this key.
03:09
So don't try and copy it.
03:11
Then you can just copy and paste here the API key.
03:13
And here for the base URL you actually need to use OpenRouter's base URL.
03:17
And for that you need to use OpenRouter AI API version 1.
03:22
And now we've set up our AI credentials and it's good to go.
03:25
So we need to do the same thing probably for all of the other AI, I guess nodes.
03:33
Let's just update all AI nodes.
03:35
So it's these nodes that have the OpenAI logo.
03:37
And now we've set up the discord, node.
03:40
And that's again very simple.
03:42
All you need to do is go in here, and you need to set up your webhook.
03:47
Okay, so here on the credential for webhook, go ahead and create new credential.
03:52
And we need to paste in here the webhook URL.
03:54
And how do you get this?
03:56
You need to go to a server that you are the admin, then go to the channel you want to send the report to integrations and create here new webhook.
04:05
That's it.
04:06
Then go in here and copy webhook URL and paste the webhook URL right in here.
04:12
That's as simple as it gets.
04:14
And everything is set up and this is going to run if you enable it in here.
04:20
Now this is going to run every week for you.
04:23
And if you want to give it like a test run, you just need to execute the workflow so the first thing you need to do is go in here to get videos, and you need to have here your channel ID.
04:35
Okay.
04:35
And how do you get the channel ID?
04:37
You can just go to toolab.net video extractor, and paste in here any of your video URLs.
04:44
Okay.
04:45
For example, here I'm pasting this random music, URL.
04:49
And if I extract video data here, I have the channel id.
04:52
So just copy that, do this with one of your videos.
04:54
Okay.
04:55
And then you can go to the workflow and paste in here your, channel id.