π AI-powered file management automation for Google Drive with MCP
β‘ 4,974 views Β· π File Management
Description
This workflow contains community nodes that are only compatible with the self-hosted version of n8n.
π Google Drive MCP Workflow β AI-Powered File Management Automation π
π§ Overview
A secure and intelligent n8n workflow that connects with Google Drive via MCP (Model Control Protocol). Ideal for AI agent tasks, compliance-driven storage, and document automation.
π Key Features
π Built-In Safety
Backs up files before edits (timestamped) Supports rollback using file history Validates file size, type, and permissions π Smart Organization
Automatically converts file types (PDF, DOCX, etc.) Moves files to structured folders Auto-archives old files based on age or rules
π MCP Integration
Accepts standardized JSON via webhook Real-time execution for AI agents Fully customizable input (action, fileId, format, etc.)
β AI Callable MCP Actions
These are the commands AI agents can perform via MCP:
Download a file (with optional format conversion) Upload a new file to Google Drive Copy a file for backup Move a file to a specific folder Archive old or inactive files Organize documents into folders Convert files to a new format (PDF, DOCX, etc.) Retrieve and review file history for rollback π Example Input { βactionβ: βdownloadβ, βfileIdβ: βabc123β, βfolderPathβ: β/projects/clientAβ, βconvertFormatβ: βpdfβ }
π Security & Performance
OAuth2 secured access to Google Drive API No sensitive data stored in transit Real-time audit logs and alerts Batch-friendly with built-in rate limiting π Ideal For Businesses automating file management AI Agents retrieving, sorting, converting, or archiving files Compliance teams needing file versioning and backups βοΈ Requirements n8n + Google Drive API v3 MCP server + Webhook integration Google OAuth2 Credentials
π Nodes Used
MCP Server Trigger
π₯ Import
Download workflow.json and import into n8n:
Workflow menu β Import from File