# Google Drive

### Connection <a href="#connect" id="connect"></a>

When you're setting up your first workflow with Google Drive, you'll need to create a connection through MESA's Google App or your own custom Google App. Click on **Connect with Google** to finish the process.

<figure><img src="/files/jYZNgA2rqL6rLQfelaUA" alt=""><figcaption></figcaption></figure>

Afterward, your connection will be selected!

### Configuration <a href="#configuring" id="configuring"></a>

The fields below can be located by selecting **More options:**

<figure><img src="/files/RdNbm2jhOPKeGtLd02Iv" alt=""><figcaption></figcaption></figure>

* **File URL:** The URL of the file that will be uploaded to your Google Drive account. Plain text should be not inputted.
* **Filename:** This field currently only accepts **{{filename}}**. Variables are currently not supported at this time.
* **Folder ID:** You can locate the folder ID from this URL, where the {{FOLDER\_ID}} should be: [https://drive.google.com/drive/folders/{{FOLDER\_ID}}](https://drive.google.com/drive/folders/%7B%7BFOLDER_ID%7D%7D). Example: 1O94BvZNUhyKQ8X6CvLUbotWNFVWol\_Gh

The following screenshot is from MESA's [Send Uploadery file to Google Drive](https://www.getmesa.com/connect/uploadery/integrate/googledrive/send-uploadery-file-to-google-drive) template.

<figure><img src="/files/jUpnPiGpAayFSAzYuiTq" alt=""><figcaption></figcaption></figure>


---

# 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://docs.getmesa.com/connect/google-drive.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.
