Skip to main content
MindStudio
Pricing
Blog About
My Workspace
Google Suite

[Google Drive] Get File

The [Google Drive] Get File block downloads a file from Google Drive and re-uploads it to a CDN, returning a publicly accessible URL.

Download a Google Drive file to a public CDN URL

The [Google Drive] Get File block downloads a file from Google Drive and re-uploads it to a CDN, returning a publicly accessible URL. It takes a Google Drive file ID as its primary input, along with a Google OAuth connection ID that authorizes access to the Drive account. An optional destination variable lets you store the resulting CDN URL directly into your workflow state for use in later steps.

The block returns four output fields: the CDN URL of the downloaded file, the original file name, the MIME type, and the file size in bytes. These outputs give downstream blocks everything they need to reference, display, or process the file without requiring any additional Drive API calls.

This block fits into workflows that need to pull files stored in Google Drive into a broader automation — for example, passing a document to an AI analysis step, attaching a file to an outbound message, or feeding binary content into a processing pipeline. Because the output is a standard public URL, it integrates cleanly with any block that accepts a URL as input.

What you can build

Real-world workflows powered by the [Google Drive] Get File block.

AI Document Analysis

Retrieve a file from Google Drive and pass its CDN URL to an AI block that reads and summarizes or extracts structured data from the document.

Email File Attachments

Fetch a file from Drive and include its public CDN URL in an outbound email workflow, giving recipients direct access to the file.

Media Processing Pipeline

Pull an image or video file from Google Drive and route its CDN URL to a media processing or transformation block downstream.

Report Distribution

Retrieve a generated report stored in Drive and distribute its public URL through a messaging or notification workflow.

Data Ingestion Workflow

Download a CSV or JSON file from Drive and feed it into a data parsing block to extract and process structured records.

Content Publishing

Fetch an asset stored in Google Drive and supply its CDN URL to a publishing block that posts content to a website or external platform.

Ready to add [Google Drive] Get File to your workflow?

Get Started Free

Common questions about [Google Drive] Get File

What parameters does this block require?

The block requires a fileId string identifying the target file in Google Drive. A Google OAuth connectionId is also needed to authorize access to the Drive account. You can optionally specify a destinationVar to store the returned CDN URL in a named workflow variable.

What does the block return?

The block returns four fields: a url string containing the public CDN URL of the downloaded file, a name string with the original file name, a mimeType string indicating the file's content type, and a size number representing the file size in bytes.

What kinds of workflows commonly use this block?

This block is used in workflows that need to move a file from Google Drive into a broader automation — such as feeding a file into an AI processing step, attaching it to a notification, or routing it to a downstream block that accepts a URL as input.

Are there any file type or size limitations?

The block has a maximum supported file size of 200MB. Google-native file formats such as Google Docs, Sheets, and Slides cannot be downloaded using this block; dedicated blocks exist for those file types.

Is the returned CDN URL publicly accessible?

Yes. The file is downloaded from Google Drive and re-uploaded to a CDN, and the returned URL is publicly accessible without any additional authentication.

Add [Google Drive] Get File to your workflow

Build powerful AI workflows with drag-and-drop blocks. No coding required.