Google Workspace Automation: A Practical Guide to Workspace Studio (Formerly Flows), Apps Script and AI Agents in Gmail, Docs and Sheets
Google Workspace automation explained: Workspace Studio (formerly Flows), Apps Script, AppSheet and Gmail filters, what each does, and when to go further.

Google Workspace automation means making Gmail, Sheets, Docs, Drive, Calendar and Chat do repetitive work on their own: a process starts when an email arrives, a row changes or a form is submitted, and the steps that follow run without anyone copying data by hand. Google offers four ways to do it: Google Workspace Studio for AI agents built without code, Apps Script for code, AppSheet for no-code apps with automation bots, and Gmail filters for simple mail rules.
Google Workspace Studio is the product the old name Workspace Flows now points to. Google describes it as "an evolution of the capabilities we released in alpha as Google Workspace Flows" (Google Workspace Studio).
Where engini fits: engini is not a replacement for Workspace Studio or Apps Script inside Google's apps. It connects Gmail, Google Sheets, Google Drive, Google Calendar and Google Workspace administration to the systems outside Google, such as ERPs, CRMs, databases and systems behind your firewall, so a no-code workflow or an AI agent can carry a process from an inbox or a sheet into the system of record, with every run recorded. See the engini docs index.
Key Takeaways
- Google Workspace automation has four native options: Workspace Studio (no-code AI agents called flows), Apps Script (JavaScript with triggers), AppSheet (no-code apps with bots) and Gmail filters.
- Workspace Studio is the evolution of Workspace Flows. Each flow has a starter, such as a new email or a changed sheet, and steps, including Gemini steps that summarize, extract and decide.
- Since September 2026, Workspace Studio can add custom starters and steps, webhooks and beta integrations with apps such as Salesforce, HubSpot, QuickBooks and Jira. All are off until an admin turns them on.
- Admins control who can build flows, which steps and connectors are allowed, and can review Workspace Studio events in the audit logs.
- Google's tools are built around one user's Workspace data. Processes that must write to an ERP, a database or a system behind the firewall need a layer that reaches those systems.
What Are the Ways to Automate Google Workspace?
The way to automate Google Workspace depends on who builds it and how far the process reaches. This table compares Google's four native options with an integration platform:
| Option | Who builds | Starts on | Best for | Limits to know |
|---|---|---|---|---|
| Workspace Studio | Anyone, no code, with Gemini | Emails, chat messages, sheet changes, files, meetings, forms, schedules | Personal and team flows across Workspace apps, with AI steps | Up to 20 steps per flow; daily run cap per user; outside apps through admin-enabled integrations and webhooks |
| Apps Script | Developers | Time-driven, edit, change, form submit and calendar triggers | Custom logic and add-ons inside Workspace | 6 minutes per execution; daily trigger runtime and email quotas |
| AppSheet | No-code app builders | App data changes, schedules, Workspace interactions | Apps with data entry and approval flows | Changes made directly in the sheet or database do not start bots |
| Gmail filters | Any Gmail user | Incoming mail matching a rule | Labeling, archiving, starring, forwarding | One rule, one mailbox, no logic across apps |
| Integration platform (such as engini) | Operations and developers | Events in Workspace and in other systems | Processes that cross into ERPs, CRMs and databases | Another platform to set up and govern |
Sources for the limits: Workspace Studio admin guide, Apps Script quotas, AppSheet bots, Gmail filters.
What Is Google Workspace Studio (Formerly Workspace Flows)?
Google Workspace Studio is Google's no-code tool for building AI agents, called flows, that work across Workspace apps. You describe what you want to automate in plain language and Gemini builds the flow, or you start from a template or from scratch (Get started with Google Workspace Studio).
Every flow has two parts: a starter, the event that launches it, and steps, the actions it runs after it starts. Google's list of starters and steps (as of November 2026) includes (Guide to Starters and Steps):
| Kind | Examples |
|---|---|
| Starters | When I get an email (with filters on sender, subject, words, attachments), when I get a chat message, when a sheet changes, when an item is added to a folder, when a file is edited, based on a meeting, when a form response comes in, on a schedule |
| Gemini steps | Ask Gemini, Decide (a true or false decision), Extract, Summarize, Recap unread emails, Create with Gemini, Deep Research |
| Logic steps | Check if, Filter a list, Repeat for each, Wait until (up to 14 days) |
| Workspace steps | Gmail: draft, send, reply, label, archive. Sheets: add a row, update rows, get sheet contents. Docs: create, add to a doc. Drive: add email attachments to Drive, copy, move. Calendar and Chat steps |
| Other apps (beta) | Asana, Confluence, Jira, Mailchimp, Slack |
Google began rolling out Workspace Studio on December 3, 2025, and by March 19, 2026 it had launched to all Rapid Release and Scheduled Release domains. Google lists access for Business Starter, Standard and Plus, Enterprise Starter, Standard and Plus, and Education Fundamentals, Standard and Plus, among other plans (Google Workspace Updates, December 2025).
On September 17, 2026, Google added custom starters, custom steps ("custom logic (e.g. using Apps Script)"), webhooks that "send HTTP requests to external endpoints," and beta integrations with Asana, Confluence, HubSpot, Jira, Mailchimp, QuickBooks, Salesforce and Slack. Google states: "These features are OFF by default." Admins turn them on in the Admin console (Google Workspace Updates, September 2026).
How Do You Build a Flow in Workspace Studio?
You build a flow by choosing a starter, adding steps, and testing it on real data. A practical sequence:
- Pick one outcome. For example: every invoice email from a vendor gets its total extracted into a tracking sheet.
- Choose the starter. "When I get an email," filtered by sender and attachment, so the flow runs only on the messages it should.
- Add a Gemini step for the reading. Use Extract to pull the vendor, invoice number, date and total from the email or attachment.
- Add the action steps. "Add a row" to the sheet, and "Add email attachments to Drive" to file the PDF.
- Add a check. "Check if" the total is above a threshold, and notify someone in Chat when it is.
- Test it. Google warns that a test run performs real actions, such as sending messages or updating files, so test on a copy of the sheet.
Tip: Keep the Gemini step's job narrow and the output fixed. Ask Extract for named fields, then let "Check if" and Sheets steps handle the logic. Free-form AI output is harder to put into a row.
When Is Apps Script or AppSheet the Better Fit?
Apps Script is the better fit when you need custom logic or code that Workspace Studio steps cannot express, and AppSheet is the better fit when people need an app to enter and review data.
Apps Script. Installable triggers run a function on a schedule or when a spreadsheet is edited or changed, a form is submitted, or calendar events are updated. Google notes that "installable triggers always run under the account of the person who created them" (Apps Script installable triggers). Quotas apply: 6 minutes per execution, 6 hours of total trigger runtime per day on Google Workspace accounts (90 minutes on consumer accounts), and 1,500 email recipients per day on Workspace accounts, and Google says all quotas "are subject to elimination, reduction, or change at any time, without notice" (Apps Script quotas).
AppSheet. Bots run a process on app events, AppSheet database changes, a schedule, or a Google Workspace interaction. Google notes that changes made directly to a data source, other than an AppSheet database, do not start bots, because those edits never reach the AppSheet server (AppSheet: Bots, the Essentials).
Note: The trigger owner matters. A flow or an installable trigger tied to one person's account stops working the way you expect when that person changes role or leaves. Decide who owns each automation before it goes live.
What Do Google Workspace Admins Control?
Google Workspace admins control who can use Workspace Studio, which steps and connectors are allowed, and what is logged. From Google's admin guide (Workspace Studio set-up guide for admins):
- On or off by organizational unit or group.
- Feature access: Gemini-generated flows, AI steps, Workspace service steps, and connectors or custom steps, each controlled separately.
- Third-party connectors allowed through the Google Workspace Marketplace allowlist.
- Audit logs: "Workspace Studio log events," filterable by actor, event, flow ID and step name, plus alert rules for high run counts.
- Limits: a maximum of 20 steps per flow, no more than 25 active flows started from new emails, and a daily cap on runs per user.
On data, Google states that "Studio can only access data that the initiating user has permission to access" and that it "will not override DLP controls within Workspace for applicable services like Drive" (Google Workspace Studio).
Where Does Google Workspace Automation Stop?
Google Workspace automation stops where the process leaves Google's apps and needs to change a record in a system Google does not reach. Workspace Studio's beta integrations and webhooks open a door, but four kinds of work usually need more:
- Writes to systems of record. Creating a vendor bill in NetSuite or SAP, or a sales order from a form, means a validated write into an ERP, with its own records and permissions.
- Systems behind the firewall. An on-premises database, file share or older ERP does not accept calls from Google's cloud.
- Processes that belong to the company, not a person. A flow runs as its user and sees only that user's data; a shared finance or operations process often needs a defined service account and its own audit trail.
- Volume. Daily run caps and script quotas suit a person's or a team's work, not a nightly sync of thousands of records.
For more on how outside systems call in and out, see our guide to webhooks, and for the wider picture, business process automation.
Google Workspace Automation Examples
These examples show where Google's own tools are enough and where the process needs to reach further:
| Process | With Google's tools | When it needs more |
|---|---|---|
| Vendor invoice email to a tracking sheet | Workspace Studio: email starter, Extract, Add a row, file the PDF in Drive | When the bill must be created in the ERP and matched to a purchase order |
| Form request to a team | Form response starter, Chat notification, Sheets row | When the request creates a record in a CRM or ticketing system you run |
| Weekly meeting recap | Based on a meeting starter, Summarize, Draft an email | Rarely; Workspace Studio covers it |
| New employee setup | Apps Script or the Admin console | When the HR system triggers it: create the Google user, assign the license, add groups, and update the HR record |
| Sales order status to customers | Sheets plus Gmail steps, if the status lives in a sheet | When the status lives in the ERP and must be read live |
For the new-employee case end to end, see our HR automation guide.
How engini Works with Google Workspace
engini connects Google Workspace to the rest of your systems and runs the process as a no-code workflow in Workflow Studio or as an AI agent built in code. What it does in each Google app, per engini's docs:
- Gmail: start a workflow on new or sent emails, checked on the schedule you set (every 15 minutes by default); get emails, threads and attachments; send, reply and manage drafts; move emails between labels; mark read or unread; and send a custom request to the Gmail API.
- Google Sheets: start on new rows or updated cells; add, search, update and bulk update rows; create spreadsheets, including from a template; manage sheets and conditional formatting.
- Google Drive: start when a file or folder is created or modified; upload, download, copy, move and rename files; manage permissions, shared drives and revisions.
- Google Calendar: create, update and delete events, check availability, and manage calendars and access rules.
- Google Workspace administration: create, update and delete users and groups, add group members, and assign or remove licenses.
Sign-in is OAuth, either through engini's own Google sign-in or through your own OAuth client from Google Cloud, so the consent screen shows your app.
Beyond Google. The same workflow can write to ERPs such as NetSuite, SAP S/4HANA, SAP Business One and QuickBooks, CRMs such as Salesforce, HubSpot and Microsoft Dataverse, and databases such as MS SQL, PostgreSQL and Snowflake, in both directions. The on-prem agent reaches on-premises databases, file shares and internal applications over outbound connections only. Ready-made AI actions such as invoice parsing read documents with no prompt to write, and an AI agent step handles judgment calls inside a workflow.
For agents and developers. Every connection is callable from the Python or TypeScript SDK, the REST API, the CLI or MCP. A toolset limits an agent to the tools and the connection you choose, for example reading Gmail and adding Sheets rows but not sending email. engini acts as the account whose connection it uses, and an audit log with export and streaming to a SIEM records what happened.
When you may not need engini: if the whole process lives in Gmail, Sheets, Docs, Drive, Calendar and Chat and belongs to one person or team, Workspace Studio or Apps Script is the simpler choice. engini is for the processes that start in Google Workspace and end in an ERP, a CRM, a database or a system behind your firewall.
See agentic workflows with engini and engini integrations, read the engini documentation, or point your agent at docs.engini.ai/llms.txt.
Agent gateway
Ship agents into systems you can’t afford to break
Connect AI agents to your ERP, CRM, financial and legacy systems through MCP, SDK, API or canvas, with secure auth, tool permissions and an audit trail built in.
Frequently Asked Questions
What are Google Workspace Flows?
Google Workspace Flows was the alpha name of what Google now calls Google Workspace Studio. Studio builds AI agents, called flows, that start on an event in Workspace and run steps across Gmail, Sheets, Docs, Drive, Calendar and Chat, including Gemini steps.
How do Workspace Studio flows differ from Gmail filters?
A Gmail filter applies one rule to incoming mail: label, archive, delete, star or forward. A Workspace Studio flow can start on many kinds of events, read content with Gemini, branch on conditions, and act across several Workspace apps.
What is the difference between Workspace Studio and Apps Script?
Workspace Studio builds automations without code from ready-made starters and steps; Apps Script runs your own JavaScript on triggers. Since September 2026, Studio flows can also use custom steps built with Apps Script, once an admin enables them.
Can Google Workspace Studio connect to non-Google apps?
Yes, through beta integrations, webhooks and custom steps that an admin must turn on. Google lists integrations with Asana, Confluence, HubSpot, Jira, Mailchimp, QuickBooks, Salesforce and Slack; webhooks send HTTP requests to other endpoints.
Is Workspace Studio included in Google Workspace plans?
Yes, Google says Workspace Studio is included in Business and Enterprise Workspace plans. Google also lists Education Fundamentals, Standard and Plus, and some AI add-ons, so check your edition in the Admin console.
Sources
- Google Workspace Studio
- Google Workspace Studio Help: Get started
- Google Workspace Studio Help: Guide to Starters and Steps
- Google Workspace Admin: Workspace Studio set-up guide for admins
- Google Workspace Updates: Workspace Studio (December 2025)
- Google Workspace Updates: Custom starters and steps, integrations and webhooks (September 2026)
- Apps Script: Installable triggers
- Apps Script: Quotas for Google Services
- AppSheet: Bots, the Essentials
- Gmail Help: Create rules to filter your emails
- engini docs: Gmail
- engini docs: Google Sheets
- engini docs: Google Workspace