Move the bottom line of the document to the top!
var lines = draft.content.split("\n"); let lastLine = lines.pop(); lines.unshift(lastLine); // add to front draft.content = lines.join("\n"); draft.update();
After Success Default Notification Error Log Level Info
Actions available in the Action Directory are uploaded by community members. Use appropriate caution reviewing downloaded actions before use.