cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
New Member

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
Highlighted
Community Support
Community Support

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
Highlighted
Community Support
Community Support

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
secondImage

August 2020 CYST Winners!

Check out the winners of the recent 'Can You Solve These?' community challenge!

thirdImage

Experience what's new for Power Automate

Join us for an in-depth look at the new Power Automate features and capabilities at the free Microsoft Business Applications Launch Event.

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

thirdimage

Power Automate Community User Group Member Badge

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

Top Solution Authors
Top Kudoed Authors
Users online (4,333)