How to do automation right