You are here:
Embed a Screen Flow in a Navigation Tab in Your Org
Add an active screen flow to a navigation tab in your org, using the flow's web address (URL). Users can open the tab and then run the screen flow from there.
Required Editions
| View supported editions. |
| User Permissions Needed | |
|---|---|
| To open, edit, create, activate or deactivate a flow using all flow types, elements, and features available in Flow Builder, including Einstein and Agentforce for Flow: | Manage Flow |
Create the Flow
Create a screen flow to embed in the tab.
-
Open the Flows list view.
- From Setup, in the Quick Find box, enter Flows, and then select Flows.
- From the Automation app, select the Flows tab.
- From the Flows tab in any Lightning app, click the actions menu and select Open Flow.
-
Create a screen flow.
- From the Automation app, click New. Then select or Screen Flow.
- From Setup, click New Flow. Then select Screen Flow.
Flow Builder opens. -
Optionally, add variables to store inputs to send to the flow.
-
To open the Toolbox, click
.
- Click New Resource, and then select Variable.
- Enter an API name and description .
- select a data type.
- Select Available for input.
- Click Done.
-
To open the Toolbox, click
-
Add elements to your flow to perform the actions you want.
For example, if the flow has the ID of the contact sent into the flow, you can use a Send Email action to email the contact by setting Record ID to the recordId variable.
- Save the flow.
- Test the flow by clicking Debug and using test data.
- Click Activate.
Note You can also run an autolaunched flow from a navigation tab. It starts running when the
URL is clicked, the navigation tab opens, and your users see a message that the flow
finished.
Get Your Flow's URL
- From Setup, in the Quick Find box, enter Flows, and then select Flows.
-
For the flow that you want to run, click
, and select View Details and Versions.
-
Copy the flow URL, and add it to the end of your org's URL.
The format of the flow URL is /flow/My_Flow.For example:
https://yourDomain.my.salesforce.com/flow/MyFlowNameIf the flow was installed from a managed package, include the namespace prefix in the flow URL. For example:https://yourDomain.my.salesforce.com/flow/namespace/MyFlowNameIf the flow is run from a page hosted on an Experience Cloud site, include the full site path in the flow URL.https://x.my.site.com/mysitepath/s/flow/myFlowName - Optionally, send input values to the flow when it runs. Learn about adding input values to the URL in Send Variable Values to a Flow Using the Flow's URL.
Note Using Lightning instead of Lightning Out isn't supported on navigation tabs. So, if you
add /lightning before your flow's URL, you many have unexpected
results.
Create a Web Tab
- From Setup, in the Quick Find box, enter Tabs, and then select Tabs.
- In the Web Tabs section, click New.
- Select your page layout, and click Next.
- Enter a value for Tab Label, and let the Tab Name autofill.
- Select a value for Tab Style, and click Next.
-
In the Button or Link URL text box, paste the full URL that includes your org's URL and
your flow's URL.
For example,
https://mydomain.my.salesforce.com/flow/MyFlowName. - Click Next and then Next.
- Save your work.
Note Optionally, you can customize what happens when the flow ends. To learn more, see Customize Flow Finish
Behavior.
Users can go to the navigation tab in your org and run the screen flow from there.
Did this article solve your issue?
Let us know so we can improve!

