The real question we should all be asking, is what was Putin's goal? What is he trying to achieve? Some say disrupting western Democracy. Nato? This is bigger than just our election.
Probably he wants an American president that will ease the sanctions placed against him so he can continue to extend his influence around the globe. Trump may do that if he sees a financial benefit for the USA.