Highly functionalized indoles and indolones were prepared via selectivity-switchable mono- or diolefinations. The Julia olefination of the products followed by a Bronsted acid-prompted cyclization afforded indolones, whereas the indoles were obtained by a sequential Wittig olefination and electrocyclization. This method opens divergent access to highly functionalized nitrogen-containing bicyclic or tricyclic heterocycles.