# Show Confirmation Popup

{% hint style="info" %}
**Block Information**

Available in: Page Flow

Toolbox Category: Action

Block Type: [Regular](/app-editor/page-flow/block-anatomy.md#regular-block)
{% endhint %}

The **`Show Confirmation Popup`** block is used to present a [modal](https://en.wikipedia.org/wiki/Modal_window) popup containing a message or any other information to be shown the user. The modal popup presents both the OK and the Cancel buttons. This block is designed to get a confirmation from the user before carrying out subsequent actions.

<div align="left"><figure><img src="/files/yPm6kqegGBKM4Fia2UFf" alt="" width="370"><figcaption><p>Show Confirmation Popup block</p></figcaption></figure></div>

The block consists of the following (from top to bottom):

* *Title*: [Value Parameter](/app-editor/page-flow/block-anatomy.md#value-parameters) that accepts a [*text*](/app-editor/page-flow/references/value-types.md) value to use for the title of the popup.
* *Message*: [Value Parameter](/app-editor/page-flow/block-anatomy.md#value-parameters) that accepts a [*text*](/app-editor/page-flow/references/value-types.md) value to use for the message to be shown.
* *Customization*: Optional [Value Parameter](/app-editor/page-flow/block-anatomy.md#value-parameters) that accepts a [*object*](/app-editor/page-flow/references/value-types.md) value with properties for [customizing the popup](/app-editor/page-flow/references/popup-customization.md).
* *OK Tasks:* a [Flow Parameter](/app-editor/page-flow/block-anatomy.md#flow-parameters) where you connect blocks that specify what you want done if the user chooses the OK option.
* *Cancel Tasks*: a [Flow Parameter](/app-editor/page-flow/block-anatomy.md#flow-parameters) where you connect blocks that specify what you want done if the user chooses the Cancel option.

***

## Usage Example

The image below shows an example of the Show Confirmation Popup block used confirm before proceeding to delete a record from the app's database.

<figure><img src="/files/lRJDQiM9C7iF75PZuPqD" alt=""><figcaption><p>Example of Show Confirmation Popup block</p></figcaption></figure>


---

# Agent Instructions: 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:

```
GET https://docs.zingy.ai/app-editor/page-flow/toolbox-blocks/show-confirmation-popup.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
