Multiparameter screening of reductive carboxylation in an electrochemical flow microreactor was performed using a Bayesian optimization (BO) strategy. The developed algorithm features a constraint on passed charge for the electrochemical reaction, which led to suitable conditions being instantaneously found for the desired reaction. Analysis of the BO-suggested conditions underscored the physicochemical validity.