Automated tagging?

It just came to mind that maybe you could cobble something together using this: