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

Community site session details

Session Id : DF/Eb5MjmjCA1Gl/oZkiBB
Power Automate - Building Flows
Answered

Building a flow for emailing expiry date notifications and selective recipients

Like (0) ShareShare
ReportReport
Posted on 21 Nov 2021 10:04:00 by 2

Hello everyone,

I am new to the automate world. I am now currently responsible for building an email notification system for contract renewal reminders for my department. The data is stored in a SharePoint List with a field called 'Expiry Date'. I am told to write a flow which is scheduled in the first day of each month and scans ALL the contract due within the 30/60 days period and email all of them to the contact person at the same time.

 

The second task is about the email recipients, I have to send the emails to both the admin (secretary) and the contact person if the 'contact person email' field has an email address contained, while only send the emails to the admin (secretary) if the 'contact person email' field is empty of does not contain an email address in it.  

 

Is there any way these two tasks could be achieved using Automate?

Many thanks.

  • Verified answer
    v-JessicaG-msft Profile Picture
    on 24 Nov 2021 at 10:53:31
    Re: Building a flow for emailing expiry date notifications and selective recipients

    Hi @hellofriend ,

     

    Do you want to select recipients based on SharePoint list field conditions and send the results emails after the filtered field date?

     

    You could filter the items that meet the date condition based on the operator, and then determine whether the specified field of each item contains the email format, and obtain the mail address by setting the variable. I have test for your reference, please try the following workaround:

    vJessicaGmsft_0-1637751341436.png

     

    vJessicaGmsft_1-1637751141644.png

     

    Best Regards,

    Jessica Gu

  • hellofriend Profile Picture
    2 on 22 Nov 2021 at 09:02:06
    Re: Building a flow for emailing expiry date notifications and selective recipients

    Thanks for your reply.

    However it seems that the above flow only finds expiry dates on the 30th day in the future only. In my case, I need to build a flow that finds all the expiry dates ranging from 0 to 30 days in the future at once. Is there any chance this can be achieved by flow?

     

    Also can flow achieve the second task I mentioned in the first thread?

     

    Thanks

  • mahoneypat Profile Picture
    1,720 on 21 Nov 2021 at 14:11:55
    Re: Building a flow for emailing expiry date notifications and selective recipients

    Please see this article for how to do this.  For your Recurrence trigger, you can choose daily, go to Settings with the ellipsis in the trigger and add a Trigger Condition with the expression below.  This will make it trigger only on the first of the month.

    Send email reminders from Microsoft Lists using Power Automate – Norm Young

     

    mahoneypat_0-1637504503385.png

     

    @equals(formatDateTime(utcNow(), 'dd'), '01')

     

    Pat

     

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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 2

Loading complete