All of us know that staying up to date with the latest news from our industry is really important,
whether it's healthcare, technology, AI, or any other industry.
That's why in this video, I will show you how to create a daily news agent that triggers every day
at 10 p.m. and gives me the latest news from I am actually field.
So in general, now let me test the workflow and see how it works.
So so as you can see right there, we've got two actually website to take the articles.
From there we merge the entire data and then we give it to our a new summarizer a agent that creates
for us the response that later we send via telegram.
So now let's wait for the message right here.
It takes approximately several seconds and now just look on it.
We've got the latest news about A.I. and there even we've got the links.
When I click on some link, for example, this one, I will be redirected to the page where I can find
the article.
You know all of the data about this entire topic.
And the best part is actually you can create.
And let me actually switch.
I'm here to my agent.
And so the best part is we can actually change the theme.
So in general I have my actually a news.
Nevertheless for example here let me show you.
I had the finances.
So there what we have is I hover here.
We have the finances probably.
And technology still.
I let's go over there.
And there I've got the finances.
So money.
And there what we have else.
Um, yeah.
Everything about the finances.
So the choice is yours.
You can take this agent and just here inside.
Inside the query.
Um, afterwards.
Um, in this video, I will show you how to do this, and you can change the specific category.
So there, um, actually, um, you know, the query you're searching for, for me, it's I however,
again, you can pick the healthcare and finances or anything you want.
Maybe the latest news.
And this material, I will show you how to create this entire agent step by step.
Um, it's pretty simple.
It's not that complicated.
So with all that being said, um, I think now, you know, um, how it works.
So let's dive in.
So let's start with the trigger.
So we've got here on a schedule.
So there we would like to indicate that we would like to trigger this automation.
So get the news every day at 10 a.m..
So let's go over here pick 10 a.m..
And let's say you start here the work and like then like then um, and actually you get the latest news.
So you see if something is important, let's test this step.
All right.
And now let's go right away to actually our first path.
We'll have two paths later.
We'll merge them together.
However we would like to have um yeah two different HTTP requests.
So let's go over with the HTTP request.
And the first platform we'll be using.
Actually, here, let me show you.
I will have two HTTP requests, so let's pick two of them.
And in general we'll be using two platforms.
We'll be using two platforms.
You can choose between 1 and 2 three four.
As you wish.
For me two platforms to get news is pretty enough.
You can even continue with the one.
It's your choice.
All right.
So the first platform will be using is news.
And here um, inside our file, um, you can read all of them information how to set it up.
So we've got news articles and then we've got the method which is get URL.
We need to have that for now.
So we've got a method which is get.
Let's go over here.
We've got the URL of course.
And now what we need to do.
Let's go over here.
We need to send query parameters.
Um so we need to provide some parameters.
Let's go over to genius um API.
Um, and here actually, let's go over here.
You need to just sign in.
Um, actually sign up.
Um, so let me do this very fast.
Um, I can log into my account.
All right.
I'm here.
I've got my API key.
Of course, later I will change it.
However, there you've got, um, a lot of free credits and what you can do, you can go over to the
documentation, and there you've got all of them, as usual with the HTTP requests.
You've got all of the data you need.
So here we've got the parameter names.
We've got the query.
And there what we do we use the queue.
And we specify actually the keywords to find the new articles.
All right.
So here just we need to type even healthcare.
Let's say I maybe um football.
As you wish.
Like you know um so inside this first parameter so queue, you search for the value.
For me, it's I, We can add another parameter and even we can go over here.
We can provide the language.
So two letters actually for the specific language I can go over and open the supported languages.
And here see actually I've got the Arabic Chinese up here English French.
All right.
So simply I need to go over there and type the lung the next parameter and type English also inside
the file.
Actually here you've got everything explained.
So we've got actually three parameters.
And the third parameter is API key.
So we've got our API key.
So we can go over with the name um actually API key.
And now go over to the website genius.
And there um go over to uh where do we have that.
Uh, we can go over to the main page, go over to the dashboard and here pick our API key.
All right, it's here.
Let's go ahead and provide a value.
And now I can rename it as Get Genius.
Articles.
Okay.
Let's rename it.
Let's test the step up.
All right.
So we've got it here.
Article zero title a Billie Eilish.
Lots of fake images.
And here the next a lot of different you know um yeah a lot of different resources we can use afterwards.
So it's pretty cool.
Um, so we've got our first HTTP request set up.
Let's go over to another, uh, which is connecting to another platform with news.
Actually here the choice is yours.
You can pick one HTTP request, one platform to provide the news or even two.
The second one is news API.
Um, so this um yeah website.
we choose the method which is get.
We pick the URL.
This is of course inside the documentation of news API.
However, to make it more comfortable, I gathered everything.
So you can just copy and paste.
As simple as that.
All right.
Um, let's go over here, provide the URL.
Um, and now what we need to do, we need to send query parameters again.
Um, so let's click send query parameters.
And now of course we can go over to um news API.
Of course.
Um, to the documentation.
Um so here let's get API key.
Actually go over to the documentation I'm sorry.
And there of course.
Um, when you go over um, let's go over here.
Authentication.
Uh, you've got all of the data, all right.
You've got endpoints, you've got authentication, you've got everything.
So how you should set it up.
Yeah.
Nevertheless.
Let's go over there and take our parameters.
The first parameter is q we provide again.
So this is the same action name as we had previously for the previous and website.
So we've got the name which is Q this is this this means query.
Uh we pick the value which is I.
Then we've got the language.
Previously we had the length actually the length this entire, um, part of the word.
Um, then we've got sort by so published page size.
And at the end we actually send headers and we provide our API key.
So let's go ahead with the first parameter which is um actually the name is the Q.
This query.
Let's go over with I.
Then we've got the language language it's English.
Let's provide the first parameter which is sort by.
And here we want to pick the value which is published at okay.
And then what we have we've got the page size.
Um Um, let's pick the value 20.
And then what we do is send headers.
So here we've got a name which is x API key.
All right.
We need to go over straightforward to API.
And there we go with our account get our API key and just paste here and see if if everything is properly
set up let's even rename it.
So get news um news API articles okay.
Let's rename it.
Let's test the step.
Hopefully it works.
Yes.
And of course here also we've got multiple articles first, second, third, fourth.
Um, up to uh, we have up to, let's see, up to even 20 of them.
Yeah.
So it's pretty cool.
Um, let's go over ahead.
So we've got our two HTTP requests.
And now we would like to actually provide the next steps that will combine everything together.
All right.
So let's go over with edit fields.
And there we would like actually we can execute the previous node.
We would like to map the articles.
All right.
Articles um and just combine everything together.
Uh yeah.
And there we've got our articles.
However, now I see that I forgot to change the form because we don't want to have an array.
We would like to have everything inside one variable, which is a string.
Let's test a step now.
So we've got one actually variable every information inside.
And it's totally fine.
Actually, um, it's maybe not that organized.
However, we put this information inside our agent that understands everything.
Um, perfectly.
Okay.
We've got, like, this data in a table even.
Um, so it's totally fine for for our for our a agent.
Um, let's go over ahead.
Just copy this note.
Uh, provide here, and let's execute the previous note.
And now, uh, we've got article string.
Uh, okay.
Um, so let's test the step.
And even we can rename it as, um, articles.
Uh, let's copy articles.
Um, and here articles and one.
That's fine.
Um, even here.
Okay.
Do we have.
No.
We need to run it.
We need to run it also.
Run that.
Nice.
Now, what we can do, we can merge everything together.
So let's pick our merge node.
And there we've got actually two inputs.
Um, let's merge it together.
Um.
It's nice.
Let's run it.
Okay.
And we've got actually our two different items and even we can type, we can select combine.
Of course.
Okay.
Up and together.
And afterwards we've got our two items.
So two fields for articles.
And it's nice.
So we merged everything together.
So um our two paths.
Um let's go ahead.
And now it's the time for our agent.
Even what I can do previously, um, let me go over to my automation that is already set up and pick
my sticky notes so it's better visible.
Okay, let's put it here.
So what we have, um, let's actually do it by this way.
Okay, so here we get the most recent articles, we merge it and we create summaries and we send via
telegram that um, so here I'm just let's pick the model which is OpenAI.
Um it's fine.
Okay.
I like to use this model.
Honestly speaking, I like to use OpenAI model.
Um, even we've got different models.
So here you can just choose.
Actually, let me show you you've got you've got different nodes.
So if I delete it for example this node I can provide another model.
So we've got anthropic so cloud and there you've got Google Gemini open router grok llama.
The choice is yours I like to stick with the OpenAI almost every time.
Yeah.
Now let's go over and rename this agent as a new Summarizer.
Um, correct.
Let's rename it.
Click define below.
And there I want to have either.
I'm actually, um, both.
I want to have the prompt and system message when I go over here, um, to my file.
Let's pick our yeah, our entire prompt and paste here and now actually not here and paste here because
we've got the prompt and we provide there the variables.
So JSON articles and from here from merge node.
Um there also we've got a date um include links like everything explained and even oops.
Uh let's go over to system message and provide the system message.
After let's test the step.
So now it's taking all of the articles, all of the data from our two website, uh, websites.
And then it combines it together, it picks the best content and it summarizes everything.
So it's pretty nice form.
Um, let me show you the telegram.
Um, if you have like, this form, you've got 1 or 2 sentences that describes actually the topic and
you can decide, all right, if it's something interesting or not.
Maybe I'm not interested about that.
Someone can afford a 400 millions in tax cuts.
All right.
I'm not interested in that.
However, here we've got the Pope, American pope, and there something about the money, you know.
So if if he paid taxes, um, there, uh, what we have else we've got other different topics.
So actually you can decide, you can open the link and if you're interested, you can just, you know,
read it.
Um, let's go back to our, um, automation.
So we've got our output pretty nice.
It's cool.
And the last step will be sending that via telegram.
So let's pick telegram.
And here we want to send a message.
Um where do we have that.
So send a text message.
Nice.
Uh, we can send a message operation send send message.
Uh, we would, we would like to pick the chat ID, and now even let me show you, when you are inside
your chat, you can type, um, at sign and get an ID bot.
Yeah, you can get ID bot.
And now here you should have your ID.
When you click, you can copy the ID so chat ID um, even if you have, um, never created telegram
chat bot, you need to do this with the bot father.
Um, inside our course you've got the video that explains everything step by step.
Um, so we can go over here and just know how to do this.
It's pretty simple.
You just go over there.
Actually, you type slash new bot and you actually unfollow all of the steps.
That bot father says, um, let's go over back to our first responder.
Let's provide a chat ID, and now let's provide an output from our a new Summarizer.
Um, so now we can go over straightforward and test the step and see if that works.
And now you can see, yes, we've got it.
Let's see the message now.
It's truly amazing.
So we've got um information about GPT commands.
Yeah we've got here Media tech.
Pretty cool.
Yeah, we can even click on the link.
Let's see.
We can even click here open.
Nice.
And we've got the article.
It's super cool.
Like actually imagine you can take your um specific field here and press it in and create like the chatbot
like agent that.
Exactly.
Um, you know, like extracts for, for you, the most important facts.
For me, it's super useful, especially if you need to be up to date in some specific field, um, of
your expertise or something else.
So we just created that.
However, let me even let's organize it.
Um, even let me show you what we have inside the instructions.
So we select top articles from JSON articles.
Choose the 15 most relevant articles related to AI technology advancements, tools, research, and
applications.
Summarize.
Clearly.
Write in clear, professional and readable language, summarizing the main point of each article and
1 or 2 short sentences.
Actually, I think the maximum length of a telegram message is approximately 4096 characters.
So in general, you need to be aware of that.
Um, that's why here I provided an one to short sentences.
Um, because otherwise you can get the content and it's too long for the telegram message.
Include links.
Um, after each summary, add the articles URL for readers to explore more at the date being the summary.
Um, with today's date a begin.
I'm sorry.
Begin the summary with today's date and in the system message, we've got the sentence about the output
format only return the summary in plain text, no explanations or additional formatting.
Keep the response up to 2000 characters pretty enough.
Um.
It's cool.
Yeah.
And by this way, actually, um, we created the agent that creates for us.
Um, yeah.
A specific, um, a news about the specific topic.
Now, even, um, let me show you how we can change, um, the specific field.
Um, so there, um, we've got I, however, I can go over to what we can do, let's say productivity.
So we search for this keyword productivity.
Productivity.
Um, okay, then I can go over here, uh, provide productivity.
Okay.
Or even let's go over, you know, let's go over with football.
Let's go over with with football.
Um, let's do it football.
And now even we can, uh, we need to change actually, um, a little bit.
And one place, I'm actually one part inside the instructions.
So and we've got choose the 15 most relevant articles related to football.
Football.
Yes, football.
And now what we can do.
Um, let's click here on Test Workflow.
And let me open the telegram.
So we should get actually, um, our news about the football.
And it's pretty simple to change it, to actually adjust our preferences.
Um, still, you can have multiple agents for different, like, different circumstances.
So let's say even you can change the telegram for slack or maybe other platform you can have a agent
for, I don't know, for your personal life, maybe some sports or topics you're interested in, uh,
for like the I as I did, I'm using that for I honestly because I, I want to be up to date with the
latest news and if if something happens I'm up to date.
Now look on that.
It's so cool.
So Chelsea is increasingly confident in their pursuit of Liam Delap.
The North Carolina Tar Heels have made the final cut for top ranked 2026 recruit Tommy Jones.
Um, like you have the news about the football.
Um, it's pretty cool.
Daniel Cormier has commented on Jon Jones recent claims of superiority.
Um, by this way, we created this entire automation.
Actually.
I hope you enjoyed that.
You like this type of content?
Um, actually let me know if you like it.
And by typing the honest review or even leaving the rating, um, I will really appreciate it.
Together with Damien, we put a lot of effort into preparing this course, actually providing more materials.
So again, feel free to, um, yeah, um, actually spend 30s to leave us your honest feedback.
Um, thank you for watching.
I hope you enjoyed it.
And for now, that's everything again.
I will see you in the next video.