Automator: selecting specific file types
Sequoia 15.1
I have successfully created a folder called "Desktop Stuff" - the only folder located on my desktop, which I have linked to iCloud - and created a Folder Action Automator workflow that moves anything dropped onto my desktop to Desktop Stuff. I turned it into a folder action, and it keeps my desktop tidy, automatically!
Now, I would like to start automatically sorting the files sent to Desktop Stuff into subfolders that hold specific file types. For example, if I drop a photo (of any format) onto the desktop, I want it to first move to Desktop Stuff and then into "pics", a subfolder in Desktop Stuff. Similarly for links, PDFs, etc. Anything that doesn't fit neatly into "pics" or "pdfs" or whatnot can just live in Desktop Stuff.
The Automator workflow for Desktop Stuff is simply "Folder Action receives files and folders added to 'Desktop'", "Move Finder Items" to: "Desktop Stuff". AND THAT'S IT - it takes everything. How do I select for specific file types? For example, I want to move all links (or filetypes .webloc) to a folder called "Links" in Desktop Stuff.
Mac Studio, macOS 15.1