Gemini Now Writes Your Google Sheets Automations. Start With One Small Job, on a Copy.

Describe a chore in plain words and Gemini writes the Apps Script for it. Here is a safe first project, and the one screen to read before you click Allow.

By John Martines · November 24, 2026 · 6 min

Since mid-November, Gemini in the Apps Script editor is generally available on Google Workspace Business Standard and Plus. Seven steps to turn one repetitive chore into a working automation without touching your real data until it works.

You can now describe a chore in plain words, like "email me when a new row lands in this sheet," and Gemini writes the script that does it. On Google Workspace Business Standard and Plus, Google made this generally available in November, and you review every piece of the code before it runs.

Picture the front desk at a dental office. New-patient forms come in through a Google Form, and the answers pile up in a sheet. Twice a day someone copies the new names into an email to the hygienist. This week, the office manager opens the sheet, clicks Extensions, then Apps Script, types two sentences to Gemini, and gets a script that sends that email on its own.

What it is, in plain words

Apps Script is the small programming tool built into Google Sheets, Docs, Slides and Forms. It can send email, create calendar events, copy rows and run on a schedule. Most offices never used it, because you had to write code.

Now there's a Gemini panel inside the Apps Script editor. You describe what you want, Gemini writes the code, and the editor shows it in blocks you Accept or Reject one at a time. If the script fails, a Fix errors button in the execution log asks Gemini to explain the problem in plain language and suggest a fix. You can also ask it to add a timed trigger, so a script runs every morning without anyone pressing a button.

How it got here:

  • Earlier in 2026: Gemini in Apps Script ran as a public beta.
  • November 12, 2026: Google started a gradual rollout to Workspace customers, which it said could take up to 15 days to appear for everyone.
  • November 16, 2026: Google announced it as generally available on Business Standard and Plus, Enterprise Standard and Plus, and with the AI Expanded Access add-on.

Business Starter isn't on that list. TechRepublic noted on November 17 that an eligible account may not see the panel right away.

Why it matters to a small business

Every office has chores that are pure copying: form answers into an email, a weekly list into a report. They're the jobs that slip when the office gets busy, and a script does them the same way every time.

Two things come with it.

A script acts as you. Google says scripts run with the user's existing permissions and the standard consent screen. If you can read the whole shared drive and send email as yourself, so can the script you approve.

Your staff can build them too. Google says anyone across the organization can use it, with admins keeping control in the Admin console. That's good news for whoever wants to fix their own chore. It also means automations can appear in your office without anyone else knowing.

What to do about it, in order

1. Check that you have it. Open any Google Sheet, click Extensions, then Apps Script. On a new script the Gemini panel opens by itself; otherwise look for the Ask Gemini spark icon in the top right. If it's missing, check your plan and ask whoever runs your Google admin account whether Gemini and Apps Script are turned on.

2. Pick one small, boring job. Choose a chore that lives in one sheet and only tells a person something, like an email to you when a new row appears. Leave anything that deletes, moves, pays or emails customers for later.

3. Make a copy and work there. In Sheets, click File, then Make a copy, and name it "TEST." Build the script inside the copy, where a mistake costs nothing.

4. Describe the job in plain words. Say which sheet and tab, which columns matter, what should happen, who gets told, and how often. "When a new row is added to the Responses tab, email the front desk's shared address with the patient's first name and appointment date. Don't include anything else." The prompt below helps you write this.

5. Read every block before you accept it. Don't click Accept All on your first script. For any block you don't understand, ask Gemini, "Explain this block in plain English, line by line." If it touches something you didn't ask for, like a different file or a delete, reject it and say so.

6. Read the permission screen before you click Allow. The first time it runs, Google asks you to approve what the script can reach. A script that emails you about one sheet shouldn't need all of your Drive or your whole calendar. If the list is bigger than the job, stop and ask Gemini why. Then run it on the copy a few times and check the results by hand. Our guide to [which AI jobs need your OK](/articles/which-ai-jobs-need-your-ok) uses the same test.

7. Write it down and know how to turn it off. Keep a short list in a shared doc: the script's name, the file it lives in, who made it, what it touches, and when it runs. Learn where the off switch is: in the Apps Script editor, the Triggers page (the clock icon on the left) lists anything scheduled, and deleting a trigger stops it. Only then point the script at the real sheet.

The prompt

Copy this into Claude or ChatGPT. It turns your chore into a clear request for Gemini, plus a short test plan for the copy.

```prompt YOUR PART The chore: [what someone does by hand today, step by step] The file: [the sheet name and the tab, and the column names that matter] Who should be told, and how: [an email to whom, or a new row, or a doc] How often: [when a row is added, every morning at 8, every Friday] What must never happen: [for example, no email to customers, nothing deleted]

---- LEAVE THIS PART AS IT IS ---- You are helping a small business owner ask Gemini in Google Apps Script to automate one chore. Write two things. First, a request to paste into Gemini: plain sentences, naming the file, tab, columns, the action, the schedule and what the script must never do. Ask Gemini to keep the script short, to touch only this one file, and to add a comment above each block saying what it does. Second, a test plan of five checks to run on a copy of the sheet before the script touches the real one, including what the permission screen should and shouldn't ask for. Keep both under 250 words. If anything above is missing or unclear, say what is missing instead of guessing. ```

The line not to cross

Never let a new script email customers, delete rows, or change the real file until it has run correctly on a copy and you've read every block. And never click Allow on a permission screen that asks for more than the job needs.

Five checks before it goes live
  • Did it run right on the copy three times, once with an odd row?
  • Can you say what each block does?
  • Does the permission list match the job?
  • Is it on the office's list, with an owner?
  • Can someone besides the owner turn it off?
Where it's going

Automation is moving from programmers to whoever has the chore, and that person knows best how it should work. The cost is that scripts multiply quietly. The offices that come out ahead will keep a one-page list of what each one does, who owns it, and how to stop it.

---

Sources (checked November 23, 2026). The Gemini side panel in Apps Script generally available, the examples, block-by-block Accept and Reject, Fix errors, timed triggers, running with the user's permissions and standard consent, admin controls, the rollout from November 12 of up to 15 days, and the editions: "Easily customize and extend Google Workspace with Gemini in Apps Script" (Google Workspace Updates, Nov 16, 2026). Opening the panel: "Use the Gemini side panel in the Apps Script editor" (Google for Developers, Apps Script guides, accessed Nov 23, 2026). An eligible account may not see the panel right away, and reviewing the permissions a script requests: "Google Gemini Can Now Write Apps Script Automations Without Coding" (TechRepublic, Nov 17, 2026).

All articles