In electrosynthesis, two common approaches are employed: controlled potential and controlled current. The reaction was optimized to oxidize the compound by adjusting the desired current. To prevent the occurrence of overoxidation, a constant current of 0.5 mA to 2 mA was used for the 2CPTZ reaction. The experiment involved starting the reaction at 0.5 mA and increasing it by 0.5 mA for subsequent reactions to optimize 2CPTZ metabolite electrosynthesis. The optimisation was stopped when the current used reached the maximum applied voltage greater than 5.0 V for 24 h, and all reactions were monitored by using TLC and HPLC techniques. The starting current used for the electrosynthesis of 2CPTZ metabolites is 0.5 mA, with a maximum applied voltage of 3.2 V for 24 h. A ratio of 223:13:1 was observed for 2CPTZ, 2CPTS-SO, and 2CPTZ-SO2, respectively. Applying a constant current of 1.0 mA (maximum applied voltage of 3.71 V), a ratio 1:16:1 for 2CPTZ, 2CPTZ-SO, and 2CPTZ-SO2, respectively formed. Contrary to the previous condition, a constant current higher than 1.0 mA resulted in the formation of multiple unidentified oxidation metabolites (1.5 mA, 4.1 V) and mostly overoxidised products with a constant current of 2 mA with a maximum applied voltage of 4.9 V. A summary of the optimisation and the ratio of the product are shown in Table alongside HPLC results (Figure ).