Grok + Google Drive
Grok and Google Drive: What the Connector Can Change
How to connect Grok to Google Drive, what its connector can and cannot change, why it will not move or rename files, and how to reorganize Drive from Grok.
The short answer
Grok connects to Google Drive through xAI's own connector. It can search files by content or title, read them, create files and folders, write new Google Docs, upload files Grok made and move files to the trash. xAI does not list moving or renaming files or editing existing ones, and nothing undoes a set of changes. With The Drive AI added to Grok as a custom connector, a whole folder or drive is reorganized as one change you check first, and undone as one.
How to connect Grok to Google Drive
Step 1
Open Connectors
On the web, click + in the chat, choose Connectors and Add connector, or go to grok.com/connectors. On iOS and Android, go to Settings, then Connectors.
Step 2
Pick Google Drive and sign in
Sign in with the Google account whose files Grok should reach. Grok can only reach files that account can reach.
Step 3
Allow writing if you want it
The write permission is optional: it lets Grok create and change files. Without it the connector searches and reads only.
Step 4
On Business and Enterprise
A team admin provisions the connector in the xAI cloud console before members can connect it.
What Grok's Google Drive connector can and cannot do
It can
Search files by content or title, and filter by starred, shared, date or folder
Read files, including Docs, Sheets and PDFs
Create files and folders, including new Google Docs
Move files to the trash, and save files Grok made into any folder
It cannot
Move or rename files, as far as xAI documents
Edit an existing file in place, as far as xAI documents
Undo a set of changes as one
Reach OneDrive, Dropbox or a computer in the same request
Troubleshooting
Grok's Google Drive connector not working?
- Grok says it cannot move or rename a Drive file
- xAI's Google Drive connector does not list moving or renaming. Add The Drive AI as a custom connector at grok.com/connectors, which moves and renames as one change you check first.
- Grok can read Drive but not create files
- The write permission is optional. Reconnect Google Drive and allow it to create and modify files.
- Google Drive is missing from Connectors on a company account
- On Business and Enterprise a team admin provisions connectors in the xAI cloud console first. Ask your admin, then connect it yourself.
- A shared drive file does not show up
- Grok reaches only what the signed-in Google account can open. Check that the account you connected has access to the file or shared drive.
Bigger jobs
Where it stops, and what The Drive AI adds
Grok's connector works one change at a time. For a whole folder, a whole drive, or more than one drive, ask The Drive AI directly, or add it to Grok as a second connector.
| Job | Grok's connector | With The Drive AI |
|---|---|---|
| Sort 2,000 loose files into folders | No moves, as far as xAI documents. | One change with a preview, approved once, run in the background. |
| Rename files from what they say | No renames, as far as xAI documents. | Each file named from its contents, as one change. |
| Undo a reorganization | No undo. | One request reverses the whole change. |
| Drive and OneDrive together | Separate connectors; OneDrive on Business and Enterprise. | One folder tree, including moves between drives. |
| Rules for the whole team | Each person connects and asks on their own. | One workspace: rules an owner or admin sets apply to everyone, and each person acts as themselves. |
| New files, as they arrive | The connector acts only when someone asks. | A workflow reads each file as it lands and files it; anything it holds for a person shows up in their Today brief. |
| Learns where your team files things | The connector keeps no record of where things go. | When someone moves a filed document, later filings follow. Kept in your workspace; nothing trains on your files. |
Set up once
Add The Drive AI to Grok
It sits beside Grok's Google Drive connector rather than replacing it. Connecting Google Drive to The Drive AI comes with Max and Team; files in The Drive AI workspace work on every plan.
Grok
Go to grok.com/connectors, click New Connector, choose Custom, enter the server URL and sign in. On Business and Enterprise, a team admin adds it first.
Server URL
https://mcp.thedrive.ai/mcp
Prompts for Google Drive
In my Google Drive, sort the loose files in My Drive into folders by year and document type. Show me the plan before you move anything.
The whole drive is reorganized as one change you check first, and undone as one.
Rename the scanned PDFs in my Drive Scans folder from what each one says: date first, then the sender. Show me the new names first.
Each scan is named from its contents, in place.
Find duplicate files in my Google Drive and propose moving the extra copies into a Duplicates folder.
Copies leave the working folders without anything being deleted.
Common questions
Checked against the publishers' documentation and the connector's own tool list on 2026-11-25. Sources:
Can Grok access my Google Drive?
Yes, through xAI's Google Drive connector: it searches, reads, creates files and folders, and moves files to the trash, for the Google account you sign in with.
Can Grok organize my Google Drive?
Not by moving files: xAI does not list moving or renaming. With The Drive AI added as a custom connector, Grok can sort a folder or a whole drive as one change you check first, and undo it as one.
Does Grok ask before changing my files?
xAI says that once connected, Grok can use a connector's tools whenever your questions relate to that service; it does not describe a confirmation step. Through The Drive AI, a large or destructive change comes back as a preview for you to approve.
Which Grok plans have connectors?
xAI says connectors are available to all Grok users, and that OneDrive and SharePoint are on Business and Enterprise only. Its Google Drive page does not name a plan.
One request for the whole drive.
Ask The Drive AI directly, or add it to Grok. Either way a large change comes back as a preview for you to confirm, and anything applied can be undone as a whole.
