StyloDocs
Workflow blocks

Google Drive: Read File

Read Google Docs/Sheets or download files and return text

View as Markdown

google/drive-read-file — Read Google Docs/Sheets or download files and return text.

Where it appears

The Google Drive: Read File block lives in the Integrations group of the Workflow Builder. Connect the Google integration before adding it.

Fields

FieldTypeRequiredDefaultDescription
fileIdtext (supports references)YesGoogle Drive file ID to read. Google Docs/Sheets are exported as text; other file types are downloaded. Use a literal ID or <StepName.field>.

Inputs and outputs

Inputs are the configurable fields above. The block produces these outputs:

Outputs

Reference an output downstream with <Google Drive: Read File.field>.

NameTypeDescription
successbooleanWhether read succeeded
textstringFile text content
errorstringError message if failed

Example

A minimal configuration for this block:

{
  "type": "google/drive-read-file",
  "config": {
    "fileId": "<PreviousStep.field>"
  }
}

Limits and failure modes

  • Requires a connected Google integration. Calls fail if that integration is disconnected or its authorization has expired.
  • Required field (fileId) must be set, or the block fails validation before it runs.
  • On failure the error output is populated; downstream blocks that reference other outputs may not receive values.

On this page