Get Dictionary Value

shortcuts-action-icon-get-dictionary-value.webp

Gets the value for the specified key in the dictionary passed into the action.

Score
Type
InterActivity
Expertise
5/5
Type
InterActivity
Expertise

Action Information

Parameters

Get [Value/All Keys/All Values] for [Key: Text] in [Dictionary]

Input

Dictionaries

Result

Text, Numbers, Dates, Dictionaries, Booleans

Details

Type
Interactivity
Expertise Needed
Matthew's Score
5/5
Date Added
11/12/2014
Identifier
is.workflow.actions.detect.dictionary

Notes

You can reference values deep inside of a dictionary by providing multiple keys separated by dots. For example, to get the value “soup” from the dictionary {“beverages”: [{“favorite”: “soup”}]}, you can specify the key path “beverages.1.favorite”.

Works Well With

shortcuts-action-icon-get-dictionary-from-input.webp
Get Dictionary from Input
Makes a dictionary from the text passed as input. JSON (like {“foo”: “bar”}), key-value pairs (like foo=bar&baz=biz), and XML-based plist are supported.

Shortcuts Using This

No results found.