We report a general protocol for the direct N-allylation of electron-poor N-heterocyclic amides and sulfonamides via an amide-aldehyde-alkene condensation reaction catalyzed by a Lewis acid. This process has a broad substrate scope with respect to N-heterocyclic amides including carbamates, carboxamides, and N-methylsulfonamides, and pro-vides efficient access to a variety of allylamine derivatives in good yield with high regioselectivity. The utility of this method was also demonstrated by the rapid synthesis of Naftifine from N-methyl-1-naphthamide, paraformaldehyde, and styrene in one-pot. Scheme 1. Synthesis of allylic amide derivatives.[a] X.Scheme 2. Scope of the nitrogen nucleophiles and alkenes in the allylation reaction. Conditions: 1 (1 mmol), 2 a (5 mmol), 3 a (1.5 mmol), Bi(OTf) 3 (20 mol %), 1,4-dioxane (3 mL), 110 8C, 24 h. Yields of isolated products are given. I 2 (20 mol %) and Fe(OTf) 3 (5 mol %) were used as the catalyst system for 4 a, 4 g, 4 h-j, 4 l, and 4 n-p. The yield of 4 m was determined by 1 H NMR spectroscopy of the crude reaction mixture.Scheme 5. Synthesis of the Naftifine motif by the allylation. Scheme 6. Proposed mechanism of the Bi-catalyzed direct allyaltion through alkene-amide-aldehyde condensation.N-Cinnamyl-N-methyl-1-naphthamide (7). Compound 7 was synthesized according to TP2 as a colorless oil (245.6 mg, 0.85 mmol, 85 %); 1 H NMR (400 MHz, CDCl 3 ): d = 7. 78-7.73 (m, 6 H), 7.42-7.12