Drafts Action Directory

Add to Draft

Posted by @brentacPrime, Last updated: 2018-05-27 15:47:05 UTC

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.



  • script

    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;
Actions available in the Action Directory are uploaded by community members. Use appropriate caution reviewing downloaded actions before use.