I am not sure if I understood your question right, but I am using following to check if object is new:
Parse.Cloud.afterSave("Msg", async ({object, log}) => {
if (object.existed()) {
//your code for e new object
} else {
}
return;
});
Is this what have you been looking for? There are also some details in this thread