> ## Documentation Index
> Fetch the complete documentation index at: https://koreai.mintlify.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Dialog Execution

Dialog flow can continue in the list view by providing values from the user or agent.

## DIALOG\_WRAPPER

Contains:

* All entity and message nodes
* Dialog start/end nodes
* Feedback
* Interaction elements

```
aaWindowInstance.on('BEFORE_VIEW_INIT', (html, payload) => {
   if(payload.event === 'DIALOG_WRAPPER'){
       	// Customize dialog wrapper if required.
   	   }
});
```

## DIALOG\_START\_TEMPLATE

Display a dialog start banner when initiating a new dialog.

```
aaWindowInstance.on('BEFORE_VIEW_INIT', (html, payload) => {
   if(payload.event === 'DIALOG_START_TEMPLATE'){
       	// Customize dialog start template if required.
   	   }
});
```

## ASK\_CUSTOMER\_TEMPLATE

Appears in a dialog or as small talk. Emit an event before rendering. Default title: **Ask Customer**.

```
aaWindowInstance.on('BEFORE_VIEW_INIT', (html, payload) => {
   if(payload.event === 'ASK_CUSTOMER_TEMPLATE'){
       	// Customize ask customer template if required.
   	   }
});
```

## ATTACHMENT\_VIEW

Handles user interface (UI) for uploading files as attachments. Emit an event to manage the attachment template.

```

aaWindowInstance.on('BEFORE_VIEW_INIT', (html, payload) => {
   if(payload.event === 'ATTACHMENT_VIEW'){
       	// Customize attachment view template if required.
   	   }
});
```

## TELL\_CUSTOMER\_TEMPLATE

Appears in a dialog or as small talk. Emit an event before rendering. Default title: **Tell Customer**.

```
aaWindowInstance.on('BEFORE_VIEW_INIT', (html, payload) => {
   if(payload.event === 'TELL_CUSTOMER_TEMPLATE'){
       	// Customize tell customer template if required.
   	   }
});
```

## DIALOG\_END\_TEMPLATE

Displays dialog-end text and feedback options on termination or completion.

```
aaWindowInstance.on('BEFORE_VIEW_INIT', (html, payload) => {
   if(payload.event === 'DIALOG_END_TEMPLATE'){
       	// Customize dialog end template if required.
   	   }
});
```

## TERMINATE\_POPUP\_TEMPLATE

This event displays a popup with options **Yes, Terminate**, **No, Cancel**, or **Continue with Override Mode**.

## INTERRUPT DIALOG

### INTERRUPT\_POPUP\_TEMPLATE

It displays an interrupt popup with options when an automation is running and another dialog suggestion is selected.

* **Run Later** add the dialog to the interrupt list.
* **Accept and Run**, **Run Later**, or **Cancel** options to manage active automation.

### INTERRUPT\_DROPDOWN\_ITEM\_TEMPLATE

**Run Later**: Add the dialog to the interrupt list.

### LIST\_VIEW\_TEMPLATE

**List View** on the assist banner displays previously filled entity nodes.
