Synthesis of isoindolinones via a ruthenium-catalyzed cyclization of N-substituted benzamides with allylic alcohols.