Auto-tagging based on user group

I’d like to automatically tag topics created or replied by users that belong to a specific group. This would be helpful for facilitating cross-functional team collaboration and tracking