How to Allow Guest Users to Access Flows

How to Allow Guest Users to Access Flows

Run Flows is a permission to allow users to run flows in Salesforce. For a long time, it was possible to give this permission through profiles and permission sets. However, in Spring '23 release, Salesforce removed this permission from the Guest User profile in all orgs. Since it is not possible to assign permission sets to guest users, it is not possible to give this permission through permission sets either. To allow guest users access your flows, you need to grant individual access to each flow that you want them to access.

Run Flows Permission

Here is how to allow guest users access to flows.

Giving Permission to Guest User Profile

Go to flows in setup, find the screen flow, and from the actions dropdown next to the flow, select Edit Access. Select "Override default behavior and restrict access to enabled profiles or permission sets." and then choose the profiles that can use this flow. However, you won't be able to see the guest user profile here.

Edit Access to Allow Guest Users to Access Flows

Go to the Experience Builder of your site and click settings. Select "Guest users can see and interact with the site without logging in" and then click the name of the profile. For instance, "Survey Profile".

Mark Public Access

Scroll down to the Enabled Flow Access and add your flow to the list. This will grant access to the selected flows.

Enabled Flow Access for Guest Users

Read this post to see how to create a public survey using screen flow.

Here is a link of a public Experience site with a screen flow. Since it is public, guest users (anyone) can run it. Go ahead and play with it!

12 Comments

  1. Thanks much! I never would have figured out that I needed to go into Experience Builder to override default behavior before I would see the flow in the list of flows to enable. That must have taken a bunch of trial and error.

  2. Do this support other kinds of flow?
    For example I have written a record trigger flow to send email notification once the record is created from portal,

    • I'm using record trigger flow to send emails to consumers who complete the form on the experience site, but the trigger isn't sending any emails. Then I adjusted my flow version to 59, and everything worked properly.

  3. If you have a Force.com site like me, there is no Experience Builder.

    This is what you have to do to get things working:

    Go to the Flow -> Edit Access
    Click Override Default Behavior. The guest user profile is NOT available but that’s fine. Click Save
    Now go back to the site -> Public Access Settings -> Flow Access
    Click Edit
    The flow is now available to select. Pick it and Save

  4. Thanks Yumi! I remembered this post from while back, and when I encountered this issue today, I quickly figured it out using this post... I really appreciate it!

Leave a Reply

Your email address will not be published.


*