Get Recipient’s Email Address

Retrieve the recipient’s email address from the lead record.

Required Editions

Available in: Lightning Experience.
Available in: Enterprise and Unlimited Editions
User Permissions Needed
To open, edit, or create a flow in Flow Builder: Manage Flow
To run a flow: Run Flows
  1. From the Elements panel, drag Get Records onto the canvas.
  2. Enter a name, such as Get Lead Email, and an API name, such as Get_Lead_Email for the element.
  3. In the Object field, select Lead.
  4. From the Condition Requirements dropdown, select All Conditions Are Met (AND).
  5. Add this condition:
    • Id in Field
    • Equals in Operator
    • {!$Record.ParentRecordId} in Value
  6. For How Many Records to Store, select Only the first record.
  7. For How to Store Record Data, select Choose fields and assign variables (advanced).
  8. Under Select Variable to Store Lead, in the Record field, click + New Resource.
  9. In the New Resource dialog:
    1. From the Resource Type dropdown list, select Variable.
    2. Enter an API name, such as LeadRecord for the record.
    3. From the Data Type dropdown list, select Record.
    4. In the Object field, select Lead, and then click Done.
  10. In the Field field, select Email.
  11. Select When no records are returned, set specified variables to null, and then click Done.
  12. Connect the Start element with the Get Records element.
  13. Select Run Asynchronously as the Scheduled Path, and then click Done.

Add a Get Records element to retrieve service resource ID.