I don't have the Shortcuts app on my Mac, but one of the methods in this thread is likely viable.
For more information, see the wiki Searching the Forum for Answers section.