Easily Run Drafts Actions Via Editorial Workflows(▼)(▲)
January 25, 2014
While building Editorial workflows, I've often run into times in which I wanted to launch Drafts and run an action that I've previously built and have in my URL action library. I've grown tired of having to remember and put together the necessary blocks in Editorial, so I created a couple generic groups of actions to save as presets so that I can easily add Drafts actions into my Editorial workflows.
The groups of actions are bundled as their own workflow. Import the workflow into Editorial, then choose edit. There are two options for the presets, one for a simple Drafts action which creates a new Draft from your input text and runs a single action on it, and one for a chained Drafts action which creates a Draft from your input and runs an action on it, then chains back and creates another draft from the input and runs another action on it. Since I'm not aware of any standard way to bundle groups of actions, I placed each set within an "if.. end if" block. Save the block as the preset, then each time you want to use it just drag the if.. part down to the bottom so that the actions pop out and then delete it. There's a brief video below showing how easy it is to use this to add a Drafts action into your Editorial workflows.
One last note: remember that the action title in the first action needs to be manually URL encoded, and the action in the chained URL needs to manually double URL encoded. Same with the input, but the action groups do that for you.