Drafts Action Directory

Add to Draft

Posted by @brentacPrime, Last update 5 months ago

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.

Install

Steps

  • 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;
    d.update();

Options

  • After Success Trash
    Notification Info
    Log Level Info

Comments

Actions available in the Action Directory are uploaded by community members. Use appropriate caution reviewing downloaded actions before use.