# create-google-drive-folder

## Description

<mark style="color:purple;">`create-google-drive-folder`</mark> *creates a sub folder in a parent folder in Google Drive*.

The parent folder should be either public or shared with <mark style="color:blue;"><data-flo@data-flo.iam.gserviceaccount.com></mark>, 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.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://cgps.gitbook.io/data-flo/reference-guide/create-google-drive-folder.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
