I am confused with the last step of clozapine synthesis:
How can the amine group attack the amide group to form the amidine in such acidic environment? Is the intermolecular reaction between an amine and amide group feasible under not too extreme conditions?