Need a customized project? We build it to your exact requirements.Contact us on WhatsApp

Free Upload File to Google Drive & Insert Data in Sheets

R21 Forms & Data Entry Pro Apps Script Pass Business
Need a Custom System? We Build It From Scratch
ERP, Finance, School Management, CRM & more — fully customized, production-ready, delivered fast.
ERP FMS SMS CRM Inventory HMS POS
You get
  • Google Sheet link
  • Source code file
  • Resale rights
  • Edit rights
  • Setup guide
  • AI setup help
Built and supported by

Mohammad Rameez Imdad

Founder of Rameez Scripts. I build these systems myself and help you set them up.

  • 33K+YouTube subscribers
  • 348+free tutorials
  • 4+ yrsbuilding since 2022

Key Features

File uploaded straight into your Google Drive Form data written into the spreadsheet at the same time Each record paired with its uploaded file Files kept in a Drive folder you nominate One ID pasted into the code during setup Code already inside the shared sheet Deployed as a Google Apps Script web app Source also published on GitHub

Description

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.

The record and the file stay together

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.

Everything stays in your account

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.

A short setup

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.

Where it fits

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.

Requirements

  • A Google account with Drive and Sheets
  • Your own copy of the provided spreadsheet
  • A Drive folder for the uploaded files
  • The ID pasted into the code where marked
  • Run the script once to authorise it
  • Deploy as a web app and share the form link

What's Included

  • Complete Apps Script code already inside the sheet
  • Google Sheet set up to receive the records
  • Upload form writing to Drive and the sheet together
  • Storage into a Drive folder you choose
  • Setup notes for the ID replacement
  • Deployment steps for the web app
  • Source also published on GitHub
  • Step-by-step video walkthrough of the full build
  • Free support from the developer

Item Details

Versionv1.0
PublishedAug 22, 2025
PlatformGoogle Apps Script
DatabaseGoogle Sheets
CategoryForms & Data Entry
VideoWatch walkthrough
LicenseRegular License
Get this source code free R21

Watch This Video to Unlock Free Source Code

Watch 50% of the video to unlock your free download

What you'll unlock

  • Code.gs + HTML source files
  • Google Sheet with full project
  • Apps Script Setup Guide included
0%
Subscription Verification Required
This is a free file. Subscribe to our YouTube channel to unlock the source code + Google Sheet. One click — no payment. Google only confirms you are subscribed.
Verify Now

Step 2: Verify Subscription & Download

Complete Step 1 first to unlock this section

Watch 50% of the video above
Free download

Subscribe & Unlock Source Code

Subscribe on YouTube, then verify with one click. No payment, no card. Google is used only to confirm your subscription.

What you get

  • Code.gs + HTML filesThe complete Apps Script project
  • Google SheetYour own copy with the data
  • Setup guideInstall steps from start to finish

Not subscribed yet? Subscribe to our channel

4.923 ratings on this site
White label Resale allowed Free bug fixes Lifetime updates
Question about this file, or stuck unlocking it? Ask me directly. I reply within 24 hours.
Free download Full source code Setup guide Edit + resale rights License & unlock detailsHide details
  • Regular license, full rights

    White label: your own brand, no Rameez Scripts credit needed. Modify it, use it on unlimited projects and resell it. Only condition: no video content about the product.

  • How the unlock works

    No payment and no card. Google is used only to confirm your YouTube subscription.

  • Setup guide

    The step-by-step Apps Script setup guide opens right after the download.

Get a custom version for your business

Your features, branding and reports, built on this system. Free quote before any work starts.

Chat on WhatsApp
Custom development

Need this customized for your business?

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.

400+Projects delivered
91+Countries served

20–30% advance to start · Clear quote before work begins · Support after delivery

What we customize

  • Features & functionsNew features, changes to existing scripts, custom formulas and automations
  • API & integrationsWhatsApp, payment gateways, CRM and more
  • Design & UI changesYour branding, layout redesign, dark mode, mobile layout
  • Full custom projectsDashboards, billing, inventory, CRM, built from scratch

People choose these

Paid picks from the same category

Multi-Level Dependent Dropdown Form | Google Apps Script Tutorial | B22 Multi-Level Dependent Dropdown Form | Google Apps Script Tutorial | B22 Apps Script I Built a Website to Sell Digital Products Online | Payment Gateways + WhatsApp Automation I Built a Website to Sell Digital Products Online | Payment Gateways + WhatsApp Automation PHP I Built Complete Gym Management Software in PHP MySQL | Membership, Attendance & POS I Built Complete Gym Management Software in PHP MySQL | Membership, Attendance & POS PHP

Reviews & Feedback

What buyers and YouTube viewers say about this project.

No reviews yet — be the first to review How to upload file to google drive and insert data into spreadsheet using Google Apps Script? | R21.