My daughter used to get terrible migraines (are there any that aren't?) and had to give herself shots for years... very dangerous ones but she was disabled without them. She also had specialists and among them those who put her on special diets which helped greatly when she stuck to them which is hard to do with what's in the grocery stores. It pretty much eliminates most prepared food... even some types of bread. Living on it, you really learn how to cook and bake from scratch. I'm sure those diets are on the net.
Anyway, as for flavorings. Remember these are artificial flavorings unless you're buying organic juices. Artificial means chemically created to simulate the taste of a food. For instance, artificial vanilla flavoring doesn't have a drop of vanilla bean in it. Its all chemicals to simulate the taste of real vanilla from the bean. So, unless you can find out what that "banana" flavoring, for instance, is actually made of its not likely you'll be able to pin down the offending chemical. You would first have to find out what's in the flavoring (the chemicals) and then find out what chemicals compose every other flavoring used in a new juice you want to try. The only flavoring and/or juices I've been able to find out exactly what all the ingredients used in it are are the Chinese ones. The vendor gets a print out with each flavoring they'll be able to share with you. I don't know of any US-made flavoring that routinely give that info. Anyway, the gist of the migraine headache diet btw is to cut out all artificial flavoring and foods (ever wonder why the big claims of "contains REAL cheese... because all cheese is not real... artificial cheese LOL, coloring and preservatives as well as a lot of other offenders like soy. Anyway... one possibility is to try organic juices if you're not already using them because they come directly from real food. If you aren't allergic to that food, you should be okay with the juice or at least know if its a no no on the migraine diet. Hope that helps.