New user, want a routine/app, how?

There are a number of ways to accomplish this. The best way to accomplish this, in my opinion, is to use Rule Machine or Trigger Happy by bravenel. These two apps will allow you to do what you are asking plus a whole lot more.