How can I automate product tagging by location in my warehouse?

I updated the original one