/

Google Drive

Warehouse connector

Google Drive

Receive file changes from Google Drive as typed events in Tessel. Use them to process new exports, file signed contracts and move finished reports into the right shared drive.

Connect Google Drive
Connect Google Drive
See setup steps
See setup steps

Warehouse

Category

Events

Sync mode

p95 880 ms

Latency

5 min

Setup time

What it can do

Triggers · 3
  • File createdEvent
  • File updatedEvent
  • File moved to a folderEvent
Actions · 5
  • List files in a folderRead
  • Download a fileRead
  • Upload a fileWrite
  • Move a fileWrite
  • Share a fileWrite

Overview

The Google Drive connector opens a watch channel on the Drive changes feed, so Google tells Tessel when something changes instead of Tessel listing folders. Tessel then reads the change list from a saved page token, filters it to the folders you picked and emits one typed event per file.

Teams use it to load CSV exports into Snowflake when they land, to read a signed contract and update NetSuite and to share finished reports with a Google Workspace group.

Supported files

  • My Drive folders and shared drives

  • Google Docs, Sheets and Slides, exported as PDF, CSV or Office files

  • Any uploaded file, streamed in ranges for large downloads

How change notifications work

Tessel calls changes.watch with a channel that points at its webhook endpoint, then calls changes.list whenever a notification arrives. Channels expire, so Tessel renews them before they lapse and keeps the page token, so no change is missed between channels.

POST /drive/v3/changes/watch
  ?pageToken=48213
  &supportsAllDrives=true
  &includeItemsFromAllDrives=true
{
  "id": "tessel-7c2a",
  "type": "web_hook",
  "address": "https://hooks.tessel.example/gd/7c2a"
}
POST /drive/v3/changes/watch
  ?pageToken=48213
  &supportsAllDrives=true
  &includeItemsFromAllDrives=true
{
  "id": "tessel-7c2a",
  "type": "web_hook",
  "address": "https://hooks.tessel.example/gd/7c2a"
}
POST /drive/v3/changes/watch
  ?pageToken=48213
  &supportsAllDrives=true
  &includeItemsFromAllDrives=true
{
  "id": "tessel-7c2a",
  "type": "web_hook",
  "address": "https://hooks.tessel.example/gd/7c2a"
}

Large files

Downloads stream straight into the run's file storage instead of memory. Files over 100 MB are fetched in ranges, and a failed range is retried on its own instead of starting the download again.

Permissions needed

Connect with a Google account, or with a service account for shared drives. Tessel asks for read-only access by default. Upload, move and share actions need a write scope, and the narrower file scope is enough for files Tessel creates.

  • drive.readonly for change events, listing and downloads

  • drive.file to write only files Tessel creates or opens

  • drive for moving and sharing existing files

Setup

Four steps. About five minutes.

Most of the time goes into shared drive access. Tessel lists every folder the account can see.

  1. Sign in with Google or add a service accountGoogle2 min
  2. Add the account to the shared drives you needGoogle Drive1 min
  3. Pick folders and file types to watchTessel2 min
  4. Upload a test file and watch the event arriveVerify880 ms

Your files, in a workflow today.

Connect Google Drive on the free plan. Up to three builders and 10,000 runs a month, no card required.

Connect Google Drive
Connect Google Drive
All integrations
All integrations

One email a month. Only what shipped.

A1

Product

C1

Layouts

D1

Company

E1

Template

F1

All systems operational
fra41 ms
iad38 ms
sin52 ms

C2

Elsewhere

XLinkedInGitHubYouTube

E2

Move across the wordmark168 blocks · iso 30°

One email a month. Only what shipped.

A1

Product

C1

Layouts

D1

Company

E1

Template

F1

All systems operational
fra41 ms
iad38 ms
sin52 ms

C2

Elsewhere

XLinkedInGitHubYouTube

E2

Move across the wordmark168 blocks · iso 30°

One email a month. Only what shipped.

A1

Product

C1

Layouts

D1

Company

E1

Template

F1

All systems operational
fra41 ms
iad38 ms
sin52 ms

C2

Elsewhere

XLinkedInGitHubYouTube

E2

Move across the wordmark168 blocks · iso 30°

Create a free website with Framer, the website builder loved by startups, designers and agencies.