You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A new Google Apps Script that automatically organizes files in Google Drive using configurable rules based on file type, name patterns, and age. Monitors source folders on a timer trigger and moves files to destination folders based on matching rules. Configurable via the browser-based deploy page with Drive Picker for source/destination folder selection.
Market Signal
Google Drive Events reached GA in May 2026, signaling Google's investment in Drive automation infrastructure. Drive is the most underserved Google Workspace service in this project's current catalog (zero Drive-centric scripts). No open-source GAS tool offers browser-configured file organization — Zapier charges $29.99/mo for equivalent Drive automation, and Workspace Studio requires enterprise plans. AI add-on installs in the Workspace Marketplace grew 200% between 2023–2025, with file management being a top category.
User Signal
The project already handles Drive interaction in gmail-to-drive-by-labels (folder creation, attachment filing), demonstrating architectural familiarity. The deploy page already includes Drive Picker with folder navigation (setIncludeFolders). Every Google Workspace user struggles with Drive organization — it is a universal pain point with no free, no-code solution. The gap between "I can find it via search" and "it's where it belongs" is exactly what this script fills.
Technical Opportunity
Follows the established dual-layer architecture: code.gs (thin GAS wrapper) + src/index.js (testable logic) + config.gs (rules). The deploy page's SCRIPT_CATALOG and Picker integration already support folder selection. Can reuse gas-utils.js patterns. Config shape: [{sourceFolder, rules: [{match: 'type:pdf', destFolder}], ageThresholdDays}]. The rule-matching engine lives in src/index.js and is fully testable.
Assessment
Dimension
Score
Rationale
Feasibility
high
Follows established patterns; Drive Picker already exists; DriveApp is mature
Impact
high
Universal pain point; fills the Drive gap in the catalog; no free alternative exists
Urgency
high
Drive Events GA (May 2026) validates Google's investment; market demand is strong
Adversarial Review
Strongest objection: Google's native AI-powered Drive search may reduce the need for manual organization. Workspace Studio could theoretically build this without Apps Script.
Rebuttal: Google's AI improves search/discovery but does not organize files — users still want files in the right folders for sharing, team contexts, and mental models. Workspace Studio requires enterprise plans and doesn't offer the pre-built, zero-config experience this project provides.
Suggested Next Step
Draft the config schema and rule-matching engine in src/drive-file-organizer/src/index.js with Jest tests, following the established extraction pattern. Start with file-type rules (e.g., move PDFs to a "Documents" folder), then add name-pattern and age-based rules.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Summary
A new Google Apps Script that automatically organizes files in Google Drive using configurable rules based on file type, name patterns, and age. Monitors source folders on a timer trigger and moves files to destination folders based on matching rules. Configurable via the browser-based deploy page with Drive Picker for source/destination folder selection.
Market Signal
Google Drive Events reached GA in May 2026, signaling Google's investment in Drive automation infrastructure. Drive is the most underserved Google Workspace service in this project's current catalog (zero Drive-centric scripts). No open-source GAS tool offers browser-configured file organization — Zapier charges $29.99/mo for equivalent Drive automation, and Workspace Studio requires enterprise plans. AI add-on installs in the Workspace Marketplace grew 200% between 2023–2025, with file management being a top category.
User Signal
The project already handles Drive interaction in gmail-to-drive-by-labels (folder creation, attachment filing), demonstrating architectural familiarity. The deploy page already includes Drive Picker with folder navigation (
setIncludeFolders). Every Google Workspace user struggles with Drive organization — it is a universal pain point with no free, no-code solution. The gap between "I can find it via search" and "it's where it belongs" is exactly what this script fills.Technical Opportunity
Follows the established dual-layer architecture:
code.gs(thin GAS wrapper) +src/index.js(testable logic) +config.gs(rules). The deploy page'sSCRIPT_CATALOGand Picker integration already support folder selection. Can reusegas-utils.jspatterns. Config shape:[{sourceFolder, rules: [{match: 'type:pdf', destFolder}], ageThresholdDays}]. The rule-matching engine lives insrc/index.jsand is fully testable.Assessment
Adversarial Review
Strongest objection: Google's native AI-powered Drive search may reduce the need for manual organization. Workspace Studio could theoretically build this without Apps Script.
Rebuttal: Google's AI improves search/discovery but does not organize files — users still want files in the right folders for sharing, team contexts, and mental models. Workspace Studio requires enterprise plans and doesn't offer the pre-built, zero-config experience this project provides.
Suggested Next Step
Draft the config schema and rule-matching engine in
src/drive-file-organizer/src/index.jswith Jest tests, following the established extraction pattern. Start with file-type rules (e.g., move PDFs to a "Documents" folder), then add name-pattern and age-based rules.All reactions