Meanwhile, put the herbs, garlic, shallot and chilli in a large bowl. Stir in the vinegar. Drizzle in the oil, stirring continuously, and season to taste. Set aside.
Cut the ends off the courgettes and use a vegetable peeler to peel into ribbons, discarding the seedy cores. Put the ribbons into the bowl with the herb mixture, add the beans, and toss