How do flavors like vanilla and hazelnut get into coffee I was at a local coffee shop today and I noticed for the first time ever that they served vanilla coffee. This surprised me, as I had not yet ever seen coffee with vanilla flavoring, and got me thinking about how that comes to be. Could anybody help me with this?
In a coffee shop (assuming both places like Starbucks or non-chain versions), flavour syrups are a staple. Some have their own range, others use generic manufacturer's that are also used in other cooking or bartending applications.

I'd assume a dash or two of these are added to your coffee and voilá: Vanilla (hazelnut/caramel/...) coffee.

Another option are flavoured coffee beans, but for a coffee shop, that's pretty unlikely, as they would have to keep various beans at hand and switch between orders.