Thursday, December 3, 2026 | London 11°C · Drizzle
DailyGlimpse

AI

How to Insert a Related List into an Email Template Using Salesforce Flow

CRM Tutorials Library 1 min read

In this tutorial, we explore how to dynamically insert a related list into an email template using Salesforce Flow. This technique allows you to include customized, data-driven lists—such as recent opportunities or cases—directly within your email communications, enhancing relevance for recipients.

To begin, open Salesforce Flow and create a new record-triggered flow. Choose the object that will trigger the email (e.g., Account). Add a Get Records element to retrieve the related records you want to list, filtering by criteria such as status or date. Then, add a Loop element to iterate through the records and build a text variable containing formatted list items, using HTML for structure (e.g., <li> tags). Finally, use a Send Email action, referencing the constructed HTML variable in the email body. Test the flow to confirm the list appears correctly in the email.

This approach eliminates manual updates and ensures your emails always contain the most current related data.

React