Google Drive
StorageConnect AI agents to Google Drive for file management, content processing, and collaborative workflows. Agents upload, organize, share, copy, export, and read files and react to file changes via OAuth2.
What This Integration Enables
Agents manage the full Google Drive file lifecycle: upload, download, create, copy, move, rename, delete, and export files; create folders; create shortcuts; and read file content and folder listings. Find File, Find Folder, and Find Multiple Files run name and metadata searches before acting, and Select File picks the one Sheets, Docs, Slides, or Forms file the other Google connectors then work on by ID. Add File Sharing Preference applies the right sharing rule when a recipient or scope is determined upstream. Four triggers cover the events that matter: On New File, On New Folder, and On File Updated poll a folder, while On File Changed watches one chosen file through Google's push notifications. Together the surface lets a flow watch an intake folder, process every file that lands, deliver each output where it belongs, and keep a record of what moved and who got access.
Without FlowRunner
With FlowRunner
Flows you can build with Google Drive
-
Emailed Load Paperwork Filed by Load Number
Carriers, shippers and drivers email rate cons, BOLs, PODs, carrier invoices and lumper receipts to your paperwork inbox in Gmail. The agent reads each attachment, names the document type and reads the load number, then looks the load up in McLeod LoadMaster. It runs Find Folder inside your Loads folder for the folder named exactly after the load number, calls Create Folder when there is none, and files the document with Upload File as "0451873 POD.pdf". Paperwork with no load number, or a number McLeod doesn't know, goes to ops in Slack instead of a guess. Every document for a load lands in one folder.
-
Carrier COI Expiry Check
Each carrier has a folder that holds its setup packet. Once a day the agent lists the carrier folders with Find Multiple Files and the certificates of insurance in them with Get Folder Listing, then uses Download File to read the newest COI in each and find its earliest policy expiration date. A COI that is missing, expired, or expires within the days you set gets an email to the carrier through Gmail asking for a current certificate, and a message to carrier setup in Slack. A log in Google Sheets keeps each COI from being flagged twice. Nobody has to open every carrier folder to check dates.
-
Delivered Load Documents Copied to Drive
When a load moves to Delivered in McLeod LoadMaster, the agent lists the documents McLeod Imaging holds for it, finds or creates the load's folder with Find Folder and Create Folder, and checks Get Folder Listing so nothing is copied twice, including a document the emailed paperwork already put there. Each new document is downloaded from McLeod as a PDF and filed with Upload File. The rate con, BOL and POD sit in Drive next to the paperwork that came in by email, ready when an auditor or a customer asks.
Human-in-Loop Highlight
Granting external access to a folder is exactly where an agent should stop and ask. When Add File Sharing Preference is about to extend access outside the organization, or Delete File is about to remove a document marked sensitive, the agent does not execute on its own. It stages the request and routes to the data owner via Slack: "Request to share folder '[name]' with external recipient [email] as [role]. Approve, change the role, or deny?" The owner decides. On approval, the agent applies the sharing preference and records the decision with the approver and timestamp. Internal filing flows through; access that leaves the building gets a human in the loop.
Agent Capabilities
18 actionsFile Operations
10- Upload File Uploads a file into a Drive folder. Used to file generated documents and exports without a manual upload.
- Download File Downloads a Drive file. Used to pull a document into a flow for parsing or further processing.
- Create File Creates a new file. Used in scaffolding flows.
- Copy File Copies a file to another location. Used to distribute a document to multiple destinations without altering the original.
- Move File Moves a file to a different folder. Used to route documents to their archive or destination folder.
- Rename File/Folder Renames a file or folder. Used to apply naming conventions automatically.
- Delete File Permanently deletes a file the user owns, skipping the trash; a folder takes every descendant the user owns with it. Used in cleanup flows, and held behind the human gate when the target is sensitive.
- Get File Content Retrieves a file's content. Used to read the file for downstream processing.
- Get File Data Retrieves a file's metadata. Used to confirm type, size, or owner before acting.
- Export File Exports a Google Workspace file (Doc, Sheet, Slides) to another format. Used to convert before downstream processing.
Folder Operations
2- Create Folder Creates a new folder. Used to stand up client or project folders on demand.
- Get Folder Listing Lists files and subfolders in a folder. Used to enumerate content before a batch operation.
Search and Lookup
4- Find File Searches and retrieves a file by name or metadata. Used to locate a file before acting.
- Find Folder Searches and retrieves a folder by name. Used to locate the right destination before filing.
- Find Multiple Files Searches and retrieves multiple files matching a query. Used in batch flows.
- Select File Picks one Drive file from a file picker and returns its ID, name, MIME type, and link. The Google Sheets, Docs, Slides, and Forms actions take a file ID and do not list Drive files themselves, so this is the step that hands them one. A chosen File Type narrows the picker and refuses any other kind of file; shared drives are supported.
Sharing and Shortcuts
2- Add File Sharing Preference Applies a sharing preference (role and scope) to a file or folder. Used to grant the right access as part of the flow that needs it.
- Create Shortcut Creates a shortcut to a file or folder. Used to surface a document in a different folder without copying it.
Triggers
4 triggersEvent Triggers
4- On New File Fires when a new file lands in a watched folder. Initiates intake and processing flows.
- On New Folder Fires when a new folder is created. Initiates folder-setup and notification flows.
- On File Updated Fires when a file in the selected folder is modified, checked on a polling interval of 30 seconds or more; subfolders are not watched. Initiates flows that react to content changes across a folder.
- On File Changed Fires in real time when one chosen file changes, through Google Drive push notifications: content edits, renames and other metadata changes, permission changes, moves to or from the trash, and deletion. The event says what kind of change happened but not the new content, and Google may batch quick edits into one notification, so flows read the file in a later step. The watch renews itself before Google expires it.
Frequently asked questions
What can FlowRunner do with Google Drive?
FlowRunner agents can run Add File Sharing Preference, Create Shortcut, and Get Folder Listing in Google Drive, plus 15 more actions.
Does connecting Google Drive to FlowRunner require OAuth?
Yes. Google Drive connects to FlowRunner with OAuth 2.0, so agents authenticate without handling raw credentials.
Can Google Drive trigger a FlowRunner workflow automatically?
Yes. Google Drive supports 4 triggers that can start a FlowRunner workflow automatically.
Start building with Google Drive
Free plan, no card required. Connect in minutes.