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 / Send Email Based on Dy...
Power Automate
Answered

Send Email Based on Dynamics 365 Date Field

(0) ShareShare
ReportReport
Posted on by 172

Hi Everyone,

 

I am very new to integrating Power Automate with Dynamics and am struggling to work out where to start with this. What I need to do is have Power Automate send an email to a Contact held in D365 whenever that Contact was last contacted 5 years and 1 day ago. I know the name of the last contacted field but my immediate challenge is that all the Dynamics 365 connector appear to have been deprecated (so what do I use) and I can't for the life of me see how to do the date comparison. Any pointers for this would be very gratefully received.

 

Thanks!

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

    Hi @Serviced2000,

     

    Date comparison is made from the year, month and day in turn. For example, two dates are "2020-05-22" and "2020-07-21", year is same, the second month is greater than the first one, so the send date is greater. When you compare two dates, the format should be "yyyy-MM-dd".

    Date comparison could do in the filter query by using ODATA filter query syntax, for example:

    Get items that date is greater 100 days ago and less than 1 day ago:

    Annotation 2020-07-24 162024.jpg

     

    Best Regards,
    Community Support Team _ Lin Tu
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard