Unfortunately, I have a bit of experience here. Time is your enemy in this situation. The longer you wait, the more damage will be done due to corrosion from the minerals in the water.
Drain ALL fluids and refill with regular old dino fluids, especially the transmission fluid. The sooner you get the components up to operating temperature, the better off you’ll be. Drain and refill ALL fluids (including your brake fluid) at least 2 or 3 times.
Each and every electrical connector needs to be opened, blown out with compressed air, shot with WD40, blown out again, hit with spray grease. When I say every connector, I mean every single one that could have possibly gotten wet and even the ones that didn't. The connectors that you neglect will nag you for YEARS TO COME. Ask me how I know this.
Remove the center diff actuator on the top of the transfer case. This is an expensive part that needs to be cleaned out or the electric motor will fail due to corrosion.
Remove the neutral start switch on the side of the transmission. Open it up and dry it out, re-grease.
How much water was in the cabin? This will determine what other parts need to be replaced and what connectors need to be cleaned. There are a bunch of connectors under the center console that you need to address ASAP as well. The ECU lives above the glovebox. If the water line was below that then you should be OK, but DO NOT NEGLECT THE CONNECTORS. Water will flow through the harness due to capillary action and get drawn into places it shouldn’t be. Don’t forget the driver/passenger kick panels.
Again, the longer you wait, the more problems you will have over time.