> 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/flow/component-builder/interactions-panel/open-alert-modal.md).

# Open Alert Modal

The Open Alert Modal interaction displays an important message in a modal dialog that the user must acknowledge before continuing.

## Overview

The Open Alert Modal interaction displays an alert message inside a modal to notify a user about a communication you want to make.

Use the Open Alert Modal for one of these types of information:

* **Neutral or general information.** Use this when you are notifying a user of a change.
* **Warning.** Use this for critical information that will help a user avoid an issue.
* **Error.** Use this for critical information preventing a user from continuing a flow and if there's action required on their end to resolve the issue.

<figure><img src="https://27923732-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1FUd4apB9YHgCEMUFbVb%2Fuploads%2Fgit-blob-c335229e0afe72edb39d3e6f7cc1b042e499264e%2F2022-11-03_21-26-21.png?alt=media" alt=""><figcaption></figcaption></figure>

## Configuration

### Accessing the Alert Modal action

{% @arcade/embed url="<https://app.arcade.software/share/MAyRL4WQCm0Lp9ZSjW6Q>" flowId="MAyRL4WQCm0Lp9ZSjW6Q" %}

### Specifications

<table><thead><tr><th width="214">Property</th><th>Description</th></tr></thead><tbody><tr><td><strong>Label</strong></td><td>Text that will be displayed in the header.</td></tr><tr><td><strong>Message</strong></td><td>Main content message for your alert box.</td></tr><tr><td><strong>Variant</strong></td><td>Appearance of the alert modal. With or without a header.</td></tr><tr><td><strong>Theme</strong></td><td>Specify a color theme for a header. Possible choice: <strong><code>Default</code></strong>, <strong><code>Shade</code></strong>, <strong><code>Inverse</code></strong>, <strong><code>Alt Inverse</code></strong>, <strong><code>Success</code></strong>, <strong><code>Info</code></strong>, <strong><code>Warning</code></strong>, <strong><code>Error</code></strong>, <strong><code>Offline</code></strong>.</td></tr><tr><td><strong>On Close</strong></td><td>Ability to add a subsequent interaction when the end-user closes the alert modal.</td></tr></tbody></table>


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.avonnicomponents.com/flow/component-builder/interactions-panel/open-alert-modal.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
