A simple change of the ligand and solvent allows controlled, effective switching between cyclization–carbonylation–cyclization-coupling (CCC-coupling) and cyclization–carbonylation reactions.