Runwork
Google Drive

Google Drive workflow with nested folder support

This powerful workflow recursively scans Google Drive directories to extract every file within a folder tree, regardless of nesting depth. It simplifies complex file management by generating a comprehensive, flat list of file metadata for easy downstream processing. Ideal for developers and admins, it transforms messy folder hierarchies into organized datasets automatically.

Run this with your team's AI

What This Recipe Does

Managing large volumes of digital assets often leads to bottlenecks when files are scattered across deep folder structures. This automation streamlines your document management by systematically retrieving every file within a specified Google Drive folder, including those nested within subfolders. Instead of manually clicking through directories to find specific documents or verify project assets, this workflow provides a comprehensive list of all contents automatically. For businesses, this means faster audits, simplified data migration, and improved oversight of shared workspaces. By converting a complex folder hierarchy into a flat, actionable list, teams can ensure no file is overlooked during critical processes like client onboarding, legal discovery, or marketing campaign reviews. This tool eliminates the repetitive task of manual file discovery, allowing your team to focus on high-value analysis and decision-making rather than administrative searching.

What your team gets

Something anyone can use

Forms and dashboards, so it is not a script only one person understands

It keeps running

Runs on your schedule in the cloud, so it does not stop when a laptop closes

Your other tools can call it

Endpoints, so the rest of your stack can trigger the same work

Accounts connected once

Google Drive connected for the team, not per person

How It Works

  1. 1

    Open the recipe and connect your accounts

    Connect Google Drive once, in your team cloud, and nobody has to do it again on their own machine

  2. 2

    Tell your own agent what is different about your process

    Claude, ChatGPT, Cursor, whichever your team already uses. It adapts the recipe to how you actually work

  3. 3

    Run it, then leave it running

    It lives in your team cloud, so it keeps going after you close the laptop and every teammate's AI can use it

Who Uses This

Frequently Asked Questions

Does this automation work with shared drives?

Yes, it can access files in both personal folders and organized shared drives, provided the account has the necessary permissions.

Can I filter for specific file types like PDFs or images?

The automation retrieves all files by default, but you can easily customize the output to show only specific file formats or naming patterns.

How does it handle very large folders with hundreds of files?

The workflow uses batch processing to handle large volumes of data efficiently without hitting performance limits or skipping files.

What information do I get for each file found?

You receive comprehensive metadata for every file, including the file name, unique ID, creation date, and the specific path where it is located.

Importing from n8n?

This recipe uses nodes like If, StickyNote, ExecuteWorkflowTrigger, Code and 4 more. On Runwork, you don't need to learn n8n's workflow syntax. Describe what you want to your own AI agent in plain English.

If StickyNote ExecuteWorkflowTrigger Code Set ExecuteWorkflow GoogleDrive SplitInBatches

Based on n8n community workflow. View original

Related Recipes

Gmail Google Drive

Upload multiple attachments from Gmail to Google Drive - without a code node

This automated file management system streamlines your document intake process by instantly capturing and organizing email attachments. When a new file arrives in your Gmail inbox, the automation identifies the content, separates multiple attachments, and routes them to the correct folders in Google Drive based on predefined criteria. This eliminates the manual burden of downloading, renaming, and uploading files, ensuring that your digital workspace remains organized without human intervention. By centralizing your document storage automatically, you reduce the risk of losing important files in deep email threads and ensure that your team always has access to the latest documents in a structured environment. This workflow is essential for businesses handling high volumes of invoices, contracts, or project assets, allowing staff to focus on high-value analysis rather than administrative filing tasks.

See the recipe
HTTP / Webhook

Upload images to an S3 bucket via a Slack bot

This automation streamlines the complex process of managing digital assets and large-scale file distribution. By acting as a centralized bridge between webhooks and cloud storage, it automates the intake, categorization, and distribution of files across your organization. The workflow handles incoming data requests, processes them through conditional logic to ensure quality and compliance, and securely stores assets in Amazon S3. Simultaneously, it provides real-time notifications via Slack, keeping your team informed without manual updates. This eliminates the bottleneck of manual file handling, reduces the risk of data loss, and ensures that critical documents are always where they need to be. For businesses dealing with high volumes of user-generated content, automated reporting, or cross-platform data synchronization, this tool transforms a manual administrative burden into a seamless, background operation that scales with your business needs.

See the recipe
Jotform

Upload files via n8n form and save them to Digital Ocean Spaces

The DigitalOcean Upload automation simplifies the process of collecting and storing digital assets by bridging the gap between user input and secure cloud storage. Instead of manually handling file transfers or granting direct server access to external parties, this workflow provides a professional interface for file submission. When a user submits a file through the integrated form, the system automatically processes the data and securely transfers it to your DigitalOcean Spaces or S3-compatible storage. This eliminates the administrative burden of organizing incoming documents, media, or data files. By automating the ingestion pipeline, businesses can ensure that all uploaded content is stored consistently, securely, and in a centralized location. This process reduces the risk of lost attachments in email threads and speeds up internal workflows that rely on timely access to client or team-provided documentation. It is an essential tool for maintaining a clean, scalable storage architecture without requiring manual intervention for every new file received.

See the recipe
Google Drive

Automatic file renaming with timestamp format for Google Drive

The File Renamer Bot eliminates the tedious manual effort of organizing digital assets by automatically standardizing file names within Google Drive. Inconsistent naming conventions often lead to lost documents, version control issues, and wasted time searching for critical information. This automation monitors your specified folders and instantly applies uniform naming structures as soon as a new file is uploaded. By ensuring every document follows your predefined business logic—such as including dates, project codes, or department identifiers—you maintain a professional and searchable file system without lifting a finger. This level of organization is essential for teams handling high volumes of documentation, as it ensures data integrity and improves overall operational efficiency. Instead of correcting manual errors or hunting for 'Document_Final_v2.pdf', your team can rely on a perfectly organized repository where every file is exactly where it should be, named exactly how it should be.

See the recipe

Run this with the AI your team already uses

Your agent adapts it, your team cloud keeps it running, and everyone's AI can find it.

Open this recipe in Runwork