1 University of Science and Technology of China, Hefei, Anhui 230026, People's Republic of China.
2 Hefei National Laboratory for Physical Science at Microscale, CAS Key Laboratory of Soft Matter Chemistry & Center for Excellence in Molecular Synthesis of Chinese Academy of Science, Collaborative Innovation Center of Suzhou Nano Science and Technology & School of Chemistry and Materials Science, University of Science and Technology of China, Hefei, Anhui 230026, People's Republic of China.
A metal-free electrochemical intramolecular C(sp2)-H amination using iodine as a mediator was developed. This method enables a switchable synthesis of indoline and indole derivatives, respectively, from easily available 2-vinyl anilines.