Take an existing draft and append it to a specific draft. You will need to get the UUID of the one you want the text to go too.
const template = ` `; const currentContent = draft.content.trim(); // replace the UUID here with the UUID you want to append too. var d = Draft.find('99D8294B-192D-465F-BBBD-AC29EAFAC6D6'); d.content = d.content + currentContent + template; d.update();
After Success Trash Notification Info Log Level Info
Actions available in the Action Directory are uploaded by community members. Use appropriate caution reviewing downloaded actions before use.