web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Answered

How to send an email based on the field of a lead

(0) ShareShare
ReportReport
Posted on by 50

Hi all.

There is a date field in my lead entity.

I'd like to send a marketing email 7 days before this field.

Is it possible?

 

Happy new year!

I have the same question (0)
  • Verified answer
    Nya Profile Picture
    29,060 on at

    Hi Niheel,

    First of all, the marketing email cannot be sent to the leads directly since the to address can only be set with the email address of contacts or the records in the entities who have a 1:N relationship with Contact entity (e.g. Account).

    It can be referred to my answer in ( ) Send email to Account - Dynamics 365 Marketing Forum Community Forum.

    Maybe you'd like to send the email to the existing contact of the lead, but it is still not recommended cause that the existing contact is not a required field in Lead entity and for a contact there can be several child leads.

    So you cannot send marketing email based on the fields in Lead entity.

    What's more, according to your description, I think you need a notification email rather than a marketing email.

    If yes, you could consider to use Power Automate to achieve it.

    Take the example of the optimisedclosedate field in the Opportunity entity.

    1. Create a scheduled cloud flow and set it sun every day:

     Image

    1. List all opportunities.

     Image

    1. Get the records.

     Image

    1. Add a “Condition” into the step.

     Image

    1. Adjust the condition expressions as:

    the left one:

    formatDateTime(outputs('Get_a_row_by_ID')?['body/estimatedclosedate'],'MM/dd/yyyy')

    the right one:

    formatDateTime(addDays(utcNow(), 14), 'MM/dd/yyyy')
    1. Add a “Send an email notification” step and send the notification email to anyone you want.

     Image

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 70 Super User 2025 Season 2

#2
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 33 Most Valuable Professional

#3
Daniyal Khaleel Profile Picture

Daniyal Khaleel 32 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans