A practical protocol to synthesize 3-substituent-2-(azol-1-yl)indole derivatives has been developed via an electrochemical oxidative cross coupling process under mild conditions. This electro-oxidative C-N bond formation strategy tolerates a range of functional groups and is amenable to gram scale synthesis. Moreover, this method was applied to the late-stage functionalization of bioactive molecules.