Zenotek meanwhile has failed to meet its quarterly quota, and interim CEO Carol Vanstone Jennifer Aniston threatens to lay off 40 percent of the staff, cut bonuses, and cancel the annual Christmas party. Her brother, branch manager Clay T. Miller , is desperate to keep his staff. Carol harbors resentment toward Clay, whom she believed was her father's favorite, and threatens to shut down the branch.
Vance , whom they are having lunch with later that day, and Carol gives them the chance to win his business. Walter is pleased with the pitch, but concerned with another recent branch closure at Zenotek, and feels the company is more about the budget than their people.
Clay invites him to their Christmas party in hopes of showing him that their company is in good standing. Before leaving town, Carol offers Josh a position at her New York headquarters, confident her brother will fail. Though initially reluctant, Walter is inadvertently doused with cocaine when it is accidentally fed into a snow machine and succumbs to his free-spirited nature.
Throughout the party, various employees cut loose: Nate Karan Soni tries to impress two of his staff Andrew Leeds and Oliver Cooper by hiring an escort named Savannah Abbey Lee to pretend to be his girlfriend, though Nate is found out when she gives a handjob to a fellow employee; Clay's assistant and single-mom Allison Vanessa Bayer attempts to hook up with new hire Fred Randall Park but stops when he reveals he has a mother-child fetish ; and customer service supervisor Jeremy Rob Corddry cuts loose on the dance floor with Mary, whom he previously despised.
Josh and Tracey get stuck on the roof and nearly kiss before Jeremy interrupts them. Back on the dance floor, Clay wins over Walter's business, and Clay promises everyone they'll keep their jobs and receive their bonuses. The party gradually grows more and more chaotic as employees begin partaking in orgies , damaging company property, and doing drugs. Carol's flight is cancelled due to weather, and she rushes back to the office when she hears about the party from her Uber driver, who took people to the party.
Though Carol is initially impressed with receiving Walter's business, Walter injures himself attempting to swing off a balcony after a conversation with Clay, and is later discovered to have been fired from his firm, nullifying any contract and thus no longer bringing in any new money to Zenotek. Carol decides then and there to shut down the branch.
To add insult to injury, she reminds Josh about the job offer aloud to everyone, especially Clay. Even though Josh says he said no, the surrounding employees angrily ignore and shun him. Tracey reveals that she was given the same offer but explicitly rejected it where Josh kept it open.
Feeling betrayed about what he heard from Carol, Clay rushes off with Savannah's emotionally unstable pimp, Trina Jillian Bell , to party elsewhere, though Trina is more interested in robbing Clay of his wealth that he is actually keeping on his person.
Josh, Tracey, Mary, and Carol race off to save Clay. Many of the other employees learn about the termination Carol announced earlier. Believing that everyone is to lose their jobs, they throw out and destroy all the company equipment and burn everything in sight, forcing security guard Carla Da'Vine Joy Randolph to put down the unruly, now destructive and rebellious party.
Clay ends up racing Trina's car towards an opening drawbridge, attempting to jump the gap, a feat he'd earlier mentioned to Josh. Josh drives Mary's minivan alongside him, and tries to convince Clay not to jump, but he is still angered and heartbroken from Carol offering Josh the job, as much as remembering her insults.
Believing he's worthless, he still decides to jump, regardless of whether he makes it and lives or dies. After everyone, including Trina, fails to convince Clay to pull over, Josh threatens to jump the gap with him, and Clay reluctantly allows it.
Not willing to die, Carol forcefully moves the steering wheel from Josh, causing the car to swerve into Clay's car, crashing both vehicles. Clay's car hits an internet hub, disconnecting the entire city. Trina and Savannah are arrested for their crimes, while Clay is taken to the hospital. In the wake of the internet blackout, Tracey realizes how to run a new innovation she'd been working on for several years that combines internet WiFi with wired connections through the city's power grid, which had previously failed due to her inability to take the real-world interference of the existing internet signals into account.
They race back to the destroyed office to set up her tech, and when it works, internet is restored to Chicago. This new innovation saves the jobs of the entire team, with Clay apologizing for how his father treated Carol.
Walter, who is in the same hospital as Clay, agrees to join the team. Josh and Tracey kiss amidst the ruins of their office. Jeremy opens up to Mary, and Nate and Allison agree to go on a date. The whole group meets Carol and Clay as he's released from the hospital, and they all go out for breakfast, driving recklessly on the way.