Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Connectors
Answered

To Trigger an email 3 days before due date.

(0) ShareShare
ReportReport
Posted on by 28

how to write an expression to get an email 3 days before due date.

The date is from excel sheet column named DueDate.

The date format in excel sheet is mm/dd/yyyy.

  • gunti Profile Picture
    28 on at
    Re: To Trigger an email 3 days before due date.

    quick question: is it ok if we keep the format 'yyyy-MM-dd' while writing the expression. Because the date format in excel column is in 'MM/dd/yyyy'

     

  • Verified answer
    v-xiaochen-msft Profile Picture
    on at
    Re: To Trigger an email 3 days before due date.

    Hi @gunti ,

     

    Please try this

    vxiaochenmsft_0-1715222843195.png

     

    vxiaochenmsft_1-1715222851608.png

    vxiaochenmsft_2-1715222869385.png

    formatDateTime(item()?['DueDate'],'yyyy-MM-dd')
    formatDateTime(addDays(utcNow(),3),'yyyy-MM-dd')
    item()?['Mail']
     
    Best Regards,
    Wearsky

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

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!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1

Featured topics