As Holt is about to leave Jake tells him to go back to being a robot and Holt imitates a robot while saying "meep morp zeep" which is exactly what Jake is doing when he meets Captain Holt in Pilot (2013).
This episode basically mirrors another Michael Schur show when Gina tells Holt she is going with him. (Pam tells Michael she is going with him after he quits Dunder Mifflin on The Office (2005).
Gina telling Holt she is going with him is a reference of Jerry Maguire (1996) where a similar thing happens.
When Jake enters the restaurant "Don Johnson"-ing it in Scully's oversized jacket, a snippet of the actual theme song to Miami Vice can be heard