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

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested answer

Adding automatic email dates to Leads

(0) ShareShare
ReportReport
Posted on by 5

Hello folks,

I am trying to create a field in the lead form that shows when the first email was sent to that lead and another for the most recent email.

I can see that info in an individual search in the email table or in the timeline but the intent is to have this as a stand alone metric so we can measure time to close without manual intervention.

Any tips on how to do that? I assume there would need some pre-work for that potentially creating relationships between tables and calculated metrics but I am having a hard time wrapping my head around that.

Luis

I have the same question (0)
  • Suggested answer
    Community Member Profile Picture
    on at
    RE: Adding automatic email dates to Leads

    Hi LuisS,

    You can use power automate to create a flow to update two fields, one showing when the first email was sent to that lead and other for the most recent email.

    Step 1: Create two fields, for example, first email 0323 and recent email 0323 in the lead form.

    Step 2: Set trigger:

    Trigger the flow when one Email Messages record has been created.

     pastedimage1648091792547v1.png

    Step 3: Set Condition:

    Regarding is a unique identifier for the object associated with the email, so you can use it as condition to get the email in the lead form.

    pastedimage1648091828359v2.png

    Step 4: Add ‘List rows’ action:

    The 'Senton' field is not empty and is sorted in ascending order, you can get the first email record.

    pastedimage1648091904031v3.png

    Step 5: Add ‘Update a row’ action:

    Update first email 0323 and recent email 0323 fields with value from Step4.

    pastedimage1648093476863v5.png

    Result:

    pastedimage1648091966975v4.png

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 117 Super User 2025 Season 2

#2
MVP-Daniyal Khaleel Profile Picture

MVP-Daniyal Khaleel 115

#3
Erin Lubben Profile Picture

Erin Lubben 66

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans