Connect OpenClaw to Google Drive
Let an OpenClaw agent find, read, create, organize and share files in Google Drive, with no credentials handed to the agent.
Google Drive is the file store behind Google Workspace: contracts, decks, spreadsheets,
exported reports and years of shared folders. It is also where files quietly go missing.
Someone needs the latest version of the pricing sheet, a client asks for a document that
was shared with the wrong address, and the “Q3” folder has three files named
final-v2.pdf.
With Claworc’s External Connections, an OpenClaw agent can work
inside your Google Drive on your behalf. You sign in to Google once through a popup,
Composio holds the resulting token, and the agent gets an auto-generated
claworc-googledrive skill that describes which Google Drive tools exist and how to call
them. The agent never sees a password, an OAuth token or an API key.
Tools available to OpenClaw agents
Section titled “Tools available to OpenClaw agents”Composio’s Google Drive toolkit exposes 76 actions covering files, folders, shared drives, permissions, comments and revisions. These are the ones an OpenClaw agent reaches for most often:
- Find files and folders — search by name, type, owner, folder or modification date to locate the file someone is asking about.
- Read file contents — download a file, exporting Docs, Sheets and Slides to a readable format on the way.
- Create files from text — write a new file, such as a summary or report, straight into a folder.
- Organize folders — build folder structure and move files into it.
- Manage sharing — share a file with a person or domain, or check who already has access.
- Read comments — see the comment threads on a document so the agent knows what reviewers asked for.
Every tool is called through a small broker running next to the agent, so the agent only needs to describe what it wants done in plain language and let the skill handle the rest.
Use cases
Section titled “Use cases”Find and summarize a document
Section titled “Find and summarize a document”“What did we agree with Northwind in the last MSA?” The agent searches for files matching the customer name, exports the most recent contract to text, reads it and answers with the relevant clauses and a link to the file. No hunting through shared folders or opening five candidates to find the right one.
Tidy a shared folder
Section titled “Tidy a shared folder”Ask the agent to go through a client’s folder, create subfolders by year and document type, move files into them, and produce a short index file at the top listing what is where. It creates the folders, moves the files, writes the index and leaves you with a folder that a new team member can actually navigate.
Audit and fix sharing
Section titled “Audit and fix sharing”Before a deal closes, ask the agent to list the permissions on every file in the deal room, flag anything shared with a personal address or “anyone with the link”, and share the final versions with the customer’s named contacts only. You get a table of what changed, and the sensitive files stop being one forwarded link away from public.
Get started
Section titled “Get started”Connecting Google Drive takes three steps: an admin adds a Composio API key to Claworc’s
settings, you open the instance’s Settings tab, click + Add connection, pick
Google Drive and sign in to Google. The claworc-googledrive skill appears in the
instance a moment later. The full walkthrough, including the exact Composio permissions
the key needs, is in the External Connections documentation.