![](https://help.apple.com/assets/5E8CEA35094622DF10489984/5E8CEA42094622DF1048998D/en_AU/c10e8a839dc838a25d0feb0e9e428a0a.png)
Use the Show Alert action in a shortcut
The Show Alert action presents an arbitrary dialog at runtime. The dialog contains a title, a description, an OK button (to continue the shortcut run) and an optional Cancel button (to stop the shortcut run). Use Show Alert to share information with the user, provide warning messages, pause the shortcut at a specific point and so on.
![Show Alert action in the shortcut editor.](https://help.apple.com/assets/5E8CEA35094622DF10489984/5E8CEA42094622DF1048998D/en_AU/a2648c3f8ef22ce8166bf0ec25fad01b.png)
Show Alert is especially useful for displaying information in the Shortcuts widget or on Apple Watch. For example, you can create a shortcut that determines sunrise and sunset times and displays an alert that includes a summary.
You can also use the Show Alert action to debug shortcuts when you’re not getting your intended shortcut result. By passing content into Show Alert, you can preview the output of the previous action at a certain point in a shortcut, then cancel the shortcut, if necessary.