Pass In the Record When Launching a Flow from a Lightning Page or a Quick Action
Where: This change applies to Lightning Experience, Salesforce Classic, and all versions of the mobile app in Essentials, Professional, Enterprise, Performance, Unlimited, and Developer editions.
Why: Previously, passing records into a flow from a Lightning page or a quick action required extra configuration steps. For a quick action, you created a text variable named “recordId” and added a Get Records element to your flow. For a Lightning page, you created a text variable, configured Lightning App Builder to set that variable, and used a Get Records element. Now Lightning Flow does most of the work for you.
How: For a quick action, all you do now is create a record variable in your flow named “recordId” and ensure that it’s available for input.
For a Lightning page, simply select Pass all field values from the record into this flow variable in Lightning App Builder.