Download “Actions” from the App Store (it’s free) that adds conditionals like orientation state when you trigger your Action Button so you can do stuff like this!
@snazzyq Already assembled this for someone on Twit- I mean X, resharing here: https://www.icloud.com/shortcuts/e016561ca236453d8bf3caa6beceb082
Shortcuts