Copying Vanillin, the main flavoring ingredient in vanilla, is used to make vanilla. The raw material used to make vanillin is guaiacol. The majority of the guaiacol used worldwide is derived from petroleum. A liquid is used to dilute the vanillin; usually, propylene glycol or alcohol is used.