You can use the circuit writer to set an enable condition, and the road network reader to see how much is in the network
So you put down the road network reader, and set it to read the signal you want (like, iron plate),
Then put down a depot writer facing the supply depot, and make sure it connects (will show some text),
Then wire the reader to the writer, and set the writer condition to like, "iron plate < 2000"