Action to tag a draft with a specific tag

New drafts user here so apologies if there is a really simple solution this. I want to create an action that tags my current draft with a set tag. Eg Work.

I assume that I’ll need to use something similar to this script but this is for a New document rather than the current one.

let d = Draft.create();
d.addTag(“home”);
d.update();
editor.load(d);

No scripting and no steps required.

With scripting, just this for current draft:

draft.addTag("home");
draft.update();

Hope that helps.

2 Likes

Why didn’t I notice that! Thanks!