shared-folder-google-drive

Enhanced n8n node for searching files in Google Drive shared folders. Read full guide: https://dps.media/gioi-thieu-node-n8n-tim-kiem-file-trong-thu-muc-chia-se-google-drive/

Package Information

Released: 11/22/2025
Downloads: 80 weekly / 1,029 monthly
Latest Version: 2.0.7
Author: Hien Ho

Documentation

Shared Folder Google Drive

🚀 Enhanced n8n node for working with shared folders and files in Google Drive

npm version
License: MIT

📖 Read our complete guide in Vietnamese

✨ Why This Node?

The built-in n8n Google Drive node doesn't properly support searching files in shared folders. This node automatically includes the required API parameters (supportsAllDrives, includeItemsFromAllDrives, sharedWithMe) for seamless access to shared folders and files.

💡 Detailed Vietnamese tutorial: Tìm hiểu cách sử dụng node tại DPS.Blog

🚀 Quick Start

# Install in n8n Community Nodes
n8n-nodes-shared-folder-google-drive

# Or install manually
cd ~/.n8n/nodes
npm install n8n-nodes-shared-folder-google-drive

🎯 Key Features

  • Find/Search files in shared folders
  • List Items from any shared folder
  • Get/Download file content
  • Upload files to shared folders
  • Update/Remove file operations
  • Simple Mode: Search ALL files shared with you (no IDs needed!)

📄 Quick Example

Find all PDFs in a shared folder:

Operation: Find Items
Search Query: 'FOLDER_ID' in parents and mimeType = 'application/pdf'

🔧 Need help? Xem hướng dẫn chi tiết bằng tiếng Việt

How to get Folder ID:

  1. Open the shared folder in Google Drive
  2. Look at URL: https://drive.google.com/drive/folders/16prcpIImJ6vb73yh05q_zaT4qQJhQzJK
  3. Copy the ID part: 16prcpIImJ6vb73yh05q_zaT4qQJhQzJK

🔧 Setup

1. Install the node

See Quick Start above.

2. Create Google OAuth Credential

  1. Go to Google Cloud Console
  2. Create/select a project
  3. Enable Google Drive API
  4. Create OAuth 2.0 Client ID
  5. Add redirect URI: http://localhost:5678/rest/oauth2-credential/callback
  6. Copy Client ID & Secret to n8n credential: Shared Folder Google Drive OAuth2 API

📚 Complete setup guide: Hướng dẫn cài đặt chi tiết

📚 Common Search Queries

// Find all shared files
(no query needed, just use "All Shared Files" mode)

// Find files in specific folder
'FOLDER_ID' in parents

// Find videos in folder
'FOLDER_ID' in parents and mimeType contains 'video'

// Find PDFs by name
name contains 'invoice' and mimeType = 'application/pdf'

// Find recent files
modifiedTime > '2024-11-01T00:00:00'

// Find large files
'FOLDER_ID' in parents and size > 10485760

🆚 vs Built-in Google Drive Node

Feature Built-in Node This Node
Search in shared folders ❌ Doesn't work Works perfectly
Requires folder ID Sometimes ✅ Optional
sharedWithMe support
Full Google query syntax ⚠️ Limited Complete
404 errors Common Fixed

🔍 Want more examples? Read our detailed comparison and examples

🐛 Issues & Support

📄 License

MIT License - see LICENSE file for details.


📖 Read the complete Vietnamese guide at DPS.Blog

Made with ❤️ in Vietnam 🇻🇳

Discussion