Templated corrective actions