Use the Get Item from List action to automatically narrow down a list of items when the shortcut is run. In the shortcut editor, place the Get Item from List action after an action that contains a list of options, then set the Get Item from List action to retrieve a single item from the list (the first item, last item, a random item, and so on). You can also set the Get Item from List action to choose a list by its index—that is, its order in the list. In Shortcuts, the first item in a list has an index of 1.
You can also retrieve multiple items from the list by providing a range of indexes. For example, if you pass a list of six items into the Get Item from List action and set the index to 3, the third item in the list is retrieved at runtime. If you pass a list of six items into the Get Item from List action and set the index to a range of 3 to 6, the third, fourth, fifth, and sixth items in the list are retrieved at runtime.