Knead the dough together for the pasta. If necessary, add a little more water. The dough should feel elastic. Then wrap in cling film and place in the refrigerator for 1 hour.
Boil the lentils with double the amount of water for 12 minutes until soft. Make sure that there is not too much liquid left at the end, otherwise the filling will be too liquid. If necessary, strain the liquid. When the lentils are cooked, blend with a hand blender. Let stand a little, so that the mass becomes firmer.
Wash the chard and cut into small pieces. Simmer in the water with the finely chopped onion also for 12 minutes. Then strain well.
Put chard vegetables and red lentil puree in a bowl. Season to taste with spices.
Cook the sauce with water and the spices. Bind with flour so that a firm consistency is obtained. Season to taste with salt and pepper.
To thicken the liquid, mix the flour or starch in a cup of cold water, add to the liquid and bring to the boil.
Cut small balls from the pasta dough. Roll them out round with plenty of flour. Or alternatively, roll out a larger piece and then cut out round cookies. Put a teaspoon of the filling in the center. Then fold into a half moon shape. Place each piece of pasta on a floured cloth until all the pasta has been filled.
Bring a pot of water to a boil. When the water boils, turn down and put in the pasta pockets. Let simmer slightly and wait until the pasta pockets float to the top. Then you can take them out.
Put the pasta in a plate and pour the sauce over it.