Action to add a Tag?

Hey guys,

I have a workspace set aside for GTD stuff, and I want to be able to simply run an action to assign that specific tag to a draft. I’m not good at Javascript though. What would I need to make this work?

Thanks!

Hey @EttVenter i just published a script for you with some sample tags.
add it to your actions and modify the tags for your needs. if you need help - just ask me :slight_smile:

http://actions.getdrafts.com/a/1FX

1 Like

Fantastic! Thank you so much for that!

I literally needed to just run the action and apply a specific tag, but I used the script you wrote and tore it down to just that functionality. Haha. Thank you for your work!

1 Like

glad to hear that it helped you!
that would be just two lines :smiley: I thougt you would need some more tags :wink:

if someone else needs just the basic functionallity:
draft.addTag(“insertYourTag”);
draft.update();

1 Like

Yeah, that’s what I reduced it to. Thank you so much!

Also, I’d like to learn how to do this stuff myself. Any pointers on where to start? Or should I just start learning Javascript?