web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Scheduled flow: Show i...
Power Automate
Answered

Scheduled flow: Show item information in email depending on their date column

(0) ShareShare
ReportReport
Posted on by 63

Hi.

 

I have been tasked with making a scheduled flow. This flow will run each day at 9am.

 

I have a sharepoint list, with a column called 'Review date'. I want to make it so that the email reminder will include all items with a review date within the next 5 days. 

 

For example, we have 3 items, one with an RD on the 31st March, two with an RD on the 1st April, and three with an RD on the 2nd April.

 

If the flow were to run today, it'll show; Item 1: Name, ID, review date, Link. (Same for item 2 and 3).   

 

Is a scheduled flow like this possible? 

 

Thank you for your help in advance. 

Categories:
  • Verified answer
    ScottShearer Profile Picture
    25,331 Most Valuable Professional on at

    @Alfie_Smith 

    You should use a Recurrence trigger and configure it to run at 9:00 AM each day.

    To retrieve only items that have a review date within 5 days, you'll want to use a Filter Query - click on "Show advanced options" to see the Filter query text box.

    Your filter query should look something like this:

    ReviewDate1.jpg

     

    Please note that ReviewDate is the internal name of the Review Date column - your internal name might be different.

    Additional info on OData filter queries can be found here.

     

  • Alfie_Smith Profile Picture
    63 on at

    Thank you!

     

    It works well, but I noticed that items with a review date that is today (e.g. 1st April) aren't included, only items in the next 5 days. Is there a way to adjust the code to include items on the day?

  • Alfie_Smith Profile Picture
    63 on at

    Ah no worries, I figured it out!

     

    For those wondering, in the filter query, replace 'gt' with 'ge'.

     

    Use this website here for reference on filter queries: https://diyd365.com/2019/11/20/every-power-automate-ms-flow-filter-query-you-ever-wanted-to-know-as-a-functional-consultant/

     

    The site connection says it is not secure however, so enter at your own risk. 

  • ScottShearer Profile Picture
    25,331 Most Valuable Professional on at
  • Alfie_Smith Profile Picture
    63 on at

    Thanks for all the help.

     

    I've just been in a call regarding this flow, and they wondered if its possible to get retrieve these items ordered by date? 

    I currently take the data from the filter, and place them into a html table. The html table is inserted into an email and sent to all appropriate users. 

     

    examplescheduledflow.PNG

  • ScottShearer Profile Picture
    25,331 Most Valuable Professional on at

    @Alfie_Smith 

    To retrieve the items by date, use the Order By  feature in the Get items action - see my example above.

    Your order by expression miight look something like this:

    MyDate asc or MyDate desc

    Where MyDate is the internal name of the date column

    Also, please note that the Get items action returns only 100 items by default - to change this go to settings for the action, turn on pagination and enter a number of up to 5000 (in most cases).

     

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 377

#2
11manish Profile Picture

11manish 292 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 128

Last 30 days Overall leaderboard