Let me be candid, the mechanism is very wrong. Your synthesis has two parts. First is substitution and the second is SNAr.
For the first part, mistake occurs at the third arrow.
For the second part where the first step is the addition of benzylamine to the aromatic ring. Please check, for example, the SNAr of hydroxide ion on 1-chloro-4-nitrobenzene. You should be able to get this part right then.
Thank you for your response. I honestly appreciate it very much.
I'm still not entirely sure what how the mechanism is wrong from the third arrow.
1. As the oxygen has a negative charge doesn't it want to steal protons from the nitrogen?
2. And if so, does the ring closes first before leaving of the watermolecule?
3. If it does closes first before the watermolecule leaving, could it be that the double bond on the carbonyl attacks the amine instead of the otherway around as i have it notated now?
4. As for the SNar, I did look at that mechanism. And tried to follow it for this case. Could you be so kind as to point out the mistake in my drawing?
Thank you very much! I had troubles finding help for this.