Ted's friends get involved when he doesn't do a background check on a lady friend; Lily and Marshall deal with learning their baby's gender.
When Robert decides to sell his mansion, Kevin suggests he throw a pool party for the office; Erin flirts with Dwight to get Andy's attention; Robert gives a tour of his home.
Andy tries to make holiday wishes come true; Robert decides to drown his sorrows at the office party.
When Dwight receives a special assignment in Tallahassee, he and Andy must decide which Scranton employees will go with him; Pam returns from maternity leave.
Robert forces the office to throw a welcome party for Nellie; Erin helps Andy practice how he will break up with Jessica.