The bank robber Mickey (voiced by Bill Hader) requests pizza, and much to Bob's dismay and disgust Jimmy Pesto takes the opportunity to deliver it to them, gaining free publicity in the process.
A series of increasingly complicated group phone calls ensue between the police, the bank and the Belcher family, culminating in Bob being told that he should 'hit the deck' in one hour.
Before this can happen, Mickey is able to form the hostages around himself in a human shield and escape to Bob's Burgers, trading place with the police in the process.
When an hour passes the bank is flooded by tear gas, incapacitating the police and giving Mickey his chance to escape.
Then a robber comes in and takes hostages, which builds tension, adds a bunch of stressed out characters, and makes the middle third of the episode about the difficulties of communication, which is traditional comic gold.