You need to block the sewage flowing through the channel.
The machinery in the room to the right drops the gate.