Loading
Salesforce now sends email only from verified domains. Read More
Automate Your Business Processes
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Distribute a Flow by Sharing Its URL

          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.

          1. 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.
          2. Create an autolaunched flow or a screen flow.
            1. From the Automation app, click New. Then select the Autolaunched Flow (No Trigger) tile or the Screen Flow tile.
            2. From Setup, click New Flow. Then select the Autolaunched Flow (No Trigger) tile or the Screen Flow tile..
            Flow Builder opens.
          3. Optionally, add variables to store inputs to send to the flow.
            1. To open the Toolbox, click Toolbox icon..
            2. Click New Resource, and then select Variable.
            3. Enter an API name and description .
            4. select a data type.
            5. Select Available for input.
            6. Click Done.
          4. 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.
          5. Save the flow.
          6. Test the flow by clicking Debug and using test data.
          7. Click Activate.

          Get Your Flow's URL

          1. From Setup, in the Quick Find box, enter Flows, and then select Flows.
          2. For the flow that you want to run, click Show actions, and select View Details and Versions.
          3. Copy the flow's URL.
            The format of the URL is /flow/My_Flow.

          Prepare URL for Sharing

          1. Append the flow URL to your org's URL. Then, add /lightning to the start of the URL.
            Note
            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/MyFlowName
            If 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/MyFlowName
            If 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
          2. To set the initial values of your flow's variables, append ?flow__variable1=value1&flow__variable2=value2 to 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
          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.

           
          Loading
          Salesforce Help | Article