Driving the car, gently, ought to distribute whatever contamination you have, then changing trans oil afew times should get the concentration nil.
There probably wasn't much to begin with as atf pressure is many times greater than whatever is in the cooling system,except when you turn the car off.
The heat will boil off ant water and the rest hopefully you can dilute enough with several fluid changes.
The flushing machines used at the oil change places would probably be your most efficient method but should cost under $100. Change the filter after all is done.
Bummer of a thing to happen, good luck.