A tunable route for the synthesis of azomethine imines and β-aminocarbonyl compounds from alkenes.