As trond says, you're looking for a solenoid valve. Whilst it will do what you want, you may be better off with a simple flow control like this one1. Instead of using an expensive valve to turn on and off flow, you can just balance the whole system once and let it run.
It's just like a hot water heating system where each radiator takes some heat out of the system. If the first radiator it hits takes all of the heat, the next on in the chain won't get hot. If you adjust the flow of all of the radiators correctly, you can balance the system so all radiators get warm at the same rate2.
This is definitely not as good a solution as using some kind of automated valves but it could be a much cheaper alternative.
1 I can't vouch for this product, it is the first I found that demonstrated what I meant
2 Okay, it isn't as simple as this in real life because the water can bypass a radiator but it's the same kind of idea.
I may use this one as well for the tanks spaced closer together, but it's essentially the same thing you linked. Thanks Henders.
– D00k13H0w1tzer Nov 20 '18 at 07:19