Upload files directly from Claude to Google Drive using a simple Google Apps Script.
~/.cowork-gdrive-config.json)~/.cowork-gdrive-config.json with your script URL and API keyAsk Claude naturally:
```bash
cat "$HOME/.cowork-gdrive-config.json"
FILE="/path/to/file" B64=$(base64 "$FILE" | tr -d '\n') MIME=$(file --mime-type -b "$FILE")
curl -s -L -H "Content-Type: application/json"
-d '{"fileName":"name","content":"'$B64'","mimeType":"'$MIME'","apiKey":"KEY"}'
"SCRIPT_URL"
```
User: "Upload this report to Google Drive"
Output: Claude encodes the file, uploads it via the Apps Script, and returns: "Uploaded successfully! Here's your file: https://drive.google.com/file/d/abc123/view"
folderPath to organize files into folders (e.g., "Clients/Acme")"replaceExisting": true to overwrite instead of duplicatingFull plugin with setup guide and Apps Script code: https://github.com/msmobileapps/google-drive-upload-plugin
Built by MSApps — AI Automation & Application Development