Erg mode automation

Hi, is there a way to automate erg mode for training? Say for instance I wanted to have erg mode on for my warm up, recovery between sprints and cool down, but I didn’t want erg mode on during the sprints? Is this functionality available in Zwift without manually toggling erg mode mid workout?

Thanks

Yes you can edit the workout file to have the sprints use incline mode.