How to Automate Remedial Actions