Dwight gives the Scranton branch workers free family portraits. Robert gets a great new opportunity. Andy poses as a janitor in his attempt to rejoin Dunder Mifflin.
A drunken Robert shutters a close by Dunder Mifflin branch, leading to Dwight and Jim teaming up to get their clients. Meanwhile, Andy plots his return to the Scranton branch.
Andy makes a huge mistake when he shows up at a fundraising auction for Robert Lipton. Nellie needs Darryl to show her how a taco is eaten.
Andy returns to Scranton to find his manager's position usurped by Nellie. Kelly is surprised to learn she finds another man to be more perfect than Ryan.
Robert forces the Scranton branch to host a welcome party for Nellie, but the planners aren't so willing. Erin and Andy role play his break-up from Jessica.
Andy takes a road trip to reclaim Erin, affording Nellie an oppurtunity to take a run at his manager's position in Scranton.
Jim tries to warn Dwight when he learns Robert plans to slam the Sabre Store concept. Andy discovers Erin won't be returning to Scranton. Toby and Darryl compete to sell cookies to Kevin.
Dwight goes to great lengths to impress Nellie with an overblown demonstration of the new Sabre Store. Meanwhile, Andy's embarrassing injury leads to a Scranton branch self-defense class from Toby.
Andy forces the remaining Scranton staff to work overtime to make up for all the people in Tallahassee, where Dwight and Packer vie to be Nellie's vice president.
At Sabre HQ, Dwight does all he can to get attention from Nellie Bertram. Back in Scranton, Andy takes over Erin's duties at reception.
Dwight is chosen for a task in Tallahassee and needs to pick some Scranton staffers to come with him. Pam comes back from maternity leave. Darryl tries to decipher a Valentine's Day gift from Val.
Dwight presses Jim for information from the trial he was a juror on. Meanwhile, Angela gives birth.
Prior to its sale, Robert hosts a pool party at his mansion where Erin hits on Dwight to make Andy jealous.
When Oscar reveals a trivia contest in Philadelphia has a $1,000 prize, Andy has the office go to raise money to buy up paper to meet quarterly sales expectations. Dwight goes to Sabre HQ in Florida to look for a new job.
Andy tries to quash the endless pranking between Jim and Dwight. Robert tries to drink away his blues at the office Christmas party, while Erin lets her feelings out after a few too many drinks.
Andy is put in an awkward position when Robert tells him not to hire his wife, who's hoping of getting a job in the office. Dwight tries to convince Darryl to join his fitness center.
Andy hopes to inspire the staff by taking them on a trip to Gettysburg. Meanwhile, those who stay behind in Scranton are prodded by Robert to come up with great ideas for the company.
Pam wants Dwight to help get Jim to admit he thinks her maternity leave replacement is pretty. Meanwhile, Robert joins Kevin, Andy, and Darryl's band.
Dwight starts a doomsday device that counts down employees' mistakes, with them all getting fired if it reaches zero. Gabe takes a liking to a warehouse employee.
Erin desperately tries to create the exact Halloween party that Robert and Andy envision. Meanwhile, Jim is aghast to discover Pam believes in ghosts, and Dwight and Robert's son strike up a friendship.
Andy hosts a garden party at Schrute Farms, hoping to impress Robert, but feels his family's presence isn't helping.
The warehouse workers quit after winning the lottery, leaving the upstairs staff to dream of winning big while searching for new employees and temporarily taking on the warehouse jobs themselves.
Robert challenges the Scranton branch to double their sales. Meanwhile, Pam and Angela hope to support each other through their pregnancies.
A list left by Robert has everyone's name in one of two unlabeled columns, leaving the Scranton branch to try and figure out exactly what it means.