This filter which works for After Effects & Photoshop, will color balance your footage based in case the white balance wasn’t set properly at the time you were shooting it.
All you have to do is select a mid-tone color in your footage and the filter will do the rest.
Pixel Bender shader : ft-Auto White Balance
How to install it ?
Just copy the .pbk file into your “Support Files” folder in your AE install directory