---
title: Download from Google Drive
description: Download files from a Google Drive folder using authentication, pattern filters, and output directory configuration.
category: File Transformation
tags: [google drive, download, file transfer, automation, integration]
---

# Download from Google Drive

## Description

The **Download From Google Drive** activity enables automated file retrieval from a connected Google Drive account.  
It allows users to download files from any folder or shared drive by applying optional filename filters using regular expressions.

This activity is useful in workflows where you regularly receive reports, templates, or configuration files via Google Drive and need to integrate them into automated processes.

> **Use case:** A finance team drops weekly sales reports into a shared Google Drive folder. This activity can pull the latest `.xlsx` files each Monday for automated analysis.

---

## Input

_Not Applicable_

---

## Output

| Output Type | Format | Description                                                     |
| ----------- | ------ | --------------------------------------------------------------- |
| Files       | Binary | The actual files retrieved from the drive                       |
| Data        | JSON   | Contains information such as file name, size, and download link |

---

## Configuration Fields

| Field Name            | Required | Description                                                                                                     |
| --------------------- | -------- | --------------------------------------------------------------------------------------------------------------- |
| **Connection**        | Yes      | Google Drive connection credentials including OAuth or service account access.                                  |
| **Regex**             | No       | A regular expression to filter files by filename or extension (e.g., `.*\.csv$`).                               |
| **Working Directory** | No       | Target directory where the downloaded files will be saved. Can be local or remote depending on the environment. |

---

## Sample Input

_Not Applicable_

---

## Sample Configuration

| Field             | Value                               |
| ----------------- | ----------------------------------- |
| Connection        | GoogleDrive - Finance               |
| Regex             | `.*\.xlsx$`                         |
| Working Directory | `/data/google-drive/weekly-reports` |

---

## Sample Output

Below is a typical result after downloading files from Google Drive:

| File Name                  | Size  | Status     | Download Link |
| -------------------------- | ----- | ---------- | ------------- |
| weekly_report_2025_07.xlsx | 1.2MB | Downloaded | [Download]    |
| summary_july_10.xlsx       | 2.3MB | Downloaded | [Download]    |
