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 / Reminder email based o...
Power Automate
Unanswered

Reminder email based on due date in excel

(0) ShareShare
ReportReport
Posted on by 33

Hello,

I am new to power automate, i am trying to create a flow which will send a reminder email to my team member on a specific due date. I am from India and my time zone is "(UTC+05:30) Chennai, Kolkata, Mumbai, New Delhi", my reminder due date in excel is in date-month-year (dd-MMM-yyyy) format. An email has to be sent for the task on the reminder date mentioned. I have not added email id in the table as it is not dynamic. Can any one please help me build the flow.

athota_0-1625773734483.png

Thanks

Categories:
I have the same question (0)
  • Verified answer
    v-LilyW-msft Profile Picture
    on at

    Hi @athota 

    According to your description, you want to send email based on due date in excel.

    I set up a simple flow, you can refer to below screenshots.

    Configure Recurence advanced options, the flow will runs at 9:30 every day in your time zone.

    You can modify it according to your needs.

    vLilyWmsft_0-1625794557579.png

    vLilyWmsft_1-1625794557590.png

    Expression: formatDateTime(item()?['Reminder Date'], 'yyyy-MM-dd')

    Expression: formatDateTime(utcNow(), 'yyyy-MM-dd')

    vLilyWmsft_2-1625794557592.png

    vLilyWmsft_3-1625794557599.png

    vLilyWmsft_4-1625794557601.png

    vLilyWmsft_5-1625794557605.png

    Then save and can test it.

    This is my excel:

    vLilyWmsft_6-1625794557606.png

    After Flow runs, I will receive an email as below:

    vLilyWmsft_7-1625794557607.png

    Hope the content above may help you.

    Best Regards

    If my solution helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • athota Profile Picture
    33 on at

    Hi @v-LilyW-msft ,

    Thank you for the solution it worked. I am receiving emails as per the due date. However, the email content for task has unnecessary code in place of task, please see screengrab below.

    athota_0-1625824861757.png

    I was not getting the "Task" array as you have got, it is only showing me "Item" array. It is showing excel task array, but when i select it the flow is not running. I tired by adding the expression for Task as well but the flow is not running.

    athota_1-1625825047837.png

     

    athota_2-1625825174628.png

    I am actually fetching the data from another sheet to this sheet and reflecting the data, is this the cause for above error? Please help.

    athota_3-1625825410699.png

     



  • v-LilyW-msft Profile Picture
    on at

    Hi @athota 

    Could you share me the outputs of Select?

    vLilyWmsft_0-1626075571941.png

    Best regards

  • athota Profile Picture
    33 on at

    Hi @v-LilyW-msft ,

    Here is the output of select.

    athota_0-1626082853331.png

     
    INPUT:
    {
        "@odata.etag""",
        "ItemInternalId""d1245d8a-ce74-47bf-ab30-59de929f2ed8",
        "Task""Test task 3 for automation",
        "Due date""2021-07-12T00:00:00.000Z",
        "Reminder Date""2021-07-09T00:00:00.000Z"
      }
    OUTPUT:

    {
        "Task Name": {
          "@odata.etag""",
          "ItemInternalId""d1245d8a-ce74-47bf-ab30-59de929f2ed8",
          "Task""Test task 3 for automation",
          "Due date""2021-07-12T00:00:00.000Z",
          "Reminder Date""2021-07-09T00:00:00.000Z"
        },
        "End Date""2021-07-12"

    Please let me know if anything else is required.

    Thanks!
  • tom_riha Profile Picture
    10,185 Most Valuable Professional on at

    Hello @athota ,

    I think your 'Select' action is not configured properly, you should use item()?['Task'] as the Task Name, but you're using the whole item() dynamic content.

    image.png

  • athota Profile Picture
    33 on at

    Hi @tom_riha ,

    I have used the whole item dynamic content as I was not getting the task option to select, please see screengrab. I have tried to use the excel rows but that also failed and the flow didnt run.

    athota_0-1626084575717.png


    Please let me know if you any further information.

    Thanks

  • tom_riha Profile Picture
    10,185 Most Valuable Professional on at

    The item()?['Task'] is an expression, copy paste it into the expression field and enter it there instead of the Item dynamic content.

  • athota Profile Picture
    33 on at

    Hi @tom_riha  and @v-LilyW-msft ,

    It worked now, I tried using the expression before but the flow didn't run, that is when I used the other options. I have tried it again and it worked. Thank you so much for your help.

    athota_0-1626085142483.png


    Thanks!

     

  • athota Profile Picture
    33 on at

    Hi @v-LilyW-msft  and @tom_riha ,

    I have interacted with you before on this ticket regarding a task reminder flow, the flow I created was working fine. I am trying to replicate the same flow for another data sheet, but it doesn't seem to be working. Below is the error i am getting, can you please help me?

    athota_0-1629371496476.png


    I am adding the screen grab of my new flow below, which is an exact replica as suggested by @v-LilyW-msft .

    athota_1-1629371764209.png

    athota_2-1629371844952.png

    Expressions i am using are as below:

    formatDateTime(item()?['Reminder Date'], 'yyyy-MM-dd')
    formatDateTime(utcNow(), 'yyyy-MM-dd')
    item()?['Task']
    formatDateTime(item()?['End Date'], 'yyyy-MM-dd')
    My data sheet:
    athota_3-1629372093314.png

    I am using one drive for business for this flow and the date format when edited online is showing as below, is this the cause for the issue?

    athota_4-1629372341361.png

     

    Thanks!
  • athota Profile Picture
    33 on at

    Hi @v-LilyW-msft  and @tom_riha

    Please will you be able to help?

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 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard