Converting automation models to ES