Soil composition and herbivory are two environmental factors that can affect plant traits including flower traits, thus potentially affecting plant-pollinator interactions. Importantly, soil composition and herbivory may interact in these effects, with consequences for plant fitness. We assessed the main effects of aboveground insect herbivory and soil amendment with exuviae of three different insect species on visual and olfactory traits of Brassica nigra plants, including interactive effects. We combined various methodological approaches including gas chromatography/mass spectrometry, spectroscopy and machine learning to evaluate changes in flower morphology, colour and the emission of volatile organic compounds (VOCs). Soil amended with insect exuviae increased the total number of flowers per plant and VOC emission, whereas herbivory reduced petal area and VOC emission. Soil amendment and herbivory interacted in their effect on the floral reflectance spectrum of the base part of petals and the emission of 10 VOCs. These findings demonstrate the effects of insect exuviae as soil amendment on plant traits involved in reproduction, with a potential for enhanced reproductive success by increasing the strength of signals attracting pollinators and by mitigating the negative effects of herbivory.