Open Workflow from another workflow only works sometimes
I have a workflow that cleans up a string and turns it into a URL for my blog. I also have a workflow that turns a Markdown document into a blog post. I'd like to run the URL workflow from my post workflow to get the correct filename for my document. However, this does not seem to work reliably—or at all, really.
I call the URL workflow as such:
editorial://?command=create%20blog%20URL&input=[Input]with "Open in" set to Default App (I also tried in-app browser).
The workflow is supposed to return the result on the clipboard, but that doesn't seem to work inside a workflow. When I run the URL workflow via x-callback from Drafts it performs as intended every time.
Of course, the simple solution would be to just incorporate my URL workflow into my post workflow. But I'd rather have them separated as I like to call the URL workflow on its own at times. And keeping both in sync, if I were to duplicate it inside my post workflow, seems like asking for trouble.
Only one workflow can run at a time. If you want to start a workflow from within another one, the "Open URL" action has to be the very last one, so that the workflow has finished running when the URL is opened.
I see. Then I will have to rethink my approach. Thanks Moritz.