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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Send overdue email fro...
Power Automate
Unanswered

Send overdue email from a document library in sharepoint

(0) ShareShare
ReportReport
Posted on by 91

Can someone please run through the steps to set up a workflow to send an 7 day overdue email from a sharepoint document library

 

I have a document library that has a column for 'response date' (Date) and a column 'review confirmed by' (people picker).

Jenine1_1_0-1665462090114.png

 

 

i want a flow that 

1. recurrence - I have done

2. get files (properties only) This is the only one i can find for document library) - i have this and added filter query i used filter query ResponseDate eq '@{addDays(utcNow(), -7, 'dd/MM/yyyy')}' 

3. if column response date is 7 days overdue and review confirmed by column is blank (what do i do here)

4. send an email- i cant get this to work even with a apply to each

Jenine1_1_1-1665462248053.png

Please help

thanks

 

 

Categories:
I have the same question (0)
  • Sundeep_Malik Profile Picture
    6,484 on at

    Hey @Jenine1_1 

    Try 2 things.

     

    1)

    In filter query write

    ResponseDate lt 'addDays(utcNow(), -7, 'dd/MM/yyyy')'

     

    2) Use send email v2 of outlook. The email notification V3 bugs out.

     

    Sundeep_Malik_0-1665474883197.png

     

  • v-chengfen-msft Profile Picture
    on at

    Hi @Jenine1_1 ,

    Do you mean to filter out files where [response date] is 7 days ago and [review Confirmed by] is empty?

    Filter Query in [Get files (properties only)] is not good for filtering (people picker)

    Maybe you could try:

    Add [Get file properties] to get the detailed information of the [review confirmed by] column.

    Add [Condition] to judge whether the [review confirmed by] column’s DisplayName is empty.

    vchengfenmsft_0-1665478244031.png

    vchengfenmsft_1-1665478244039.png

     

    Best Regards

    Cheng Feng

     

  • Jenine1_1 Profile Picture
    91 on at

    Hello,

     

    thank you for your insite.

     

    i have done as you have suggested but still not working

     

    the reviewed by column is not a people picker it is a text column.  i have a flow that when the person responsible clicks on a link via an email it sets of another workflow to confirm that they have done something.  that then updates the reviewed by column with their name and date. so the condition for reviewed by doesnt have /display name - it is - outputs('Get_file_properties')?[body/reviewed by'].

    Jenine1_1_1-1665533482562.png

     

     

    the flow runs but does not send email

    Jenine1_1_0-1665533434544.png

    not sure why

     

    thanks

  • Jenine1_1 Profile Picture
    91 on at

    Thank you for this, I did change the eq to lt and changed the email to emailv2 but it still didnt send an email

     

    thank you for your help

  • v-chengfen-msft Profile Picture
    on at

    Hi @Jenine1_1 ,

    could you please show the output of Get_file(property only )?

    I guess output is null, so the subsequent content is not implemented.

     

    Best Regards

    Cheng Feng

  • Jenine1_1 Profile Picture
    91 on at

    is this what you need

    4929-b0ca-e0d1d240a810","MS-CV":"QsK23eT2KUmwyuDR0kCoEA.0","Strict-Transport-Security":"max-age=31536000","X-FRAME-OPTIONS":"SAMEORIGIN","Content-Security-Policy":"frame-ancestors 'self' teams.microsoft.com *.teams.microsoft.com *.skype.com *.teams.microsoft.us local.teams.office.com *.powerapps.com *.yammer.com *.officeapps.live.com *.office.com *.stream.azure-test.net *.microsoftstream.com *.dynamics.com *.microsoft.com securebroker.sharepointonline.com;","MicrosoftSharePointTeamServices":"16.0.0.22928","X-Content-Type-Options":"nosniff","X-MS-InvokeApp":"1; RequireReadOnly","Timing-Allow-Origin":"*","x-ms-apihub-cached-response":"false","x-ms-apihub-obo":"true","Cache-Control":"max-age=0, private","Date":"Wed, 12 Oct 2022 02:31:03 GMT","P3P":"CP=\"ALL IND DSP COR ADM CONo CUR CUSo IVAo IVDo PSA PSD TAI TELo OUR SAMo CNT COM INT NAV ONL PHY PRE PUR UNI\"","X-AspNet-Version":"4.0.30319","X-Powered-By":"ASP.NET","Content-Type":"application/json; charset=utf-8","Expires":"Tue, 27 Sep 2022 02:31:03 GMT","Last-Modified":"Wed, 12 Oct 2022 02:31:03 GMT","Content-Length":"12"},"body":{"value":[]}}

    here is my entire flow

     

    Jenine1_1_0-1665542052954.png

    Jenine1_1_2-1665542229482.png

     

    Can i put in the filter query in get files (properties only) - this filter query would that be better somehow?

    Jenine1_1_3-1665542393357.png

    and then change something in the apply to each would that work?

     

    thanks

  • Verified answer
    v-chengfen-msft Profile Picture
    on at

    Hi @Jenine1_1 ,

    "body":{"value":[]}}

    This value is null, after filtering, the trigger does not filter out anything.

    I guess your Filter Query may be wrong

    Here are some link for your reference:

    Power Automate SharePoint Get Items Filter Query + 12 Examples - EnjoySharePoint

    Solved: power automate get files (properties) only filter ... - Power Platform Community (microsoft.com)

    Best Regards

    Cheng Feng

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard