How can I prevent duplicate Google Docs from being created if a user edits their Google Form response?

Responsive Ad Header

Question

Grade: Education Subject: Support
How can I prevent duplicate Google Docs from being created if a user edits their Google Form response?
Asked by:
102 Viewed 102 Answers
Responsive Ad After Question

Answer (102)

Best Answer
(356)
You can modify your Apps Script to check if a document already exists for a given form response before creating a new one. You could use a unique identifier from the form submission (e.g., the timestamp) to name the Google Doc and then search for a document with that name before creating a new one. If it exists, you can either update it or skip creation.