I have the same coop type. Sloped terrain, i managed to level it when it was constructed, but the water flows downward, and floods the open air coop.
I dug a channel at the back, but it got filled in with mud as water flows over time. It used to be sand, but the sand is long gone and covered in...