In multistep continuous flowc hemistry,s tudying complex reaction mixtures in real time is as ignificant challenge,but provides an opportunity to enhance reaction understanding and control. We report the integration of four complementary process analytical technology tools (NMR, UV/Vis,IRand UHPLC) in the multistep synthesis of an active pharmaceutical ingredient, mesalazine.T his synthetic route exploits flow processing for nitration, high temperature hydrolysis and hydrogenation reactions,aswell as three inline separations.A dvanced data analysis models were developed (indirect hard modeling,deep learning and partial least squares regression), to quantify the desired products,intermediates and impurities in real time,a tm ultiple points along the synthetic pathway.T he capabilities of the system have been demonstrated by operating both steady state and dynamic experiments and represents as ignificant step forwardi nd ata-driven continuous flow synthesis.