You can just cook them in the slow cooker. It takes 4 hours on high, then mash and keep warm on low or warm until serving. There are lots of recipes online, so google and find one that appeals to you.
I think it’s best to serve them within an hour of mashing. The mashed potatoes near the sides will start to get dry the longer they’re sitting. I’d let the potatoes cook a half hour longer on low if you need the extra time rather than having the already mashed potatoes sitting and waiting longer.