Stephen Cheng
As a Google Workspace user, we likely spend too much time on repetitive tasks like organizing email attachments, logging files, or summarizing incoming data requests. In December 2025, Google Workspace Studio changed that by allowing us to build intelligent AI agents that handle these chores automatically. It brings agentic AI to Google Workspace, helping us focus on analysis and insights instead of admin work. In this tutorial, we’ll learn how Google Workspace Studio lets us create AI agents to automate workflows in Gmail, Drive, and Sheets.
Google Workspace Studio is a no-code platform for designing, managing, and sharing AI-powered agents in Google Workspace. These agents, powered by Gemini, automate complex workflows across apps like Gmail, Drive, Sheets, and Chat. Unlike a generic AI chat, an agent built in Workspace Studio is grounded in your specific business data. It can read your policy documents, analyze your spreadsheets, and interact with your emails, all while adhering to your organization’s security protocols. Workspace Studio allows non-developers to build meaningful, reliable automation without juggling APIs, Apps Script, and third-party tools. It brings structure and real usability to AI agents inside everyday workflows.
Previously, building meaningful automation required scripting with Apps Script, setting up external automation tools, or relying on IT teams. Now, teams can create agents in minutes using natural language, templates, or custom steps. Agents work directly in a range of Google tools, including Gmail, Drive, Sheets, Chat, and more, pulling context to perform actions like labeling emails or notifying teams. We just need to describe our automation in plain English, like “Save data file attachments from emails to a Drive Folder and log details in a Sheet,” and Gemini will build the agent for us.
Workspace Studio isn’t limited to the Google ecosystem. It includes built-in connectors for external tools. This means we can create agents that handle complex cross-platform tasks, such as automatically creating a Jira ticket when a client reports a bug via email, or logging a new sales lead directly into Salesforce.
We’ll build a practical agent that automatically detects emails with data submission in the subject, saves any attachments to a dedicated Google Drive folder, and logs metadata (sender, subject, date, and file name) in a Google Sheet.
Access to Google Workspace Studio is simple with an eligible Google Workspace plan. Here’s what we need to do:
Key concepts before diving in:
When a new email arrives with data submission in the subject and attachments, save each attachment to a Google Drive folder called Incoming Data Files, then add a row to a Google Sheet called Data Submission Log with the sender’s email, subject, date received, and attachment file names.
Gemini generates a complete flow in seconds. This gives us a strong starting point without building every piece manually.

Open the generated flow. The first block is the starter: here, New email.

Gemini has added steps for handling attachments and logging. Let’s review and edit them manually.
1) Save attachments step:

2) Log to Sheets step:

3) Optional enhancement: Add a Gemini step after saving files.




Debug any issues directly in the flow editor, logs show exactly where problems occur.
Once satisfied, click Turn on. The agent now runs automatically on new matching emails. We can monitor activity from the Studio dashboard, Flows section, or side panels in Gmail.
Google Workspace Studio makes it possible to move beyond AI-assisted writing into AI-driven action inside Google Workspace. In this article, we explored what Google Workspace Studio is, and how to build a practical agent that automates real workflows across Gmail, Drive, and Sheets. If an agent behaves unexpectedly, refine the goal or narrow its scope rather than adding complexity.
Some advices and troubleshooting hints below:
Made with ❤️ and ☀️ on Earth.