How to Embed a File Upload Widget in Webflow
Add a drag-and-drop file upload form to your Webflow site that saves files directly to Google Drive. No code, no plugins.
How to Embed a File Upload Widget in Webflow
Webflow makes it easy to build beautiful websites, but file uploads that save to Google Drive are not built in. DriveWidget solves this with one embed snippet.
What you will need
- A Webflow site (any plan)
- A free DriveWidget account
- A connected Google Drive folder
Step 1: Create your widget
- Sign up at drivewidget.com/register
- Connect your Google Drive account
- Go to Dashboard > Widgets > New Widget
- Set a name and pick the destination Drive folder
- Copy your Widget ID from the widget settings
Step 2: Add the embed in Webflow
-
Open your Webflow project in the designer
-
Drag an Embed element onto the page where you want the upload form
-
Paste this code into the embed block:
-
Click Save & Close, then publish your site
Step 3: Test it
Open your published Webflow page and try uploading a file. It should appear in your Google Drive folder within seconds.
Customization options
Webflow CMS tip
If you use Webflow CMS with client pages, add the embed to a CMS template and use a unique widget per client. Each widget points to a different Google Drive subfolder.
Domain whitelist
Go to Widget > Security > Allowed Domains and add your Webflow domain to prevent the widget being used on other sites.
Next steps
- Client Portals - Build a full branded upload page per client
- Webhooks - Get notified when someone uploads
- Embed Widget docs - Full configuration reference
Ready to collect files?
Start using DriveWidget for free. No credit card required.