Is there a way to quickly and automatically swap materials on an object?

I am trying to render a piece of furniture that can have many different combinations of materials on different surfaces and was wondering if it was possible to automate this process or even just speed it up considerably from dragging and dropping the new materials onto the object