How to have an object's scale be affected by proximity to empty?
You can either use Object controller falloff or Point Distance falloff to get proximity effect.
In your case you have animated cubes outside Animation Nodes. So we only care about scales of cube inside Animation nodes. Then here is how to do:



Or we can also build entire setup inside Animation nodes: