#SalesforceSummer25 – Fetch Related Records from Multiple Objects in Flow Using a Single Element

#1MinuteTip #SalesforceSummer25 A powerful new enhancement in Flow Builder allows you to get related records from multiple objects (like Contacts, Cases, and Opportunities etc.) directly using a single “Get Records” element.

Previously, you managed related records by adding separate Get Records elements.

With the Get Records element, you can select related object relationships, which can help you reflect complex business logic. Related records in the Get Records element are available in screen flows, autolaunched flows, and template-triggered prompt flows.

Product Area: Flow

1. In the ‘Get Records’ element, click ‘Also get related records’ and click ‘Select Related Records’

Screenshot showing the Get Records element with the “Also get related records” checkbox enabled in Flow Builder.

2. Select child objects like Contacts related to Account in the Related Records configuration screen.

Selecting child objects like Contacts related to Account in the Related Records configuration screen.

3. Select the object and the fields that you want to retrieve.

Select the object and the fields that you want to retrieve.

4a. Following the previous steps, add other related objects like Cases & Opportunities.
4b. Select each of the related object and click on Filter, Sort, Store tab to specify the filter condition and the sort option for the selected object.

Overview of selected related objects including Contacts, Cases, and Opportunities in the Related Records dialog.

4c. For each related record object, specify how many records to store.

For the selected related record object, also specify how many records to store.

5. Navigate to ‘Preview’ tab to preview your selections before saving configuration. Click ‘Save’.

Preview of selected related objects and their fields before saving configuration.

6. To refer to the related records collection, select the element ‘Get Account & Its Related Contacts, Cases & Opportunities’ -> ‘Contacts’

Loop element in Flow Builder showing iteration through related Contact records from Get Records result.

References & Useful URLs

  • For Related Summer ’25 Release Note Article – Click Here

Want to Receive these Tips in your Inbox?

Finding it overwhelming to keep pace with Salesforce’s new release features? Try our “1 Day 1 Tip 1 Minute” emails, where you are going to get 1 tip every day that won’t take more than a minute to read. To find out more and subscribe please click here.

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Scroll to Top