Action

Add to Draft

Posted by @brentacPrime, Last update over 5 years 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.

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
Items available in the Drafts Directory are uploaded by community members. Use appropriate caution reviewing downloaded items before use.