A solenoid valve utilizes electrical current to create a magnetic field which opens a valve and allows for fluid flow. Take a look at the features for Asco Solenoid Valve.

ASCO 8210G094 120V AC Brass Solenoid Valve Normally Closed 1/2 in Pipe Size
$68.82