You can try to get lucky with a repeater, or you can equip your soldiers with bluescreen rounds and emp grenades which will make very short work of the sectopod, combat protocol is also guaranteed damage that is doubled vs a robotic enemy.
*** Spoiler - click to reveal *** If you have the shadow chamber built it will even tell you the enemies you will encounter on missions so you can prepare for the sectopod.