A Goon's Deed in a Weary World was the eleventh episode of the seventh and final season of 30 Rock, airing on January 17, 2013 to 3.81 million viewers. As Liz and Criss (James Marsden) receive notice that their adopted children will arrive at the airport in a few days, Liz's priorities are torn between helping him prepare and trying to save TGS from cancellation, as a result of the lawsuit. Meanwhile, Jack devises a plan to decide who the next president of NBC will be, but his efforts are hampered by Kenneth, whose love for the network dictates that he make sure the right person is chosen.
Liz Lemon (Tina Fey) and Criss receive a message from Bev at the adoption agency, informing them that their children will arrive at the airport in a few days. Liz has other things on her mind however, as she prepares for a meeting with the Kabletown board to try and convince them to save TGS. In desperation, she orders her writing team to roll out their best work, Tracy Jordan (Tracy Morgan) and Jenna Maroney (Jane Krakowski) to conduct publicity and Pete to slash the budget. Ultimately, they decide that they need a sponsor who is willing to be associated with the show, despite the controversy from Hazel's lawsuit. With no takers, Liz resorts to visiting an organisation called Bro Body Douche who agree to sponsor the show, but only if it is retitled Man Cave and Liz adopts the nom de plume Todd Debeikis to hide the fact that she is a woman. Liz accepts and returns to work, receiving a phone call from Criss, who is annoyed that she is neglecting to join him to buy toys for their children. However, she is distracted once again when she discovers that the writers have done nothing, and that Tracy and Jenna have used their press time to instead promote Heads of State, a movie they are going to make together about interracial conjoined twins of different genders serving as United States co-Presidents.
Meanwhile, new Kabletown CEO Jack Donaghy (Alec Baldwin) prepares to pick his replacement as president of NBC. He devises an unconventional plan, adapted from Charlie and the Chocolate Factory, promoting Kenneth Parcell (Jack McBrayer) back into his old page role with orders to give a tour of the building to the final five candidates for the job. He reveals to Kenneth that the candidates think the tour is just a formality before the final interview, but that it is in fact the final interview, since the best time to judge a person is when they don't know they're being judged. Fittingly, the candidates themselves are all references to characters in Charlie and the Chocolate Factory too (e.g. Mike Webb, who is looking at his smartphone in reference to Mike Teavee, a boy who does nothing but watch television; Veruca Saline; a morbidly obese Augustus [Gloop], and a gum-chewing woman dressed like Violet Beauregarde). Kenneth immediately bonds with one candidate, Charlie MacGuffin, after the pair simultaneously refer to a joke that had appeared on the Today Show earlier that day. As the tour progresses, MacGuffin's passion for and knowledge about the history of the network convinces Kenneth that he is the man for the job. Jack, however, becomes annoyed with Kenneth for interfering and dismisses him from the tour.
Finally, as the board meeting approaches, Liz receives another phone call from Criss, who tells her that Bev made a mistake, and that the children are arriving at the airport later that afternoon. Liz once again prioritizes TGS, but is overheard by Tracy, Jenna and the crew. Finally, after seven years, everybody decides to step up and help Liz in the only way they have left—by informing the board that they are all quitting, and telling Liz to go and meet her children. As a final test for MacGuffin, Kenneth masquerades as a CBS executive, C.B. Essington, and (in reference to Arthur Slugworth) attempts to bribe him with money if he will go to Jack's office and steal an in-development script. MacGuffin refuses, convincing Kenneth once and for all that he is the right man to take over NBC. However, it transpires that MacGuffin's true reason for being so knowledgeable about NBC is that he is going to strip it for parts and turn the building into a Forever 21, since both he and Jack believe broadcast television has had its day. Kenneth argues that a network president needs to care about television, and not just the bottom line, and that MacGuffin is not right for the role, and neither was Jack.
Later, Kenneth comes to Jack's office to resign from his role as page, but Jack surprises him by admitting that he was right: television is an unconventional medium, nearly every program he developed himself has failed, and the best skill for leading the network is, seemingly, loving television. For this reason, he has decided that the best candidate to be the new president is, in fact, Kenneth. At the airport, Liz and Criss meet their adopted children, Terry and Janet — a pair of interracial twins whose personalities and physical appearances closely resemble those of Tracy and Jenna. Liz muses happily that this "seems about right" and she embraces the pair.