//Here we check if a document has already been generated by looking at 'Document Link', if so we skip it
if (row[1]) return;
I was thinking I can do a vlaidation column instead now so If the column says yes then the scipt creates a document and puts the link in, if the validation says no then it skips it. Just looking for something very simple.