Configure the Open Flow Dialog to open a flow by clicking a button
Last updated
Last updated
This tutorial guides you through configuring the Open Flow Dialog to launch a Salesforce flow when a user clicks an Avonni Button component on your Salesforce Experience Cloud site. The flow can be built and enhanced using various Avonni Components for flows, offering a seamless and integrated user experience.
Displaying Flows in Dialog Boxes
When using the "Open Flow Dialog Interaction" feature to show a flow in a dialog box, it's important to ensure the flow is configured correctly. Here's the key:
Place the Flow on Your Site: The flow you want to display must be added to your Experience Cloud site. You can add it to any page, even if that page is not accessible to visitors.
Publish Your Site: Once the flow is added to your site, publish the site. This allows the system to locate and load the flow when opening the dialog box.
Why is this necessary?
Think of it like this: you can't show something in a dialog box if it doesn't exist somewhere on your site. Adding the flow to your site makes it available for Experience Cloud to use when needed.
Important Note
The flow does not need to be on a visible page, but it must be present somewhere within your site's structure. This ensures the flow is loaded correctly when the dialog box is triggered.
Ensure that you have set up your flow to allow guest users access if your sites are accessible to guest users.