Particles and natural organic matter (NOM) are undesirable contaminants in raw water (RW) that must be removed by drinking water treatment plants (DWTP). To ensure effective treatment, DWTPs monitor surrogate parameters such as turbidity (for particles) and UV254 absorbance (for NOM). Rainfall and subsequent peak flow events in watersheds can lead to RW quality degradation, requiring adjustments to the dosage of chemicals at DWTPs. However, changes in RW quality may take place hours or days after a rainfall, which can complicate decision-making for DWTP operations. This study aims to develop a procedure for selecting input variables and modelling RW quality after rainfall and river flow peak events. Spearman cross-correlation analyses were conducted on several both rain gauge and flow rate time series in a watershed, along with RW data collected at a water intake. The analyses revealed that RW turbidity and UV absorbance increased at different time lags after rainfalls and flow peaks. The input variables with the highest correlations between time-lagged rainfall and river flow were used to predict turbidity and UV254 using two machine learning models. The study found that the maximum correlation between flow peaks and turbidity was observed after a few hours, while for UV absorbance, it was observed after a few days. This difference in behaviour adds complexity to DWT practices, which must consider these factors in operational schemes, such as adjusting chemical dosages. The results of the present study will help in developing more effective chemical dosing strategies to remove key contaminants.