I’m having a hard time getting a multi-step action to work.
In the first action, I have a script that runs through a few prompts and ends with a draft object that I want to send to a HTML preview. In the HTML Preview, I want the “continue” button to open the draft in the editor, and cancel to just cancel.
Here’s the end of my first script:
let webpage = Draft.find(tagged[a].uuid); alert(webpage.content); alert(webpage.uuid); webpage.setTemplateTag("prev",webpage.content); webpage.setTemplateTag("link",webpage.uuid); webpage.update();
The two alerts tell me that the right data is being grabbed.
However, my HTML preview is showing me
[[prev]] instead of the actual text of the draft. Here’s the relevant portion of the HTML preview:
<body> %%[[prev]]%% </body>