Setting dictionary values to variables?

@jasonact, did it ever work for you?

I have a similar use case that I thought would work right away, but it didn’t (kept getting the below conversion error at the “set dictionary” step).

After few Hours of banging my head against the phone, I Stumbled upon your post and realized this wasn’t probably not supported yet in shortcuts version 3.2 (iOS13.3.1).

However, apple site https://support.apple.com/guide/shortcuts/dictionaries-apd43b69f337/ios suggests it should be, per the very first bullet (pasted below):

//
Use dictionaries in the following ways:

  • Enter text, numbers, values, dictionaries, or lists into a Dictionary action to manually create a dictionary for use in your shortcuts.
    //

I did try few additional things to see if lack of JSON formatting was an issue,. enclose each index and item with inverted commas (“) and then

  • using them as text type magic variables in set dictionary …it didn’t work/same error

  • using them as key and value types respectively in the set dictionary…it didn’t work/same error

Don’t see the point of creating a list of dictionary manually for each of those items. In fact, it would be tricky since I am fetching those values from a different website.