https://basescripts.com/apps-script-create-a-doc-how-to-create-a-google-doc-using-code
Apps Script Create a Doc How to create a Google Doc using Code