Your staff are about to automate without writing code. Set the guardrails first.
Gemini now writes Apps Script code from a single sentence, and a new setting decides whether Workspace Studio flows may write to other people or edit shared files. Three settings to check before your teams get going.
‘Create a calendar event for every urgent email.’ Until now, that request ended up as a ticket for the one colleague who could write code. Now the sentence is enough: Gemini writes the script. Great news for productivity. And simply news for your security.
What’s changing
Gemini writes Apps Script code. Apps Script is the tool that automates Gmail, Sheets, Docs or Calendar, tucked away under Extensions › Apps Script. Its Gemini side panel, in beta since earlier this year, has been generally available since 12 November (gradual rollout over 15 days):
- you describe the task in plain English, Gemini writes the code;
- you review it block by block and accept or reject each suggestion;
- when something breaks, a ‘Fix errors’ button in the execution log explains the problem and suggests a fix.
Editions: Business Standard and Plus, Enterprise Standard and Plus, and the AI Expanded Access add-on.
A new setting reins in Workspace Studio. Workspace Studio is the tool that chains automatic steps together (‘when a form comes in, tell the team in Chat’). Since 19 November (rollout over 15 days), admins choose whether these flows may write to other people and edit shared files, or only act within their creator’s own space: notifications to themselves, drafts, files they own.

Editions: Business Starter, Standard and Plus, Enterprise Standard and Plus.
Why it matters
A script or a flow acts with the permissions of whoever created it. If they can email your customers, share a folder or edit the price list, so can their automation, tirelessly and without a second look.
While you had to know how to code, the risk stayed small. With Gemini, anyone can set up a looping email send or an automatic share in ten minutes. Nobody means any harm. But nobody has thought about the day the list holds 4,000 addresses instead of 40, either.
Out of the box, everything is open: Apps Script is on for everyone, and Workspace Studio flows can write to anyone.
The three settings to check
1. Who can use Apps Script. In the Admin console: Apps › Google Workspace › Drive and Docs › Google Apps Script. You can turn it on by organisational unit or by group. Careful: turning it off also blocks the scripts and macros those people already run. Take stock first.
2. What Workspace Studio flows are allowed to do. Apps › Google Workspace › Workspace Studio › Collaboration & approvals › Collaboration steps. ‘Actions visible to the flow creator’ is a sensible starting point for most teams; keep the other option for those who genuinely need it. The change applies to existing flows on their next run, and a blocked step shows the user an error. Warn people beforehand. On the same page, user approval for steps that share data externally is worth a look too.
3. Which data scripts can reach. Security › Access and data control › API controls › Manage App Access. This is where you approve, limit or block apps, including the ones your staff build themselves. And to see what is already running: Reporting › Audit and investigation › OAuth log events.
Our take
Banning Apps Script for everyone would be a mistake: it is one of the best tools in Google Workspace for getting rid of mindless tasks. Leaving it wide open now that Gemini writes the code would be another. The right answer fits in one line: automate within your own space, and ask for anything that writes to other people.
Want to know which automations already run in your organisation, and which ones email your customers? Let’s talk.
Sources
- Google Workspace Updates: Easily customize and extend Google Workspace with Gemini in Apps Script (16 November 2026)
- Google Workspace Updates: New admin setting to control collaboration steps in Workspace Studio flows (19 November 2026)
- Google Workspace Help: Manage collaboration steps and approvals for Studio flows
- Google Workspace Help: Turn Apps Script on or off for users
- Google Workspace Help: Control which third-party & internal apps access Google Workspace data
- Google for Developers: Use the Gemini side panel in the Apps Script editor


