Intro to using prompts in a shortcut on iPhone or iPad
Using actions and variables in this way lets you create shortcuts that are more dynamic — you can set up a structure for what occurs in your shortcut, but you don’t need to fill in all the information as you build the shortcut. Instead, you can leave certain options to be decided at runtime.
For example, you can create a shortcut that asks questions about your day and enters the answers in a journal. Or you can create a more complicated shortcut with prompts that fill out each portion of an email template, combine all the portions, then send the email.