DEV Community

Sanheen Sethi
Sanheen Sethi

Posted on

How to Collect Files into Google Drive — No Google Login Required for Uploaders

If you've ever tried to collect files from clients, students, or collaborators using Google Drive, you've probably hit one of these walls:

  • Google Forms requires uploaders to have a Google account (the #1 complaint worldwide)
  • Google's "Request Files" feature was quietly killed in 2023
  • Shared folders are messy and hard to manage
  • Email attachments max out at 25MB and scatter files everywhere

I ran into this problem while building tools for agencies and freelancers. They needed a simple way to say: "Upload your files here, they'll land in my Google Drive." No login required for the person uploading.

So I built DriveWidget — and I want to share how it works and how you can set it up in under 2 minutes.

The 3 Ways to Collect Files

1. Embeddable Upload Widget

Drop one line of HTML into any website:

<iframe
  src="https://drivewidget.com/widget/YOUR_WIDGET_ID/embed"
  width="100%"
  height="400"
  frameborder="0"
></iframe>
Enter fullscreen mode Exit fullscreen mode

Works with WordPress, Squarespace, Wix, Webflow, React, Next.js — anything that supports HTML.

2. Standalone Upload Page

Every widget gets a shareable link like:

https://drivewidget.com/u/your-custom-slug
Enter fullscreen mode Exit fullscreen mode

Share it via email, Slack, or even a QR code. No account needed for uploaders.

3. REST API

For developers who want programmatic control:

# Upload a file via API
curl -X POST https://drivewidget.com/api/upload/WIDGET_ID \
  -H "X-API-Key: your_key" \
  -F "file=@document.pdf" \
  -F "full_name=John Doe" \
  -F "email=john@example.com"
Enter fullscreen mode Exit fullscreen mode

The API also supports listing files, downloading, and deleting — full CRUD on your Google Drive folder.

How It Works Under the Hood

  1. You connect your Google Drive via OAuth (standard Google consent screen)
  2. You create a widget — pick colors, set allowed file types, add form fields
  3. Uploaders visit the page or widget — they drag & drop files
  4. Files land directly in YOUR Google Drive folder — organized by date or form field values

The key insight: uploaders never interact with Google at all. They see your branded upload page, not a Google login screen.

Features That Save Time

Feature What it does
Form fields Collect name, email, or custom data alongside files
Auto-folders Organize uploads into subfolders by date or field value
File renaming Auto-rename files with patterns like {date}_{name}_{original}
Webhooks Trigger Zapier/Make/custom workflows on each upload
Email alerts Get notified when someone uploads
Password protection Lock upload pages behind a password
Custom CSS Full styling control on Pro plan

Use Cases I've Seen

  • Agencies collecting assets from multiple clients (one upload page per client)
  • HR teams collecting resumes into organized Drive folders
  • Teachers receiving homework without requiring student Google accounts
  • Event organizers collecting photos via QR code upload links
  • Freelancers with branded upload portals for clients

Quick Comparison

Google Forms DriveWidget
Uploader needs Google account Yes No
REST API Limited Full CRUD
Custom branding No Yes
Webhooks No Yes
Auto-organize files No Yes
Embed on any site No Yes

Getting Started

  1. Sign up at drivewidget.com (free tier: 3 connections, 5K requests/month)
  2. Connect your Google Drive via OAuth
  3. Create your first widget
  4. Embed it or share the upload link

The free tier is genuinely usable — no credit card required, no expiration.


I built this as a solo developer with FastAPI + Next.js + PostgreSQL, running on a $7/mo VPS. Happy to answer any questions about the technical architecture or use cases.

What's your current workflow for collecting files from people who don't have Google accounts?

Top comments (0)