In Salesforce Lightning Experience, the Phone and Email fields do not appear on Task or Event records. These fields are available in Salesforce Classic for the Task and Event objects. If a Contact or Lead is associated with a Task or Event, the Phone and Email fields display in Lightning Experience when you hover over the Contact or Lead name.
This article describes a workaround using custom lookup fields, formula fields, and a Salesforce Flow to display Contact or Lead phone and email information directly on Task and Event records in Lightning Experience.
The following steps describe how to create custom lookup fields, formula fields, and a Salesforce Record-Triggered Flow to display Contact or Lead Phone and Email values on Tasks and Events in Lightning Experience.
Create two custom Lookup fields on the Activity object — one for Contact and one for Lead.
Create two custom formula fields on the Task or Event object to capture Phone and Email from the Contact or Lead lookup field.
Email formula: Case(LEFT(WhoId, 3), '00Q', cLead__r.Email, '003', cCntct__r.Email, 'Other')
Phone formula: Case(LEFT(WhoId, 3), '00Q', cLead__r.Phone, '003', cCntct__r.Phone, 'Other')
These formulas check the WhoId prefix to determine whether the related record is a Lead (prefix 00Q) or a Contact (prefix 003) and return the appropriate Phone or Email value.
Go to Setup, search for Flow, and click New Flow. Select Record-Triggered Flow and click Create. Configure the flow as follows:
Add an Assignment element (label: RecordAssign) to assign the WhoId value to a Text variable named RecordCheck.
Add a Decision element (label: Lead OR Contact) with two outcomes:
Add Update Records actions for each outcome to populate cCntct__c or cLead__c with the RecordCheck value. Save and activate the flow. Create a similar flow for Event records.
This field update action copies Phone and Email values from the first associated Contact record only. If a Task has 10 Contacts associated through the Name field, only the first Contact's Phone or Email is copied.
See Also:
Idea Exchange: Include Contact/Lead Phone and Email on Task Detail in Lightning Tasks page
000382252

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.