> For the complete documentation index, see [llms.txt](https://docs.avonnicomponents.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.avonnicomponents.com/experience-cloud/properties-panel/interactions/open-confirm.md).

# 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 Modal 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

## Configuration

| Name             | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| ---------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **`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`**    | <ul><li><code>header</code>: The modal includes a header.</li><li><code>headerless</code>: The modal does not include a header</li></ul>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| **`Theme`**      | <ul><li><p>Defines the visual styling of the modal. Options include:</p><ul><li><code>default</code>: Standard look and feel.</li><li><code>shade</code>: A slight shadow or overlay.</li><li><code>inverse</code>: Colors are inverted.</li><li><code>alt inverse</code>: An alternative to the standard inverse.</li><li><code>success</code>: Green theme indicating a successful action or state.</li><li><code>info</code>: Blue theme for informational messages.</li><li><code>warning</code>: Yellow/orange theme for cautionary messages.</li><li><code>error</code>: Red theme for error messages.</li><li><code>offline</code>: Indicates lack of connectivity or offline status.</li></ul></li></ul>     |
| **`On Confirm`** | <p>The interactions to run when the user confirms the action. Accepted interactions:</p><ul><li><code>Show Toast</code>: Displays a brief message at the top of the page. <a href="/experience-cloud/properties-panel/interactions/show-toast.md">Learn more</a>.</li><li><code>Open Flow Dialog</code>: Initiates a Salesforce flow in a dialog box. <a href="/experience-cloud/properties-panel/interactions/open-flow-dialog.md">Learn more</a>.</li><li><code>Open Flow Panel</code>: Runs a Salesforce flow in a side panel. <a href="/experience-cloud/properties-panel/interactions/open-flow-panel.md">Learn more</a>.</li><li><code>Refresh All Queries</code></li><li><code>Refresh Query</code></li></ul> |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.avonnicomponents.com/experience-cloud/properties-panel/interactions/open-confirm.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
