To provide a final example, our objective was to optimize the visible-light photocatalytic trifluoromethylation of highly functionalized heteroarenes developed by our group and researchers from Janssen pharmaceuticals (Figure ). In our original report, the reaction was carried out in a commercially-available Vapourtec UV-150 flow reactor. In the Signify Eagle Reactor equipped with blue LEDs, we scanned a search space consisting of 5 reaction parameters (Heteroarene concentration, CF3SO2Na loading, oxidant loading, residence time, and light intensity), targeting two objective functions (yield [%] and throughput [mmolh -1 ]) for optimization. Notably, during the optimization of caffeine trifluoromethylation, we also incorporated a categorical variable to screen for the appropriate photocatalyst. This highlights the unique capability of the RoboChem platform to evaluate and optimize both discrete and continuous variables. For each substrate, a total of 17-35 experiments (including 6 initialization steps) were conducted within an 11-24-hour timeframe.