Weweb team recently added a way to trigger workflows from javascript: wwLib.executeWorkflow(workflowUID). You can use this to trigger a global workflow and fetch the collection with that workflow. You can see an example of use here and here.
wwLib.executeWorkflow(workflowUID)