Templates / Monitor file changes with Google Drive push notifications

Monitor file changes with Google Drive push notifications

Ready for 3.0

by Jimleuk ✓ · 1,368 views · created 2025-07-17 · File Management

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This workflow has 20 nodes and runs when an HTTP POST request hits its webhook URL (plus 3 other triggers). It uses only n8n's built-in nodes. It also calls googleapis.com over HTTP.

How it runs

Trigger: When an HTTP POST request hits its webhook URL (plus 3 other triggers).

  1. Get Registration From WorkflowStaticData (Code): runs custom JavaScript code
  2. Set Variables (Edit Fields (Set)): sets 4 fields: driveId, channelId, channelToken…
  3. Register Notification Channel (Execute Sub-workflow): calls another n8n workflow
  4. Is Valid Request? (If): checks a condition and branches into true / false
  5. Get Registration (Code): runs custom JavaScript code
  6. Get Changes List (HTTP Request): calls googleapis.com
  7. Stop Any Existing Notifications (HTTP Request): calls googleapis.com (POST)
  8. Save NextPageToken to WorkflowStaticData (Code): runs custom JavaScript code
  9. Change Events to Items (Split Out): splits a list into separate items
  10. Get StartPageToken (HTTP Request): calls googleapis.com

…plus 4 more steps. See the full node list below.

HTTP calls to: googleapis.com

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Check at runtime on n8n 3.0
  • Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Informational: a static scan can't see the data, so test these on your own instance. Status above is unchanged.

Nodes used (12)

From the author

Tired of being let down by the Google Drive Trigger? Rather not exhaust system resources by polling every minute? Then this workflow is for you! Google drive is a great storage option for automation due to its relative simplicity, cheap costs and…

Excerpt from Jimleuk's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.