I'm trying to write a script to concatenate multiple documents into a single, large document. Essentially, the inputs are all the documents in a specified folder and the output is a single, combined document.
I'm unsure as to how to go about this. Since getContentAsString() returns plain text, should I be looking into returning it as a Blob and using that? Are there any scripts that provide this functionality already?
Thanks!