The major events of a match are planned and discussed beforehand, and so is the outcome. Some major events are definitely planned; for instance, someone might interfere in a match just as the bad guy, or "heel" is about to lose.
Syfy's fifth annual Digital Press Tour last week reinforced what regular attendees of this confab have known for years: That it is one of the most efficient and innovative publicity and promotion events in the business.