Automate Customer Purchase Analysis