Honestly, this is in the category of things I would not spend my time on unless Apple makes some policy/API changes. Action extensions are not allowed to trigger URLs and processes that go outside the extension and Apple’s APIs do not support it.
Workflow got around this by obfuscating calls to system methods disallowed in extensions, and for whatever reason Apple did not reject them when they have rejected other apps for doing the same thing (including Drafts - multiple times - when Today widgets were first introduced). Now that they are in Apple, I’m sure they get a pass, but I have a lot better things to spend time on than building something that is likely to trigger rejections from app review.