What you’ve discovered is one of (the many) Shortcuts ideosyncracies. Clicking/tapping the “Dictionary” parameter will bring up the file dialog but long-tapping (just like in any other parameter input across Shortcuts) lets you pick any of the existing variables and prior-action results:
Explanation: Under the hood, Shortcuts passes dictionaries between actions as temporary JSON files. That means that you could use any JSON file that has the right structure as value for any given dictionary parameter. For some reason, someone at Apple likely considered this the most common use case and so now the file dialog comes up when you just click/tap that parameter.
PS. Maybe consider to somehow highlight it in your Docs / the info popup in Shortcuts. I see you mentioned it now, but i looked over it because there’s quite a lot of text there.
But, might just be me
Maybe consider to somehow highlight it in your Docs / the info popup in Shortcuts. […] there’s quite a lot of text there.
There is, isn’t there? I worked those info texts over so many times, trying to find the right balance between “short and sweet, pros know what’s up” and “enough details to give beginners a chance”, it ain’t easy
Also (important!): The more rounded the in-action docs are, the higher the likely success rate down the line when we can use Apple Intelligence to have it build Shortcuts workflows for us.