Watched Folder Tag & Sort

I'm having some trouble getting the above macro to work. I have switched it to be triggered via Stream Deck button, rather than watching the download folder. My thought was this would be useful macro to run after reviewing the file, for example, in Preview app, rather than being prompted to tag every download.

Is this possible or am I going beyond the scope of this macro and need to come up with a bespoke solution?

Tag & Sort.kmmacros (8.5 KB)