Another way to foil ChatGPT: Ask students to write a critical introduction to their own essays in which they have to discuss the difficulties they faced during the writing process. (I've been requiring this for going on 10 years.)