Integrations

Upload to Google Drive Block

Upload to Google Drive sends an existing file variable or artifact to a Google Drive folder.

At a glance

Best for
Drive file delivery
Input
File variable
Requires
Google connection
Error handle
Yes

What it does

Upload to Google Drive moves a generated file from Scrapeer into Google Drive.

Use Save File, Create Spreadsheet, Create PDF, or Screenshot upstream when raw data needs to become a file first.

Use it when

  • Upload a generated CSV to Drive.
  • Store PDFs or screenshots in a shared folder.
  • Deliver scheduled run artifacts to Google Drive.

Do not use it when

  • The source value is not a file variable.
  • No Google Drive connection is configured.
  • You need rows inside a sheet; use Create Google Sheet.

Settings

Upload to Google Drive needs a connection, source file variable, destination folder/name, overwrite behavior, and output variable.

Connection

Required: Yes
Variables
No
Description
Google Drive connection.

Source variable

Required: Yes
Variables
Variable name
Description
File variable or artifact to upload.

Folder and filename

Required: No
Variables
Yes
Description
Drive folder and uploaded file name.

Output variable

Required: No
Variables
Variable name
Description
Stores uploaded file metadata.

Outputs

Upload to Google Drive returns provider file metadata.

{{outputVariableName}}object

Uploaded file ID, name, URL, and provider metadata when available.

Example Flow

Use Upload to Google Drive after creating a file artifact.

  1. Create a PDF, screenshot, spreadsheet, or saved file.
  2. Upload the file variable to Drive.
  3. Use the returned file metadata if needed.

Errors and fixes

Start with symptoms visible in the editor or Inspector, then check the earliest Block that produced the wrong page state, variable, or output.

No file variables are available.

Check
Check whether an upstream Block created a file variable.
Fix
Add Save File, Create Spreadsheet, Create PDF, or Screenshot before the upload.

Upload fails on permissions.

Check
Check the selected Drive connection and target folder.
Fix
Use a connection with folder write access.

Local and cloud runs

Cloud uploads expect a file artifact. Local runs can also use file variables created by local file Blocks.