You can cook the potatoes up to a day ahead of making the dumplings. Grate them and mix with flour, egg, and salt just when you’re ready to finish them off. Do not prepare the dough only – this would become too thin too soon and impossible to use later on. When you finish making potato dumplings and they have cooled down, you can freeze them for later.