5 min readUpdated Mar 2, 2026

GoogleDriveReadFilesEditor Documentation

Overview

The GoogleDriveReadFilesEditor is a component within the Vantage analytics and data platform that allows users to browse and select files from their Google Drive. The selected files can include various types of documents such as images, PDFs, and datasets. This component outputs file metadata, including download URLs, which can be piped into other functionalities such as AI-driven image analysis or PDF extraction.

Purpose

The primary purpose of the GoogleDriveReadFilesEditor is to facilitate the integration of Google Drive files into data workflows for analysis. It enables users to efficiently filter and select the files they need, ensuring that data analysts and other stakeholders can easily access the required resources from Google Drive.

Settings

The GoogleDriveReadFilesEditor component consists of the following settings:

1. File Type

2. Select Files

3. Max Files

4. Include Content

5. Credential Reference

How It Works

  1. User Interaction: Users can select the type of files they wish to browse through the dropdown menu. The component will filter the file picker based on this selection.
  2. File Selection: The GoogleDrivePicker component enables users to browse their Google Drive and select files. The selected files are stored in the selectedFiles attribute.
  3. Configuration Updates: The updateField function is invoked to update the component's state for fileType, selectedFiles, and maxFiles. The includeContent setting can be toggled by clicking the associated button.
  4. Output Generation: Once files are selected, the component returns a structured output including file metadata based on the configurations set by the user.

Use Cases & Examples

Use Case 1: Image Analysis for Marketing Materials

A marketing team wants to analyze image data that they store in Google Drive to optimize ad performance. They can configure the GoogleDriveReadFilesEditor to only display image files, allowing them to easily select relevant marketing visuals for analysis.

Use Case 2: PDF Document Review

A legal team needs to review and extract data from various legal documents saved as PDFs in Google Drive. The component can be set to filter only PDF files, facilitating a streamlined selection process.

Example Configuration

For the legal team use case mentioned above, the GoogleDriveReadFilesEditor might be configured as follows:

json
{
  "fileType": "pdf",
  "selectedFiles": [],
  "includeContent": true,
  "maxFiles": 20,
  "credentialRef": "user_google_drive_credentials"
}

In this scenario:

With this configuration, the component effectively meets the specific needs of the legal team while leveraging Vantage’s analytical capabilities.

AI Integrations and Billing Impact

The selected files' output can be directly piped into Vantage's AI integrations, such as AI Image Analysis or PDF Extraction tools. Each AI process invoked may incur additional processing costs depending on the complexity and resource usage of the underlying algorithms. Users should consider this when selecting multiple files or opting to download content, as it could lead to increased usage billing based on compute resources allocated for processing.