Use the Ask for Input action in a shortcut on Mac
Ask for Input is a powerful action that lets you enter information at the time your shortcut is run. The action presents a dialogue that asks a question. When you enter the answer and click Done, the data is passed into the next action or is stored as a Magic Variable to be retrieved later.
Ask for Input supports the entry of words, dates or numbers and the keyboard adapts to each input type. Additionally, Ask for Input allows you to specify a default value that pre-fills the dialog. When you run the shortcut, you can adjust the pre-filled information.
The Ask for Input action works well with “logging” shortcuts such as shortcuts that log health data or create journal entries.
Tip: Use an Ask for Input action that’s set to Number to quickly enter numbers on your Apple Watch with the numeric keypad.