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 / Reminder email 30 days...
Power Automate
Unanswered

Reminder email 30 days before date on excel

(0) ShareShare
ReportReport
Posted on by 20

Hi Im looking for help building a flow that triggers an email reminder to be sent 30 days before a date listed on an excel file (30 days before expiry date)

Screenshot 2023-03-06 at 22.10.16.png

containing details of the excel row in question.

 

Can anyone assist?

Categories:
I have the same question (0)
  • abm abm Profile Picture
    32,985 Most Valuable Professional on at

    Hi @Hawksmoor 

     

    26-Mar-25 is this means

     

    26-03-2025?

     

    Could you make the Excel data as follows:

     

    26-Mar-2025?

     

    Then it will be easier to convert to Date using ParseDateTime()

     

    formatDateTime(parseDateTime(outputs('Compose')), 'yyyy-MM-dd''en-US')
     
    This will return 2025-03-26
     
    Then to find 30 from Todays Date use the below expression
     
    addDays(utcNow(),30,'yyyy-MM-dd')
     
    Finally compare both dates from the expression to check whether it is matching the date or not.
     
    Note: To read the excel sheet you need to have a table associated with it.
  • Jtaylor95 Profile Picture
    126 on at

    Are you able to explain in a little more detail? Sorry Im not very well versed in this so not sure what steps to use

  • abm abm Profile Picture
    32,985 Most Valuable Professional on at

    Hi @Jtaylor95 

     

    Will update soon.

     

    Thanks

  • abm abm Profile Picture
    32,985 Most Valuable Professional on at

    Hi @Jtaylor95  @Hawksmoor 

     

    Follow the below steps:

     

    image.png

     

    Above expressions are as follows:

     

    formatDateTime(item()?['Expiry Date'], 'yyyy-MM-dd')
     
    addDays(utcNow(), 30, 'yyyy-MM-dd')
     
    image.png
  • Jtaylor95 Profile Picture
    126 on at

    Hi I am getting the following error:

     

    The execution of template action 'Filter_array' failed: The evaluation of 'query' action 'where' expression '@equals(formatDateTime(item()?['Expiry Date'], 'yyy-MM-dd'), addDays(utcNow(), 60, 'yyyy-MM-dd'))' failed: 'In function 'formatDateTime', the value provided for date time string '45742' was not valid. The datetime string must match ISO 8601 format.'.

  • abm abm Profile Picture
    32,985 Most Valuable Professional on at

    Hi @Jtaylor95 

     

    Check the DateFormat and set to ISO 8601.

     

    image.png

  • Jtaylor95 Profile Picture
    126 on at

    I had done that already but no joy

  • Jtaylor95 Profile Picture
    126 on at

    I think I need to convert my the date time string but not sure how!

  • abm abm Profile Picture
    32,985 Most Valuable Professional on at

    Hi @Jtaylor95 

     

    Could you post a screenshot of your flow history and would like to see the dates getting from List Rows present in a table action step.

     

    Thanks

  • Jtaylor95 Profile Picture
    126 on at

    Screenshot 2023-03-21 at 17.51.58.pngScreenshot 2023-03-21 at 17.52.07.pngScreenshot 2023-03-21 at 17.52.10.pngScreenshot 2023-03-21 at 17.52.32.png

     

     

    These are the error details:

     

    Screenshot 2023-03-21 at 17.45.05.png

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 April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 791

#2
Valantis Profile Picture

Valantis 582

#3
Haque Profile Picture

Haque 529

Last 30 days Overall leaderboard