Doug Judy is back and this time things between him and Jake are personal. Amy and Charles try to find the perfect new vending machine for the Nine-Nine.
The episode begins with Rosa calling Jake to the interrogation room to interrogate a man responsible for a string of break-ins. Rosa reveals she found something unsavory in the man’s car: an invitation to Doug Judy’s wedding, much to Jake’s chagrin.
Jake is upset he did not receive an invite, and meets Doug Judy at a pottery place. Doug says that the reason he did not invite Jake was because most of his attendees are criminals, and it would make them uncomfortable to know that Doug is friends with a cop. He agrees to invite Jake to his bachelor party, as long as he uses a criminal alias to as not alert Doug’s criminal friends.
Back at the precinct, Holt prepares for his first day back as Captain, and Terry and Rosa try to make sure everything is perfect. Holt notices something missing: a business card with a piece of gum stuck to it. Terry brushes it off at first, but later panics because he knows that he definitely threw it away.
Meanwhile, Amy measures the missing space in between the two vending machines in the break room. She tells Charles that a work order was approved for a third vending machine, though she whispers it to him to not alert Hitchcock and Scully. Charles lets it slip anyways, and Hitchcock and Scully come up with numerous ideas for a new vending machine. Amy tells them to conduct research for new vending machines and to pitch the ideas to her later.
Jake and Doug fly to Miami for Doug’s bachelor party, with a private jet lent to them by Mark Cuban. Cuban reveals that he and Doug became friends after Doug came onto Shark Tank to pitch a noise-cancelling blanket. Upon landing in Miami, Doug meets with his sister Trudy Judy, who reveals she got out of prison on good behavior. Upon seeing Jake, she almost blows Jake’s cover by calling him a narc, forcing Doug to compromise with Trudy.
Charles, Hitchcock and Scully pitch different ideas for a new vending machine to Amy. Amy decides to go with Hitchcock and Scully’s idea - a vending machine with a built-in pizza oven.
Terry and Rosa find a way to create a copy of the business card Holt had on his desk, which says the name Zeff Wilcox. They present the fake card to Holt, but Holt immediately deduces it as a fake, as the original card had something written on the back. Holt says the card is very important to him because it belonged to the victim of the first case he ever worked, and he was never able to solve it. Terry and Rosa make Holt feel better by giving him business cards from all the victims to each of his cases.
In Miami, the Judys continue to lie to Doug’s friends to keep Jake’s cover intact. However, Doug’s best man Chuck reveals that they stole $10 million worth of diamonds. With this, Trudy lets it slip that Jake is actually a cop. The friends destroy Jake’s phone and threaten to kill him, but Doug and Jake convince them to return the diamonds in a “reverse heist”. The reverse heist is successful, but at Doug’s bachelor party, Jake reveals he called a team of SWAT officers to arrest the friends.
Hitchcock and Scully are happy with their new vending machine, but the outlet can’t support the voltage of the machine and causes a blackout in the precinct. Hitchcock and Scully are saddened, but Charles makes them feel better by revealing where to punch the other vending machine to get free food.
Back in Miami, the Judys are upset by Jake’s betrayal and seemingly cut ties with him. However, when Jake returns to New York, Rosa summons him to the interrogation room again. She gives him a card, which turns out to be an official invitation to Doug’s wedding. This entire chain of events, starting with the man from the break-ins getting arrested, turns out be Doug’s elaborate plan to ask Jake to be his real best man, to which Jake says yes.
|Andy Samberg||...||Jake Peralta|
|Stephanie Beatriz||...||Rosa Diaz|
|Terry Crews||...||Terry Jeffords|
|Melissa Fumero||...||Amy Santiago|
|Joe Lo Truglio||...||Charles Boyle|
|Andre Braugher||...||Captain Ray Holt|
|Dirk Blocker||...||Michael Hitchcock|
|Joel McKinnon Miller||...||Norm Scully|
|Craig Robinson||...||Doug Judy|
|Nicole Byer||...||Trudy Judy|
|Erik Alvarez||...||Swat Guy|
|Joshua Dov||...||Shane Broadman|
When Charles is pitching his ideal vending machine, the website logo says "Ganges", a reference to the river "Amazon" and another popular website bearing a similar name.