You can copy and populate documents with data from the process.
https://drive.google.com/drive/u/0/folders/FOLDER_ID
Where is the file / document ID in Google
https://docs.google.com/document/d/143uVKzah2WhnPEHY3ATwM4UM0K-hjvZ3OB_kT93qrQU/edit
Where do I find a file name of my document in Google
https://docs.googleapis.com/v1/documents/{64. Copy the template - Copy the template document linked here - id (plain)}:batchUpdate/
https://docs.googleapis.com/drive/v2/files/{64. Copy the template - Copy the template document linked here - id (plain)}/pdf/export
"objectId": "kix.pc8vwkqlqnur"
. You can find it within the inlineObjects
attribute.
https://docs.googleapis.com/v1/documents/{64. Copy the template - Copy the template document linked here - id (plain)}:batchUpdate/
document.get
from the Google Doc API to obtain the position of the index. See Google documentation.
footnote_id
with the value of $.replies[0].createFootnote.footnoteId
.
https://docs.googleapis.com/v1/documents/DOCUMENT_ID:batchUpdate
https://docs.googleapis.com/v1/documents/DOCUMENT_ID:batchUpdate