In this study, a multicomponent reaction via the Mannich intermediate was developed using methanol, secondary amine, and sulfonamide as starting materials. This method uses methanol as a green C1 source. The substrate scope is wide, and the yield is good. The mechanistic study shows that methanol generates formaldehyde under electrochemical conditions, and sulfonyl amidine as a nucleophile reacts with Schiff base intermediates to form N-sulfonyl amidine in a single step.N-Sulfonamidine is found in a wide range of natural products and pharmaceutical molecules 1 and has been widely applied in catalysis and synthetic chemistry 2 (Figure 1). Due to their wide