Question: who wrote like i'm going to lose you
Answer: It was written by Trainor , Justin Weaver , and Caitlyn Smith , and produced by Chris Gelbuda and Trainor .