If I’m understanding correctly what you want to do, you can make a csv file with 2 values, the first being Name and the second being Material. The first column would be the name of the material, and the 2nd would be the actual path to it, for example, something like:
Name,Material
Red,“Material’/Game/Materials/RedMaterial’”
Blue,“Material’/Game/Materials/BlueMaterial’”
and then in Unreal, make a struct that has 1 variable, type of Material.
Then drag the csv file into unreal and when it asks for the struct type choose the struct you created.
Then in your bp, when you want to access that material, you right click and use a node called Get Data Table Row, and click the Select Asset and choose the name of the csv file you imported, and in the row name, pass in the name of the row that had the material. You should be able to break the out row and get your material that way.