this post was submitted on 28 Mar 2024
7 points (100.0% liked)

Shortcuts

1130 readers
1 users here now

Community dedicated to Apple Shortcuts.

founded 2 years ago
MODERATORS
 

Anyone know how to tag an Apple Note with multiple tags?

I can create the note, append to it, and tag it with a variable or straight text but I cannot figure how to add multiple tags.

I tried a list, dictionary values, comma separated, new lines. I even tried looping over Add Tag action with a single tag but everything results in an error on trying to tag multiple times to the note.

Let me know if you’ve figured it out!

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 10 months ago (1 children)
[–] ToffeeIsForClosers 1 points 10 months ago (1 children)

Hi, thanks for the example!

Ok so my previous tests were with existing tags, but maybe the explicit Create Tag clears the error.

I’ll try a repeat on a list of tags, creating and adding.

My goal is to dynamically build a list of tags depending on certain conditions and add them to a new note.

[–] [email protected] 1 points 10 months ago* (last edited 10 months ago) (1 children)

You're welcome! If you get stuck again, share your shortcut and someone will probably try to help.

[–] ToffeeIsForClosers 1 points 10 months ago

That was the issue. I added Create Tag with Add Tag inside the Repeat for Each and the notes were created with both tags.

It’s too bad I can’t just pass a list of tags and I’m not sure why I would have to create the tags every time.

Maybe the Repeat Item needs a data/format type change before passing to Add Tag?

Oh well, it works now. Thanks again!