Google Script Create Google Docs on the fly from templates …

Source: comidoc.com