Hi, @edjusted. Thanks for sharing your technique and macro. Cool stuff! Pun intended.
Since you are are integrating Shortcuts with Keyboard Maestro, you might find this thread interesting: Keyboard Maestro and macOS Shortcuts—Data Transfer Examples - Tips & Tutorials