-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Description
Is there a specific app this action is for?
google_docs-create-document from template
google_drive-create-document from template
(it looks that those are working with the same logic and using same library.
Please provide a link to the relevant API docs for the specific service / operation.
Currently, the tool requires a folderId to be required. However, this often causes failures due to permission issues when the folder is not accessible. (the library currently uses a very broad scopehttps://www.googleapis.com/auth/drive
and https://www.googleapis.com/auth/documents
)
According to the README of the library you guys are using (google-docs-mustaches), if the destination ID is not provided, the file is created in the same path as the source file (fallback logic).
To align with this behavior and prevent unnecessary failures, it would be better to make the folderId parameter optional, and rely on the library’s default fallback when no ID is provided - allowing files to be created directly in the root drive without selecting a specific folder.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status