Duplicate Draft and Convert the duplicate to HTML

I have an action called Convert to HTML that I got from somewhere that converts the Markdown text to HTML. I’d like to have the action duplicate the original draft and then convert only the duplicate to HTML, leaving the original draft untouched. I thought all I would need to to is insert another step in the Convert action to first execute the Duplicate Draft action, but for some reason that results in BOTH drafts (original and duplicate) being converted to HTML, which is not what I want. Anyone have thoughts about this, or an action I could have? :wink:

Sounds pretty straight forward.

Try this:


Based on a single script action:

let d = new Draft();
d.content = draft.processTemplate("%%[[draft]]%%");

That does it! Thanks!