Agent update
Gemini in Apps Script
Gemini in Apps Script became generally available on 16 Nov 2026, adding a Gemini side panel to the Apps Script editor so you can describe a repetitive Google Workspace task in plain language and have Gemini write the script.
How to use Gemini in Apps Script for small business
A general manager can ask for a script that pulls figures from a Google Sheet every Monday and turns the table into a formatted Docs report, with a time-based trigger so it runs on its own. An office manager can describe a tidy-up script that moves new files into the right Drive folders. A booking coordinator can have Gemini build a weekly count of bookings and cancellations from the bookings sheet, or create Calendar events from urgent Gmail messages.
Gemini proposes code block by block, and you accept or reject each change before saving. If a run fails, the Fix errors button in the Execution log explains the problem in plain words and suggests a fix. Scripts run with the user's existing permissions and normal OAuth consent, and admins control access in the Admin console. It is on Business Standard and Plus, Enterprise Standard and Plus, Google AI Pro and Ultra, and some add-ons, with rollout from 12 Nov 2026.
Most useful for: General Manager – Build the weekly operations report, Office Manager – Keep filing and document systems tidy, Booking Coordinator – Report on booking numbers and cancellations
Frequently asked questions
Do I need to know how to code to use it?
No. Google says people with no coding experience can describe what they want and Gemini writes the script, while developers can use the same panel to work faster. You still review the proposed code before saving it.
What happens when a script breaks?
Click Fix errors in the Apps Script Execution log. Gemini works out what went wrong, explains it in plain language and inserts a proposed fix for you to apply.
Where do I find it?
Open script.google.com or script.new, or go to Extensions > Apps Script in Sheets, Docs or Slides. The Gemini panel opens on new scripts, or you can open it with the Ask Gemini spark icon at the top right of the editor.