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 : W7p01gelJgCbLANFZx8QkA
Power Automate - Building Flows
Answered

30 Day Expiration Date Reminder Email

Like (0) ShareShare
ReportReport
Posted on 25 Oct 2023 12:47:36 by 4

I'm trying to create a Power Automate flow from an Excel file I have uploaded to an Excel file that is stored in my OneDrive.

 

I added conditional formatting so that when an employee's badge is 30 days away from expiring the cell turns red.

 

I would like to add a Power Automate flow that detects when a badge is 30 days from expiring and sends an email to management.

 

Is there anyone who can advise on a step by step process on how I can accomplish this?

 

Below is a screen shot (names blurred) of the columns I am working with.

 

brianhoops1_0-1698237840774.png

 

  • brianhoops1 Profile Picture
    4 on 30 Oct 2023 at 19:24:02
    Re: 30 Day Expiration Date Reminder Email

    Thanks for the reply.

     

    It looks like this has mostly worked. I built the flow based on what you shared out, but I am getting a blank email. Do you have any tips on what might be going wrong?

     

    brianhoops1_1-1698693825692.png

     

     

  • Verified answer
    v-bofeng-msft Profile Picture
    on 26 Oct 2023 at 01:25:55
    Re: 30 Day Expiration Date Reminder Email

    Hi @brianhoops1 ,

     

    I've made a test for your reference:

    1\My Excel table

    vbofengmsft_0-1698283364265.png

    2\My flow

    vbofengmsft_1-1698283433937.png

    vbofengmsft_2-1698283455723.png

    Filter Condition

    @and(
     less(float(split(dateDifference(utcNow(), item()['Badge Expiration Date']), ':')[0]), 30),
     greater(float(split(dateDifference(utcNow(), item()['Badge Expiration Date']), ':')[0]), 0)
    )

    Result

    vbofengmsft_3-1698283545909.png

     

    Best Regards,

    Bof

     

     

     

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