Hey,
Thanks for the great shortcut and I should clarify one thing:
Put the desired action just in between comment and otherwise command. And then you can go to automation and set the automation using this shortcut.
I've created screen recording that explains, hope it helps.
P.S.
I'm wondering is it possible to create location based automation? E.g. If location is home > launch Calm app or if location is office > launch spotify.