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 / Create flow to review ...
Power Automate
Unanswered

Create flow to review data and email document owner

(0) ShareShare
ReportReport
Posted on by 8

Hello, 

I am trying to get a flow to create a notification if an item is due today or was due previously, and then send this email to the document owner from a shared mailbox. 

 

As in the screenshot below, I have the Last Review Date, then Review Frequency in days (some documents are 30 days, 90 days, 365 days, etc), and then a calculated column called Next Review Date that adds the data in Last Review Date + Review Frequency to make it work. 

 

Basically, someone will upload a document to this library. They will then assign themselves or another person (or persons) as the Document Owner. The Last Review Date is automatically labelled as the date they uploaded it (ie today). The hope is that when it is 7 days before Next Review Date, an automated email will go out to the Document Owner to tell them that they need to take a look at the file and do what they want with it.

 

I've tried using the default "email reminder flow" but that doesn't seem to give me the option to change where the email comes from and who the email goes to - in addition whenever I try to point it to the Next Review Date column, the whole thing breaks even if I leave it pointed at me.

 

Any help would be appreciated. 🙂 

 

YaseenJabbar_0-1669118434863.png

 

Categories:
I have the same question (0)
  • annajhaveri Profile Picture
    8,531 Most Valuable Professional on at

    @YaseenJabbar  i think you need to create a  scheduled flow which runs daily. Then add Get Items action to get items from list where Next Review Date is equal to Today's date + 7 days. Then add apply to each action to loop through result of Get Items, inside Apply to each add Send Email action to send email notification to Document Owner

     

    Example of Get Items:

    annajhaveri_0-1669198408834.png

     

    Filter Query example, Replace Created with your column name "NextReviewDate"

    Created eq '@{addDays(utcNow(),7,'yyyy-MM-dd')}'

    Example of apply to each and send email

    annajhaveri_1-1669198490515.png

     

     

  • YaseenJabbar Profile Picture
    8 on at

    Hi Anna, thank you for your help.

     

    I currently get this error. 

     

    YaseenJabbar_2-1669212167792.png

     

     

    YaseenJabbar_1-1669212088539.png

     

  • annajhaveri Profile Picture
    8,531 Most Valuable Professional on at

    @YaseenJabbar  there would not be any spaces in the name Next Review Date, i think it should be NextReviewDate. To confirm to go your list/library, then go to List/Library settings page (more settings), click on the field Next Review Date. Now look at the URL in browser, you will find Field=<name of field>, the name you see there should be used in filter query instead of Next Review Date that you have currently used.

  • YaseenJabbar Profile Picture
    8 on at

    Hello Anna,

     

    Thank you for your reply.

     

    The URL ends in the following: 

    YaseenJabbar_0-1669283934574.png

     

    However, after putting that into the flow, like this:

    YaseenJabbar_1-1669284068526.png


    I now get this error:

     

    YaseenJabbar_2-1669284150992.png


    For reference, the column information looks like this:

     

    YaseenJabbar_3-1669284217058.png

     

  • annajhaveri Profile Picture
    8,531 Most Valuable Professional on at

    @YaseenJabbar  yes my apologies i missed mentioning that filter query doesnt work on calculated column by design in SharePoint. So there are two options now:

     

    1. Get Items using no filter query, which will get all list items, then use Filter Array action to get the items where Next Review Date is matching. This option has limitation as Get Items cannot fetch all items from list if list keeps on growing with hundreds/thousands of items. And will eventually make the flow slow.

    2. Instead of using calculated column, use normal date column and set its value from a new flow whose trigger is when new item is created/modified based on the event when you want to set value of Next Review Date, and Set value of next review date from the flow.

  • YaseenJabbar Profile Picture
    8 on at

    Hi Anna. Sorry for late reply - I was off work for a while. I have tried the first option, but it spits out all items instead of some items. 

    How would I do the second option? 

  • annajhaveri Profile Picture
    8,531 Most Valuable Professional on at

    @YaseenJabbar  for second option, i would need to know when do you want to set value of Next Review Date? When new item is created or when new item is created and any update made in last review date value?

  • YaseenJabbar Profile Picture
    8 on at

    Hello Anna,

     

    Thank for getting in touch. Apologies for lateness as it was my Xmas break. I hope you had a good one too.

    I would like to set Next Review Date value to be when new item is created and/or any update made in last review value. 

    ie if a document is uploaded today, the Last Review Date is automatically today (28/12/2022, for example) - but can be changed to reflect a value in the past (eg 01/01/2001). Then the appropriate amount of time (30 days, 365 days) should be added to form the Next Review Date.


    FYI - one of the parameters has changed for it to be 28 days prior to the Last Review Date.

    Ergo, once it is 28 days before Next Review Date, an email needs to be sent out from [Group Mailbox] to the Document Owner or to [Group Mailbox] to alert someone the document is up for renewal. 

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 873

#2
Valantis Profile Picture

Valantis 813

#3
Haque Profile Picture

Haque 526

Last 30 days Overall leaderboard