You are here:
Distribute a Flow by Sharing Its URL
Distribute your screen flow or autolaunched flow by sharing its web address (URL).
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 an autolaunched flow or screen flow to launch from the link.
-
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 an autolaunched flow or a screen flow.
- From the Automation app, click New. Then select the Autolaunched Flow (No Trigger) tile or the Screen Flow tile.
- From Setup, click New Flow. Then select the Autolaunched Flow (No Trigger) tile or the Screen Flow tile..
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.
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's URL.
The format of the URL is /flow/My_Flow.
Prepare URL for Sharing
-
Append the flow URL to your org's URL. Then, add /lightning to the
start of the URL.
Note We recommend using Lightning experience and adding /lightning to the beginning of your flow URL. However, if you don't add /lightning to the flow URL, it still works, you just don't get the new benefits of running in Lightning. To learn more, see Choosing Between Lightning and Non-Lightning Flow URL Formats.For example:https://yourDomain.my.salesforce.com/lightning/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/lightning/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/lightning/flow/myFlowName -
To set the initial values of your flow's variables, append
?flow__variable1=value1&flow__variable2=value2to the URL.To learn more about sending variable values to your flow, see Send Variable Values to a Flow Using the Flow's URL
Note Optionally, you can customize what happens when the flow ends. To learn more, see
Customize Flow Finish
Behavior.
Now you can share the flow's web address (URL). When a user clicks the link, the screen flow or autolaunched flow starts running.
Did this article solve your issue?
Let us know so we can improve!

