Throw the garlic, mushroom, carrot, onion, celery into a food processor and purée.
Cook this mixture in a saucepan on medium-high heat until most of water is cooked out and the flavor is concentrated. Add back into the food processor.
To the food processor, add the sweet potato, parsley, onion soup mix and lentils. Pulse.
Pulse the mixture so some of the lentils are being mashed and some keep their shape.
Take the mixture out of the food processor and place in big bowl. Add the chickpea flour and taste for seasoning. Mix well so the entire lentil mixture is seasoned.