> For the complete documentation index, see [llms.txt](https://cgps.gitbook.io/data-flo/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cgps.gitbook.io/data-flo/reference-guide/import-file-from-google-drive.md).

# import-file-from-google-drive

## Description

<mark style="color:purple;">`import-file-from-google-drive`</mark> *adaptor imports a file from Google Drive*.

This adaptor imports a file as-is from Google Drive, without processing it or extracting data from it.\
The file should be shared to with <mark style="color:blue;"><data-flo@data-flo.iam.gserviceaccount.com></mark> and given edit permission.

## Inputs

**`url`**\
Type: `text`\
Required: Yes\
The URL of the file to be imported.

## Outputs

**`file`**\
Type: `file`\
The imported file.

## Examples

### Example 1: Default behaviour.

#### Inputs:

`url` : <https://drive.google.com/file/d/1234/view?usp=sharing>

#### Outputs:

`file`: file.txt

-> Imported the file `file.txt` from Google Drive

## Use Cases

* Import a file of any type from Google Drive, to make that file available to other adaptors for processing (e.g.,[`create-graph-from-dot`](/data-flo/reference-guide/create-graph-from-dot.md),[`import-from-csv-file`](/data-flo/reference-guide/import-from-csv-file.md), feeding the tree argument in [`export-to-microreact-project`](/data-flo/reference-guide/export-to-microreact-project.md), etc.)
