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 is especially useful for displaying information in iOS Today View. 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.