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!

    • @ToffeeIsForClosersOP
      link
      English
      19 months ago

      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]
        link
        fedilink
        English
        1
        edit-2
        9 months ago

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

        • @ToffeeIsForClosersOP
          link
          English
          19 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!