Auto dectect graphics settings and set it

I want a blueprint that detects what graphics would be suitable for that system and then set them as the graphics settings