These groups contain the Dust, Essence, Shards, Crystals and a few other things from each expansion.
I took the ID from the 80 items that WoWhead displays with no filters, then removed things such as Rods and a few other things that have no place. They are sorted into each expansion.


For those who are newbies to TSM, I suggest making a main group called "Enchanting Mats" and then importing each of the following subgroup strings into it, as it will automatically create the subgroups. If you are looking for just the codes, ignore the "group:XpacNameHere," portion of the code.

All of the Data
This is the full collection of data for those who want to import everything from all expansions in one go. Groups are included so you don't have to do it yourself.
Code:
group:Cataclysm,i:52555,i:52718,i:52719,i:52720,i:52721,i:52722,group:Classic,i:10938,i:10939,i:10940,i:10978,i:10998,i:11082,i:11083,i:11084,i:11134,i:11135,i:11137,i:11138,i:11139,i:11174,i:11175,i:11176,i:11177,i:11178,i:14343,i:14344,i:16202,i:16203,i:16204,i:20725,group:Draenor,i:109693,i:111245,i:113588,i:115502,i:115504,group:Legion,i:124440,i:124441,i:124442,group:Northrend,i:34052,i:34053,i:34054,i:34055,i:34056,i:34057,group:Outlands,i:22445,i:22446,i:22447,i:22448,i:22449,i:22450,group:Pandaria,i:102218,i:105718,i:74247,i:74248,i:74249,i:74250,i:74252,i:80433,i:94289

The following is the data above but broken up into each separate expansion. This is useful for people that already have some data and are looking for a specific xpacs data.


Classic WoW
Code:
group:Classic,i:10938,i:10939,i:10940,i:10978,i:10998,i:11082,i:11083,i:11084,i:11134,i:11135,i:11137,i:11138,i:11139,i:11174,i:11175,i:11176,i:11177,i:11178,i:14343,i:14344,i:16202,i:16203,i:16204,i:20725
The Burning Crusade
Code:
group:Outlands,i:22445,i:22446,i:22447,i:22448,i:22449,i:22450
Wrath of the Lich King
Code:
group:Northrend,i:34052,i:34053,i:34054,i:34055,i:34056,i:34057
Cataclysm
Code:
group:Cataclysm,i:52555,i:52718,i:52719,i:52720,i:52721,i:52722
Mists of Pandaria
Code:
group:Pandaria,i:102218,i:105718,i:74247,i:74248,i:74249,i:74250,i:74252,i:80433,i:94289
Warlords of Draenor
Code:
group:Draenor,i:109693,i:111245,i:113588,i:115502,i:115504
Legion
Code:
group:Legion,i:124440,i:124441,i:124442