create-google-drive-folder

Description

create-google-drive-folder creates a sub folder in a parent folder in Google Drive.

The parent folder should be either public or shared with data-flo@data-flo.iam.gserviceaccount.com, and given edit permission. The new sub folder will have the same sharing permissions as the parent folder.

Inputs

parent folder Type: text Required: Yes The URL of the parent folder in Google Drive.

folder name Type: text Required: Yes The name of the folder to be created.

Outputs

url Type: text The Google Drive URL of the created folder.

id Type: text The ID of the created folder.

Examples

Example 1: Default behaviour.

Inputs:

parent folder: https://drive.google.com/drive/folders/1234567?usp=sharing

folder name: test-subfolder

Outputs:

url: https://drive.google.com/drive/folders/89101112?usp=sharing

id: 89101112

-> A new subfolder called test-subfolder, was created on google-drive.

Last updated