RSS News scanner with google sheets

Hello, I am trying to build an autmoation which will scan RSS news feeds when i execute it.
Flow description:

  1. Scan given RSS feeds / link
  2. Check if there are any new news compared to last execution
  3. Append new scanned items to sheet called “Data”
  4. If no new items, do nothing
  5. Also add Newly added lines to sheet called “NewNews” to get good overview of added items.

PS! NewNews sheet should be cleared right at the start of execuition, so only new added files get appended there.

I also hpped i could add summary column to all news which will generate small summary using AI after each news and then have this automation run automatically every month and email me a list of new news with summaries, but thats too much for me to generate :slight_smile:

Example RSS:

nvidianews.nvidia.com/releases.xml
ir.amd.com/news-events/press-releases/rss

Hope my description was good and someone can help me out here.

Which part do you need help with? Is there a problem you are facing with this?

Currently I have this. So it works so it adds items to Sheet1 and if i remove some from that table and run again, it adds those removed lines, which is nice.

But I cant get the part working, where i add new things to both data table and also NewNews sheet, to get good climpse on what was added and if i run it weekly, to send out email with those new news only.

At some point i wish to make it automatic, so it would run once a week itself,. gather only added news and send those to my email, but that is far fetched for me atm :smiley:
Also another thing which i want to add, is “Summary” column, which generates summary of those news using AI and then include links and summaries in email.

If you need to only send new entries, you will have to filter them out by pubDate.
To find the date of the first day of the current week you could use the expression

{{ $now.beginningOf('week') }}
or simply
{{ $now.beginningOf() }}

OR if you don’t want to mess with dates and calculations and generally dont care about old entries - after sending each summary, clear the page.

but I wish to basically send items which were added @execution.
So lets say I have a scenario like this:
I have 10 rss inputs and they have generated me 200 lines of news. Now i add 1 more rss and that will brin 10 new news into dataset, with dates going back 5 months etc. My idea is that this new rss + new data from existing rss’es (what were added to the main data list since last execution) are now added to sheet “NewNews”.

SO basically every execution will just update my main data sheet and then all added items will be put onto sheet “newnews” which is cleared after every execution start to show new fresh items.

EDIT: and currently my code just adds stuff to main data and nothing goes to NewNews. In node New Item, everything gets passed to False. But I wish it would check if it is in a list already, if yes then then do nothing. If not on the existing list, then add it to the list and add it to the NewNews sheet

Anyone knows solution?

Check this:

The is the resulting page:

If I run it again, I’d get

As you can see now the records were compared and deemed to be the same, so the flow stops.

TY, this seems to work in case of AMD news, but for nvidia news, it does not seems to gather it. Might it be that they are in cml format?

Somehow I got it working :slight_smile: ty so much!

1 me gusta

You are very welcome.