> For the complete documentation index, see [llms.txt](https://docs.powerfulform.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.powerfulform.com/integrations/google/google-drive.md).

# Google Drive integration

Mirror the files people upload through your forms into a folder on your Google Drive.

The app allows you to automatically upload files submitted through your forms directly to a Google Drive folder. This is especially useful for forms that include file upload fields, helping you keep all submitted files organized and accessible in one place.

{% hint style="info" %}
**Note:** Only files from File Upload fields configured with **"Also upload to third-party storage" → "Google Drive"** will be uploaded to Google Drive.
{% endhint %}

## How to set it up

{% stepper %}
{% step %}

### Connect the app with Google

Please follow this [guide](/integrations/google.md#connect-your-google-account) to complete this step.

<figure><img src="https://2907469752-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FehM2rz7MmKkWcJmgvJOe%2Fuploads%2Fgit-blob-f1c61e66315466ad04785651b8eefd29b7aad0b3%2Fscreenshot-integration-google-drive-integration-1.png?alt=media" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Connect form data to Google Drive

1\. Open the app > click **Forms** > open the form you want to edit

2\. Click **Integration** icon on the left side bar > enable **Google Drive** > click on **Google Drive** option

<figure><img src="https://2907469752-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FehM2rz7MmKkWcJmgvJOe%2Fuploads%2Fgit-blob-e05098d0463679cd91da2b3f54fc432ca94e11e8%2Fscreenshot-integration-google-drive-integration-2.png?alt=media" alt=""><figcaption></figcaption></figure>

3. Create a new folder for your Google Drive > connect the form with the newly created folder

{% hint style="info" %}
The new folder will be created in your connected Google Drive account and selected automatically as the destination folder.
{% endhint %}

<figure><img src="https://2907469752-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FehM2rz7MmKkWcJmgvJOe%2Fuploads%2Fgit-blob-36c722233025abdba7b26f4101c492d8fbd343c6%2Fscreenshot-integration-google-drive-integration-3.png?alt=media" alt=""><figcaption></figcaption></figure>

4. Click **Save** to apply the changes.
   {% endstep %}

{% step %}

### Configure File Access Policy (Required)

To upload files to Google Drive, you must configure your File Upload field correctly.

1. Open the File field
2. Under **Access policy**, choose:
   * **Public** – Anyone with the file link can access the file.
   * **Private** – The file can only be accessed through the app admin and authorized integrations.
3. Under **Also upload to third-party storage**, select **Google Drive**
4. Save the form

<figure><img src="https://2907469752-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FehM2rz7MmKkWcJmgvJOe%2Fuploads%2Fgit-blob-d539bac2349b60492354d0c37c590cfe5c512fde%2Fscreenshot-integration-google-drive-integration-4.png?alt=media" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}

## How it works

When a visitor submits your form:

1. The form submission is recorded normally in the app.

<figure><img src="https://2907469752-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FehM2rz7MmKkWcJmgvJOe%2Fuploads%2Fgit-blob-109f4b20ce26135dd0c155aff38b606b4f21b4a5%2Fscreenshot-integration-google-drive-integration-5.png?alt=media" alt=""><figcaption></figcaption></figure>

2. Files uploaded through eligible File Upload fields are automatically uploaded to the configured Google Drive folder.

<figure><img src="https://2907469752-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FehM2rz7MmKkWcJmgvJOe%2Fuploads%2Fgit-blob-306799f5f045ed9258df90412e96cc4a343c55f0%2Fscreenshot-integration-google-drive-integration-6.png?alt=media" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
⚠️ **Important**: If a submission is deleted from the app, any files associated with that submission that were uploaded through the Google Drive integration will also be deleted from Google Drive.
{% endhint %}

## ❓ FAQs

<details>

<summary>Can I upload files from multiple File Upload fields?</summary>

Yes. Any File Upload field configured to use **Google Drive** storage will upload its submitted files to the selected Google Drive folder.

</details>

<details>

<summary>Can I use different folders for different forms?</summary>

Yes. Each form can have its own Google Drive integration settings and destination folder.

</details>

<details>

<summary>Will existing submissions be uploaded automatically?</summary>

No. Only new submissions received after the integration is enabled will be uploaded to Google Drive.

</details>

<details>

<summary>What happens if I change the destination folder?</summary>

New uploaded files will be stored in the newly selected folder. Previously uploaded files will remain in their original location.

</details>

## Next steps

* [Connect your Google account](/integrations/google.md#connect-your-google-account) — the sign-in this integration needs.
* [File Upload](/field-types/file-upload.md) — the field that produces the files.
* [Uploaded files and storage](/troubleshooting/file-storage.md) — where files live and how long they are kept.
* [Contact support](/help/contact-support.md) — if files stop reaching Drive.
