FYI, the best way to attempt to prevent further liquid damage is by leaving the lid open at least 90 degrees and laying the laptop upside down so the keyboard part is on the table with the display hanging over the front edge of the table. This is so the liquid drips onto the table or the underside of the key caps. However, just turning the laptop over can spread the liquid inside where it may hit critical electronics or have it hit more areas.
What causes the most damage is corrosion which develops quite quickly when liquid makes contact with a powered electronic circuit. Unfortunately just powering off the laptop still leaves some circuits active...after all there needs to be some power so that the laptop can power on when the power button, keys, opening of lid, or connection of the charger triggers the laptop to power on. I try to disconnect the battery as soon as possible, but Apple does not make this easy since it requires a special Pentalobe driver, plus with some newer Macs it involves more than one connection to disable the battery.
Until all of the liquid has dried there is a chance of corrosion. Different liquids take different amounts of time to dry out which is also affected by local conditions. Many times liquid on the keyboard will cause any affected keys to become physically stuck or possibly even cause an electronic key failure. No way to know how long this will take.
Do not use any loose rice to attempt to dry it out because the rice will make its way into the laptop and beneath the keys causing more problems.
If it was only splatter which hit the keyboard, then you may be Ok. However, if liquid is actually spilled onto the keyboard, then even if things dry out....most likely you will need to have the laptop repaired.