Wash the herbs, shake dry and roughly chop. Cut the onion into narrow wedges. Whisk the ricotta with the cooled vegetable stock and the wine. In the meantime, cook the noodles in salted water until they are al dente.
Heat the olive oil in the pan and sweat the onion wedges until translucent. Squeeze the garlic, add the herbs and stir everything for 1 to 2 minutes. Deglaze with the ricotta and wine stock, heat briefly and season with salt, pepper and lemon juice.