Skip to main content

Using the email action in Flow is there a way to reference the multiple objects?  Example: We have Events and Event Registrations and Attendees. In the Flow we trigger the email alert off of the Event Registration, and we use "get records" to bring in Attendee information. We need to reference fields from BOTH objects in the Email, but the Lightning Template won't pull in the merge fields, unless we use a Text Template instead of the Lightning Template. Has anyone found a way to use lightning templates in a multi object flow? 

1 answer
  1. Feb 2, 2022, 6:01 PM

    Hey Dawn, 

     

    Email templates don't allow you to directly reference cross-object fields, but what you could do is create formula fields on the Event Registration object that pull down from the Event and Attendee objects. Then, you could reference those formula fields in your email template. 

     

    The one exception to this is a Visualforce Email template, in which you could reference related fields, however you would have to write all the HTML for the rest of the email content. 

     

    Thanks,

    Mikey

0/9000