Using flow to move files based on their metadata?

I run a nextcloud snap server and I upload my pictures from my iPhone to my server using the Nextcloud app. However, I also upload a lot of images downloaded from the internet from it. And I tend to have more downloaded images than actual photos, but I still want to be able to see my photos when I want. Thankfully, just about all of my pictures that I actually actually take are tagged with metadata. So I’m wondering if there is some way that I could use the flow function to move all my photos with metadata into their own folder.