R21 is the small piece a lot of projects turn out to need: a form that accepts a file and a set of details together, drops the file into your Google Drive and writes the details into your spreadsheet in the same submission.
Handled separately, these two drift apart. Files land in a Drive folder with names nobody can trace, and the sheet ends up with rows that reference documents nobody can find. Doing both in one submission is what keeps a row and its attachment connected β a CV with its application, a receipt with its claim, an ID scan with its registration.
The file goes to a Drive folder you nominate and the data goes to your own spreadsheet. There is no third-party storage in the middle, no upload service to pay for and nothing about the submission leaving your Google account.
Make a copy of the sheet and the code is already inside it under Extensions. The only change to make is pasting in your own ID where the code expects it, then save, run it once to authorise, and create a new deployment as a web app. The URL that comes back is the form. The source is also published on GitHub if you would rather read it there before running anything.
Treat it as a building block rather than a finished application. It is the upload half of a bigger build β pair it with one of the login files here to control who can submit, or with a table file to display what has been collected.
| Version | v1.0 |
| Published | Aug 22, 2025 |
| Platform | Google Apps Script |
| Database | Google Sheets |
| Category | Forms & Data Entry |
| Tags | |
| Video | Watch walkthrough |
| License | Regular License |
Subscribe on YouTube, then verify with one click. No payment, no card. Google is used only to confirm your subscription.
What you get
Not subscribed yet? Subscribe to our channel
Extra modules, your branding, integrations or reports built on top of this file. You get a clear quote and timeline before any work starts, and support after delivery.
What We Customize
20-30% advance to start β’ Clear quote before work begins β’ Support included after delivery
Paid picks from the same category
Multi-Level Dependent Dropdown Form | Google Apps Script Tutorial | B22
49 views this month
Grocery Store POS System with Barcode Scanner | Google Sheet POS + Apps Script + AI
233 views this month
How to Build an App with Claude AI: Complete Church Management System in Google Sheets
161 views this month
What buyers and viewers say about How to upload file to google drive and insert data into spreadsheet using Google Apps Script? | R21.