@Jake could you please help out here?
Hi Joe,
I think I would need to see an example of this first hand to be able to advise in detail, even then I would be limited in how much I could help, there are a lot of variables at play, specially when using javascript, I would advise that the solution would also include javascript, Before the delete function, you can store the data elsewhere using another function that makes a POST request to perhaps another list, before executing the delete function.
Feel free to add me on linkedin if you want to follow up in detail.
https://www.linkedin.com/in/jake-dennison-fcl/