Google Drive · Arazzo Workflow
Google Drive Provision a Folder and Seed a File
Version 1.0.0
Create a folder, create a file inside it, and read the file back to confirm placement.
View Spec
View on GitHub
Cloud StorageCollaborationDocument ManagementDriveFilesGoogleStorageArazzoWorkflows
Provider
Workflows
provision-folder-and-seed-file
Create a Drive folder and seed it with an initial file.
Creates a folder (optionally nested under a parent folder), creates a file whose parents array points at the new folder, and reads the file back to verify it landed in the expected place.
1
createFolder
createFile
Create the folder by creating a file with the Drive folder MIME type. The returned id is the handle every child file references via parents.
2
seedFile
createFile
Create the initial file inside the folder created by the previous step by pointing the parents array at that folder's id.
3
confirmPlacement
getFile
Read the seeded file back, explicitly selecting the parents field, to confirm it was filed under the newly created folder rather than at the Drive root.