Share via

Generate Reminder Email in Excel and Power Automate

Anonymous
2025-02-05T20:53:06+00:00

I am trying to create a Power Automate flow using an Excel spreadsheet.

I want to generate an email that will be sent to me and on my team, based on the date in column H below (titled "Reminder Date").

This is an ongoing project, so I would like the ability to continuously be able to update the excel file that is in our company Share Point.

I have experimented with a couple of different Power Automate flows - the below is where I am stuck. Any advice or tips will help.

Microsoft 365 and Office | Excel | For business | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

24 answers

Sort by: Most helpful
  1. Anonymous
    2025-02-19T20:36:04+00:00

    Thank you again.

    In list rows, I did have the ISO 8601 selected.

    Image

    I used the same expression that you had in your screen shot for my flow:

    Image

    When I looked at the Raw Inputs (similar to your last screen shot), I see the following (I removed certain columns):

    [ {"@odata.etag": "","ItemInternalId": "***","Branch Name": "***","Reminder Date": "2024-11-15T00:00:00.000Z","INSTALL DATE": "2024-11-22T00:00:00.000Z","CLOSEOUT  DATE": "2025-02-28T00:00:00.000Z", },

    ]

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2025-02-19T06:29:32+00:00

    Dear Brian,

    May I know whether you select ISO 8601 in the "List rows in Excel" action? If no, I suggest you try it to see and let us know the result.

    I adjust the cell format and keep the same format as you in your example and did a test and the Filter Array part works fine.

    Image

    Image

    Image

    Could you check whether the output of the List rows in Excel table action shows the correct time format in your flow? Some related screenshots are appreciated.

    Note: Remove any private information before uploading the screenshots.

    Your efforts and time are greatly appreciated!

    Sincerely

    Cliff | Microsoft Community Moderator

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2025-02-18T13:41:27+00:00

    Thank you again for the assistance on this.

    I tried following the instructions you had sent. My flow is failing at the "Filter Array" step with the error below.

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

    I tried keeping my dates from my excel file in the format you sent in the screenshot and still got the above error.

    I attempted to change the filter array to:

    formatDateTime(item()?['Reminder Date'],'yyyy-MM-dd') is equal to formatDateTime(utcNow(),'yyyy-MM-dd')

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2025-02-15T06:50:10+00:00

    Dear Brian,

    You need to embed HTML table in the email body.

    Here is an example for your reference.

    Select:

    Map:

    {

    "BranchName": @{item()?['Branch Name']},

    "SO": @{item()?['SO']},

    "ReminderDate": @{formatdatetime(item()?['Reminder Date'],'MM/dd/yyyy')},

    "InstallDate": @{formatdatetime(item()?['Install Date'],'MM/dd/yyyy')},

    "CloseoutDate": @{formatdatetime(item()?['Closeout Date'],'MM/dd/yyyy')}

    }

    Result:

    Welcome to share any update at your convenience.

    Your efforts and time are greatly appreciated!

    Sincerely

    Cliff | Microsoft Community Moderator

    Was this answer helpful?

    0 comments No comments
  5. Anonymous
    2025-02-13T13:58:27+00:00

    Here is a screen shot of the email I am currently receiving:

    Was this answer helpful?

    0 comments No comments