Place shallots, garlic and chilli in the Thermomix bowl, chop on speed 5 seconds on speed 7.
Now add the celery and chop on speed 5-7 for 10 seconds. Add in the olive oil and cook on speed 1.5 on 110C/230F for 5 minutes.
Add in the carrots, capsicum (red peppers) and chop on speed 7 for 10 seconds. Add in the water, vegetable stock paste or cube and can of diced tomatoes.
Add in the salt, chilli flakes, crushed black peppercorns and herbs. Cook on 110C/230F on speed 2 for 15 minutes.
Add sugar, mix well and cook for 5 minutes on 120C/250F on speed 2.
Now blend the sauce on speed 4-8 for 45 seconds.
Pour it a bowl and let it cool. Store it in a sterilised glass bottle keep it in a refrigerator for 1 week or in freezer up to 3 weeks.
Use it for pasta, pizza or meatballs.