# Gemini in docs, gmail, sheets, and slides
Gemini lives inside the Workspace apps, which means it can draft directly in the document you are editing, summarize the thread you are reading, write the formula in the cell you selected, and turn a prompt into a slide deck without you ever leaving the canvas. This is the difference between copying text into a chat window and having the model operate on the live object you are working with. The context is already there.
In this lesson we go deep on that in-context surface: how the side panel differs from the inline actions, what Gemini can actually see when it generates, and three concrete jobs (a Sheets formula, a Gmail summary, a Slides draft) that show why proximity to your data changes the output quality.
Every Workspace app exposes Gemini in two distinct ways, and they behave differently.
The side panel (the spark icon, top right) is a chat that is *grounded in the current file plus your Workspace*. Ask it "what did legal flag in this doc?" and it reads the open document. Ask "find the contract from Acme in my Drive" and it searches your files. This is the panel that can reachreachThe number of unique people exposed to your message in a given period. Unlike impressions, reach counts each person once, no matter how often they see it.View full definition → across Drive, Gmail, and Calendar at once.
The inline actions (Help me write, Help me organize, formula suggestions) operate on a specific selection or cursor position. They write *into* the object rather than talking *about* it.
The mental model: side panel reasons across your data, inline edits the thing in front of you. Knowing which one to reachreachThe number of unique people exposed to your message in a given period. Unlike impressions, reach counts each person once, no matter how often they see it.View full definition → for is half the skill.
A note on what the model sees: in the side panel, Gemini grounds on the current file's content and, when you let it, your broader Workspace context. It does not silently train on your content. Enterprise data governanceEnterprise data governanceData governance is the set of policies, roles, and processes that ensure data is accurate, secure, well-defined, and used responsibly across an organization.View full definition → is covered in Google's Workspace privacy documentation.
Open a sheet with columns A (Region), B (Rep), C (Deal size), D (Close date). You want net new revenue per region for Q4 only.
Select an empty cell, open the side panel, and ask:
> Write a formula that sums column C where column A is "EMEA" and column D falls in Q4 2025.
Gemini returns something like this, with an explanation of each argument:
=SUMIFS(C:C, A:A, "EMEA", D:D, ">="&DATE(2025,10,1), D:D, "<="&DATE(2025,12,31))Two things make this more useful than asking a generic chatbot. First, the side panel can read your actual headers, so it uses the right column letters instead of guessing. Second, you can follow up conversationally: "now make EMEA a reference to cell F1 instead of hardcoded" and it rewrites the formula. That iterative loop, anchored to your real data, is the point.
For genuinely hard transformations, the side panel can also generate Apps Script, Google's JavaScript runtime for automating Workspace. Ask it to "write an Apps Script that emails the top three deals each Monday" and it drafts the function you paste into Extensions > Apps Script. That is where a formula request quietly graduates into a small automation.
Gemini will occasionally produce a formula that references the wrong range or misreads a date format. Treat its output as a strong first draft, not a verified answer. The fastest check: ask it to explain the formula back in plain language, then spot-check one row by hand. You are still the reviewer.
Long email threads are the canonical Gemini-in-Workspace win because the model can see the entire thread, including quoted history that scrolled off your screen.
Open a 40-message thread and click Summarize this email at the top (or open the side panel). Gemini produces a bulleted recap: who proposed what, where the disagreement is, and what is still open. The native long context windowcontext windowThe context window is the maximum amount of text (measured in tokens) a language model can process at once, including both the input prompt and the generated output.View full definition → means it does not lose the early messages the way a manual copy-paste into a chat window would, because you would never paste the whole thread.
Then push further. In the side panel, ask:
> Draft a reply that agrees with Priya's timeline but pushes the budget conversation to next week. Keep it under 80 words, warm but firm.
Because the panel already holds the thread, it knows who Priya is and what timeline she proposed. You get a draft that references the actual content. Edit and send.
The compounding move is search across your inbox: "find the last three emails where this client mentioned the renewal date." The side panel queries Gmail directly. This is the agentic behavior you learned conceptually, now wired into a product you already use daily.
In Slides, the side panel's Help me create can generate slides from a description, and it can pull an image via Imagen, Google's image generation model, for the title slide.
Open a blank presentation, open the panel, and ask:
> Create a 5-slide deck pitching a Q1 internal hackathon: title, why now, format, prizes, how to sign up. Concise bullets, professional tone.
Gemini scaffolds the deck: a titled slide for each section with bullet points you can immediately edit. It will not match your exact brand template or nail every layout, so think of it as removing the blank-page tax rather than producing a final deck. You restructure, you refine the visuals, you fix the one slide that misread your intent.
A stronger workflow chains the apps. If you already wrote the hackathon plan in a Doc, open the Slides panel and reference it:
> Build a deck from my "Q1 Hackathon Plan" doc, one slide per major section.
Now the deck is grounded in real content you authored instead of invented filler. The cross-app grounding (Doc to Slides) is what makes the Workspace integration more than a chat box bolted onto each app.
You met Gems (custom, instruction-tuned versions of Gemini) earlier in this path. They show up in the Workspace side panel too. If you constantly ask for "summaries in the format my team uses: TL;DR, decisions, owners, next step," build a Gem once with those instructions and invoke it from the panel instead of retyping the format every time.
This is the same principle as a saved prompt, but persistent and shareable. A standardized "meeting recap" Gem across a team produces consistent output, which matters more than any single clever prompt.
Knowledge check
1. According to the lesson, what is the key difference between using Gemini in the Workspace side panel versus copying text into a separate chat window?
2. In the lesson's mental model, what do the inline actions (like 'Help me write' and formula suggestions) primarily do?
3. In the broader Google AI ecosystem, what does 'grounding' a model in your files generally mean?
4. Select ALL correct answers about the Gemini side panel as described in the lesson.
Sélectionnez toutes les réponses correctes.
5. Select ALL correct answers describing concrete in-context jobs the lesson uses to show Gemini's value in Workspace.
Sélectionnez toutes les réponses correctes.
Gemini in Workspace runs on the same model family you use in the Gemini app and the APIAPIApplication Programming Interface: a standardised interface that lets applications communicate and exchange data without knowing each other's internal workings.View full definition →: Pro for harder reasoning and long documents, Flash for fast, cheap, high-volume tasks. In the consumer surfaces you do not always pick the exact model per request, but understanding the split tells you what to expect: a dense 60-page contract summary leans on the stronger model's reasoning; a quick subject-line rewrite is a Flash-class job.
Availability depends on your plan. Gemini features in Workspace are tied to specific Google Workspace and Google One subscriptions, and admin controls govern what is turned on in an organization. Do not assume a feature is missing; it may be disabled by an admin. Check the current rollout state in the Gemini for Workspace help center.
The in-app Gemini is built for *one person doing one task interactively*. The moment you need to summarize 5,000 emails on a schedule, classify every incoming support thread, or generate 200 personalized decks, you have crossed into programmatic territory.
That is the boundary between Workspace Gemini and the developer stack. For repeatable, automated jobs you move to the Gemini API (prototype in Google AI Studio, then call it from code) or to Vertex AI for enterprise governance. Here is the same Gmail-summary task expressed as an APIAPIApplication Programming Interface: a standardised interface that lets applications communicate and exchange data without knowing each other's internal workings.View full definition → call, the version you would schedule rather than click:
from google import genai
client = genai.Client()
thread = open("thread.txt", encoding="utf-8").read()
resp = client.models.generate_content(
model="gemini-2.5-flash",
contents=(
"Summarize this email thread as TL;DR, decisions, "
"owners, and open questions:\n\n" + thread
),
)
print(resp.text)Same job, same model family, different surface. The side panel is the manual version of exactly this. When the task repeats, you graduate it to code. The official Gemini API docs cover authentication, model IDs, and grounding.
A bridge worth knowing: Apps Script can call Gemini too, so a lot of "I wish Sheets did this automatically" wishes can be solved entirely inside Workspace, no separate backend required. That is often the right middle ground between clicking the side panel by hand and standing up a full APIAPIApplication Programming Interface: a standardised interface that lets applications communicate and exchange data without knowing each other's internal workings.View full definition → service.
The reason Workspace Gemini outperforms pasting your content into a generic chat is grounding. The model is anchored to a real artifact: the open sheet's headers, the full email thread including quoted history, the source Doc behind your deck. You are not describing your data to the model; the model is reading it. That reduces hallucinationhallucinationA hallucination is when an AI model generates output that is fluent and confident but factually wrong, fabricated, or unsupported by its source data.View full definition → and removes the copy-paste friction that quietly degrades every off-platform attempt.
The skill to develop is matching the surface to the job: inline actions for editing in place, the side panel for reasoning across files, Gems for repeatable formats, and the APIAPIApplication Programming Interface: a standardised interface that lets applications communicate and exchange data without knowing each other's internal workings.View full definition → when the task needs to run without you.