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
          Add a Screen Flow to a Public Experience Cloud Site

          Add a Screen Flow to a Public Experience Cloud Site

          Create an Experience Cloud site that's available to everyone and add a flow component to a page in the site and select an active screen flow. You can link to the flow page from your company's website. Use this method to share flows with external users who don't have a Salesforce license, such as customers, partners, or other external users. Because users aren't logging into your site, you don't need to purchase Experience Cloud licenses.

          Required Editions

          View supported editions.
          Important
          Important To send email from Salesforce, the Send Email action in Salesforce Flow requires domain-level and user-level email verification. Email delivery fails if either the user's email address or the email-sending domain is unverified. See Requirements to Send Email from Salesforce.

          Adding a flow to an Experience Cloud site without having users login is great for flows where you’re just collecting information. For example, create a screen flow that collects a person's name and email and then create a lead record by using that collected information. Name your flow page Join Our Email List!.

          Adding a flow to an Experience Cloud site is similar to adding a flow to a Lightning page. Flows on Experience Cloud sites work well for:

          • Surveys
          • Registration forms
          • Lead capture forms
          Note
          Note
          • The Flow component doesn't show the flow in design or preview mode. Publish and activate the site to test the flow.
          1. Create a screen flow. Learn more in Get a Basic Screen Flow Ready for Users or in the Screen Flow Trailhead Module.
            1. In your screen flow, click the gear to open the flow properties.
            2. Click Show Advanced.
            3. For How to Run the Flow, select System Context Without Sharing.
            4. If your flow is sending an email, in the Send Email action element, set the sender to a verified organization-wide email address.
            5. Save your flow as a new version.
            6. Click Activate.
          2. Set up access to your flow.
            • 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.
            1. Click the actions menu dropdown for your flow and select Edit Access.
            2. Select Override default behavior and restrict access to enabled profiles or permission sets..
            3. Click Save.
          3. Enable Digital Experiences. If it's already enabled, skip to the next step.
            1. From Setup, in the Quick Find box, enter Digital Experiences, and then click Settings under Digital Experiences.
            2. Click Enable Digital Experiences.
            3. Click Save.
          4. Create an Experience Cloud site.
            1. In the Digital Experiences All Sites page in Setup, click New.
            2. Select the Build Your Own (LWR) template, and then click Get Started.
            3. Enter a name and end of URL for your site and click Create.
              After a few minutes, your new site opens.
            4. Click the Builder card.
          5. Create a page to put the flow on.
            1. Click Home to open the Pages menu.
            2. Click + New Page.
            3. Select Standard Page.
            4. Click + New Blank Page.
            5. Give the page a name and URL. For example, Join Our Email List and join-our-email-list.
          6. Add the flow to the page.
            1. Click the lightning icon to open the Components list.
            2. Click and drag the Flow component on to the page.
            3. In the Flow component settings, for Flow, select the active screen flow that you want to show on the page.
            4. If the flow includes variables that are available for input, the variable fields appear in the property editor. Enter a value for each variable or leave the fields blank.
          7. Add any other additional text or styling to the page.
            Learn more about building an Experience Cloud site in Build and Customize Your Experience Cloud Site.
            Consider adding your logo to the page by using an Image component so users can tell it's a legitimate web page.
          8. Give unauthenticated guest users access to your site and flow.
            1. Click the gear to open Settings.
            2. In the General section, for Public Access, select Guest users can see and interact with the site without logging in.
            3. Under Guest User Profile, click the site profile. For example, click Join Our Email List Profile.
              The profile opens in Setup in a new browser tab.
            4. Search for and select Flow Access.
            5. Add your screen flow to the Enable Flows list and click Save.
          9. Publish and activate your site.
            1. Go back to your Experience Cloud site.
            2. Click Publish, and then click Publish again to confirm.
              When the site is published, you receive an email.
            3. After the site is published, in Setup, search for and select All Sites.
            4. Click Workspacesnext to your Experience Cloud site.
            5. Click the Administration card.
            6. In the Settings section, click Activate.
          10. Give unauthenticated guest users access to public APIs.
            Because we selected a Lightning runtime (LWR) template, this step is required.
            1. In the Administration workspace, in the Preferences section, select Allow guest users to access public APIs and then click Save.
          11. Test your flow.
            1. Go back to the Digital Experiences All Sites page in Setup.
            2. Click Builder next to your Experience Cloud site.
            3. Click the gear to open Settings.
            4. Under Published Status, copy the URL.
            5. Paste the URL into the address bar of a new incognito browser window.
              Use an incognito window to mimic the experience of a user who isn't logged into your org.
            6. Back in Experience Builder, go to your page with the flow on it.
            7. Click the gear near the pages menu to open the page Properties.
            8. Copy the page URL and paste it after the base URL in the incognito window.
            9. Press the enter key and see your flow on the web page.
            Now, you can use that full URL to link to the screen flow.
           
          Loading
          Salesforce Help | Article