Embed Your Flows in Lightning Pages (Beta)

We’re rolling out a Flow component for the Lightning App Builder. You can now add flows to any Lightning Page—App pages, Record pages, and Home pages alike. All Lightning Pages are available in Lightning Experience. App pages are available in all versions of the Salesforce1 mobile app.
Note

Note

This release contains a beta version of the Flow component for Lightning Pages, which means it’s a high-quality feature with known limitations. The Flow component isn’t generally available unless or until Salesforce announces its general availability in documentation or in press releases or public statements. We can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features. You can provide feedback and suggestions for the Flow component for Lightning Pages in the IdeaExchange.

Add the Flow component to your Lightning Pages just like you would any other component.

Your flow might need the ID of the record that it’s operating on, but don’t worry! When you configure the Flow component for a Record page, you can identify to which Text variable to pass the record ID.

Example

Here’s how a flow called Survey Customers appears when embedded in a Record page in Lightning Experience.

A flow embedded in a Record page

Changes Since Last Release

We changed how you pass the record ID from a Record page into a flow. Previously, you configured a variable with a specific name. Now you can pass the record ID to any Text variable, no matter what your naming convention is. To do so, select the checkbox under the appropriate Text variable.

Two Text variables in the Lightning App Builder property editor

If you created a Text input variable called recordId for the flow component during Winter ’17, the checkbox is automatically selected when your org upgrades to Spring ’17. This default selection happens only when your org upgrades to Spring ’17. If you create a Text variable called recordId in Spring ’17 or later, the checkbox is not selected by default.