To avoid the potatoes turning mushy in the salad, use a less starchy or waxy variety of potatoes, don't overcook them, and don't cut them into very small pieces. Also, allow the steam of boiled potatoes to get released before mixing them with other ingredients.