Open Confirm
Prompt users with a confirmation dialog before an action runs, requiring them to explicitly confirm or cancel to prevent unintended operations.
Overview
The Open Confirm interaction in Salesforce Experience Cloud is designed to prompt users with a confirmation dialog when an action that requires verification is initiated. This helps prevent unintended operations by requiring user affirmation.
In a component's interaction Type dropdown it appears as Open Confirm Dialog.
Configuration
Label
The title of the confirm modal usually posing a question or decision.
Message
The body text provides details about the action that needs confirmation.
Variant
Header(default): The modal includes a header.Headerless: The modal does not include a header
Theme
Defines the visual styling of the modal. Options include:
Default(default): Standard look and feel.shade: A slight shadow or overlay.inverse: Colors are inverted.alt inverse: An alternative to the standard inverse.success: Green theme indicating a successful action or state.info: Blue theme for informational messages.warning: Yellow/orange theme for cautionary messages.error: Red theme for error messages.offline: Indicates lack of connectivity or offline status.
On Confirm
The interactions to run when the user confirms the action. Accepted interactions:
Show Toast: Displays a brief message at the top of the page. Learn more.Open Flow Dialog: Initiates a Salesforce flow in a dialog box. Learn more.Open Flow Panel: Runs a Salesforce flow in a side panel. Learn more.Refresh All Queries: Re-runs every query data source on the page.
On components that support a flow panel, Open Flow Panel is offered as well.
Example
Imagine you want a partner to confirm before a case is closed from a list's row action:
On the row action, set the interaction Type to Open Confirm Dialog.
Set the Label to "Close this case?" and the Message to "The case can't be reopened from the portal."
Leave the Variant on
Headerand pick theWarningTheme so the dialog reads as a caution.Under On Confirm, add the interaction that actually closes the case — for example Open Flow Dialog running your Close Case flow — followed by Refresh All Queries so the list reflects the change.
Nothing runs unless the user confirms: cancelling the dialog ends the chain.
Important Considerations
Put the irreversible action behind On Confirm, never before the dialog — the interaction only branches on confirmation.
Phrase the Label as the question and the Message as the consequence, so the two buttons read unambiguously.
Refresh Query is not available in Experience Sites; use Refresh All Queries to refresh data after a confirmed action.
Last updated
Was this helpful?
