A cascade coupling strategy for one-pot total synthesis of β-carboline and isoquinoline-containing natural products and derivatives.