Flavouring agent is in pill case, mixed (8)
I believe the answer is:
allspice
'flavouring' is the definition.
(allspice is a kind of flavouring)
'pill case mixed' is the wordplay.
'mixed' indicates anagramming the letters.
'pill'+'case'='pillcase'
'pillcase' is an anagram of 'ALLSPICE'.
'agent is in' acts as a link.
I am not very happy about this link. Some or all of it may belong to another bit of the clue.
Can you help me to learn more?
(Other definitions for allspice that I've seen before include "Pimento or Jamaica pepper" , "Dried aromatic fruit from the West Indies" , "fragrant plant" , "Aromatic West Indian tree" , "Aromatic dried fruit of a Caribbean tree" .)