What is the job title of the person who tries to get people to come inside a restaurant?

Solution 1:

Barker

a person who advertises an activity at a public event by calling out to people who are walking past:

-Cambridge online

a person who advertises by hawking at an entrance to a show

-Merriam Webster

a person who stands before a theater, carnival sideshow, or the like, calling out its attractions to passers-by

-Dictionary.com

The usage is quite old, dating back to the 17th century. From Etymology online...

barker (n.) late 14c., "a dog;" late 15c., "noisy fellow;" agent noun from bark (v.). Specific sense of "loud assistant in an auction, store, or show" is from 1690s. [Empahsis mine]