I am currently working in a Google Education domain and I would like to automatically generate a Google Doc via an onSubmit trigger from a Google Form. I have a template fi
As one user said, you need to run the code (the function) directly from the editor at least once. This will prompt you the oauth consent screen so you can authorize the scopes needed for your code (drive and docs API scopes, in this case) and will update your project with these scopes.