With a pump in your sump controlled by a float switch. Once the water gets high enough in the sump the float rises up and turns on, water pumps down to the level you want and shuts off. The trickiest part will be getting the float to turn on and off exactly where you want it, but its still pretty simple.