Get Item from List

Returns one or more items from the list passed as input. You can get the first item, the last item, a random item, the item at a particular index, or items in a range of indexes.

Score
Type
InterActivity
Expertise
4/5
Type
InterActivity
Expertise

Action Information

Parameters

Get [First Item, Last Item, Random Item, Item At Index, Items in Range from Start Index to End Index] from [List]

Notes

Note
Lists are one-indexed, so the first item is at index 1, the second is at index 2, etc.

Input

Anything

Result

Anything

Shortcuts Using This

Grab YouTube playlist ID
For a given YouTube video passed in as input, this isolates the URL parameter after “list=“ that represents a video playlist ID.
Send thank-yous
Asks you to pick from your contacts, then shows a Messages window for each so you can send a thank-you message.
Check for a white christmas
Looks for snow in the daily forecast for the next 10 days.

Works Well With

Repeat with Each
Takes a list of items as input, and runs the contained actions once for each item in the list.
Get Group from Matched Text
Gets the text that matched a particular capture group or all of the capture groups from the output of a Match Text action.

Details

Type
Interactivity
Expertise Needed
Matthew's Score
4/5
Category
Date Added to Shortcuts
11/12/2014
Identifier
is.workflow.actions.getitemfromlist