cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
garykemble
Level: Power Up

Only take most recent RSS item and post to Twitter

I've set up a flow that takes an RSS feed from our site and tweets to our Twitter account. But if I turn the flow off, when I turn it back on it tweets every item in the RSS feed since when I turned it off.

 

Is there a way of getting it to only tweet the most recent item when I turn the flow back on?

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Only take most recent RSS item and post to Twitter

Hi @garykemble,

 

List all RSS feed items action cannot filter feed items for time. This feature is currently not supported.

You could consider using Filter array to filter the obtained items, using time limit.

For example, if you want to get something like a week, you could configure it like this:

Compare the publish date fields.

Expression reference:

@greaterOrEquals(formatDateTime(item()['publishDate'], 'yyyy-MM-dd'), addDays(utcNow(), -7, 'yyyy-MM-dd'))

33.PNG

Please take a try.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
Community Support Team
Community Support Team

Re: Only take most recent RSS item and post to Twitter

Hi @garykemble,

 

List all RSS feed items action cannot filter feed items for time. This feature is currently not supported.

You could consider using Filter array to filter the obtained items, using time limit.

For example, if you want to get something like a week, you could configure it like this:

Compare the publish date fields.

Expression reference:

@greaterOrEquals(formatDateTime(item()['publishDate'], 'yyyy-MM-dd'), addDays(utcNow(), -7, 'yyyy-MM-dd'))

33.PNG

Please take a try.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (4,655)