---
schema_version: "1"
id: 5b59409acd2e3e975e232e96d6846c60a19fea4f818266a5eb10917778849d9c
title: Distribute a Flow by Sharing Its URL
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/platform/264-0-0/automate_flow_distribute_internal_url_url.md
canonical_url: https://help.salesforce.com/s/articleView?id=platform.automate_flow_distribute_internal_url_url.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: cb3a4ca59957f449c217b521ec00f1ae728899ef1cd5668fd0cc3eafd01830ff
description: Distribute your screen flow or autolaunched flow by sharing its web address (URL).
products:
  - Flow Builder
  - Salesforce Platform
release: "264"
---
# Distribute a Flow by Sharing Its URL

Distribute your screen flow or autolaunched flow by sharing its web address (URL).

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;"><a href="https://help.salesforce.com/s/articleView?id=platform.flow_ref_supported_editions.htm&amp;release=264.0.0&amp;type=5" title="Learn about the editions and user interfaces that support Flow Builder. Some Flow Builder features integrate with other Salesforce products that require additional licenses.">View supported editions.</a></td></tr></tbody></table>

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
        <colgroup>
          <col style="width:50%">
          <col style="width:50%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:left;vertical-align:top;" id="d213886e61">User Permissions Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d213886e61 ">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:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d213886e61 ">Manage Flow</td>

          </tr>
        </tbody>
      </table>

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-platform_automation-264-0-0-production-enus/60568438-ec7e-4665-acd1-7c80dcbe60d5/images/icon_note.png)

Note You don't need to be an admin to have the Manage Flow permission. Ask your admin to add it to your profile or permission set.

## Create the Flow

Create an autolaunched flow or screen flow to launch from the link.

1. Open the Flows list view.
    
    - From the Automation app, select the **Flows** tab.
    - From the **Flows** tab in any Lightning app, click the actions menu and select **Open Flow**.
    - From Setup, in the Quick Find box, enter Flows, and then select **Flows**.
    
    Note that the Automation app and Flows tab options don't require Setup access.
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.](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-platform_automation-264-0-0-production-enus/60568438-ec7e-4665-acd1-7c80dcbe60d5/platform_automation/images/flow/automate_flow_build_example_use_online_form_create_record/automate_flow_build_example_use_online_form_create_record_toolbox.png).
    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](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-platform_automation-264-0-0-production-enus/60568438-ec7e-4665-acd1-7c80dcbe60d5/platform_automation/images/flow_list_enhanced_dropdown_icon.png), 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](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-platform_automation-264-0-0-production-enus/60568438-ec7e-4665-acd1-7c80dcbe60d5/images/icon_note.png)
    
    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](https://help.salesforce.com/s/articleView?id=platform.flow_distribute_internal_url_lightning_vs_lightning_out.htm&release=264.0.0&type=5 "When you run a screen flow from a URL, you can choose between using Lightning or the non-Lightning URL format, which uses Lightning Out. We recommend using Lightning for a faster, more consistent experience. However, there are times when you need to use the non-Lightning format.").
    
    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](https://help.salesforce.com/s/articleView?id=platform.flow_distribute_internal_url_variable.htm&release=264.0.0&type=5 "When you distribute a flow by using a URL, you can set variables values within that flow by using parameters in the URL.")

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-platform_automation-264-0-0-production-enus/60568438-ec7e-4665-acd1-7c80dcbe60d5/images/icon_note.png)

Note Optionally, you can customize what happens when the flow ends. To learn more, see [Customize Flow Finish Behavior](https://help.salesforce.com/s/articleView?id=platform.flow_distribute_internal_url_returl.htm&release=264.0.0&type=5 "By default, after a user finishes a screen flow, the screen flow redirects the user to the first screen. If you want to redirect users to another page within Salesforce when they click Finish, use the retURL parameter in the flow URL.").

Now you can share the flow's web address (URL). When a user clicks the link, the screen flow or autolaunched flow starts running.