โš™๏ธOperations & Admin ยท Step-by-step guide

Describe a Google Sheets or Gmail chore in plain words and let Gemini write the automation for you

Apps Script is the little programming tool built into Google Sheets, Docs, Gmail and Calendar. Since 16 Nov 2026 a Gemini side panel inside it is generally available: you type what you want (for example 'every morning, turn urgent emails into calendar events' or 'turn this sheet into a formatted report'), Gemini writes the script, you accept or reject each block, and a 'Fix errors' button explains and repairs anything that breaks.

โฑ๏ธ 20 minutes๐ŸŽฏ Medium๐Ÿ’ต Included in Google AI Pro or eligible Workspace plans๐Ÿ“‹ 7 steps
โœจ Gemini๐Ÿ“˜ How-to
๐ŸŽฏ What you'll have at the endYou'll describe one repetitive Google chore in plain words, let Gemini write the Apps Script, test it on a copy of your sheet and set it to run on a timer.

๐Ÿ‘€ What you'll get

Example

Here's the kind of thing you'll have at the end:

๐Ÿ“Š ReportScript log ยท Late payment reminders (made up)

What Gemini built

  • Runs every weekday at 8am on the 'Invoices' tab
  • Emails customers whose invoice is 7+ days overdue, using your template

This morning's run

  • 3 reminders sent: Ah Kow Hardware (MYR 1,250), Bunga Florist (MYR 480), Rina Tan (MYR 300)
  • 1 skipped: no email address in row 14

Rules it follows

  • Never deletes rows; never emails anyone not in column C; logs every action

๐Ÿงช Made-up sample to show the kind of result. Your output will vary.

๐Ÿ’ธ What will this really cost me?

Prices checked 18 Nov 2026
๐Ÿงช To try it once
Free to try if you already pay for Google AI Pro or Ultra, or Workspace Business Standard or above. Apps Script itself is free.
๐Ÿ” To keep it running
Google AI Pro is USDย 19.99 a month. Workspace Business Standard and above include it: check Google Workspace pricing for your country.
โš ๏ธ Watch out for
Not on free Gmail accounts or Workspace Business Starter. Apps Script has daily limits (for example on emails sent per day), so very large jobs may stop part-way.

๐Ÿ”— Official pricing: Google AI & Gemini plans ยท Google Workspace pricing

Prices change often, so check the links before you pay. Amounts exclude tax. Prices are shown in each provider's own currency.

๐Ÿ“Š How does this compare? See what every AI use case costs โ†’

๐Ÿงพ Which plan do I need?

๐Ÿช™ Small upgrade ยท MYR 29/mo

Gemini in Apps Script comes with Google AI Pro/Ultra or Workspace Business Standard and above.

Tick what you already pay for:

๐Ÿช™ Small = up to MYR 250 a month more ยท ๐Ÿ’Ž Big = over MYR 250 a month more ยท prices from each provider's pricing page, checked 21 Oct 2026.
โ„น๏ธ How we work this outPrices come from each provider's own pricing page (checked 21 Oct 2026; amounts exclude tax). Small upgrade = up to MYR 250 a month more than you pay now. Big upgrade = more than MYR 250 a month more. Check pricing = the provider doesn't publish a price we could confirm. The badges are worked out in MYR at USD 1 = MYR 4.08 (Bank Negara Malaysia, 13 Nov 2026). Each guide's needs come from its own "What will this really cost me?" box. Your ticks stay in this browser only (no account, nothing sent to us).
Tick all your plans on the home page โ†’

โฑ๏ธ Try it in 10 minutes

โœ… Free plan ยท nothing to connect

What you'll see: What a plain-words request turns into, and how to test it safely.

Copy the prompt, paste it into one of the free AI apps below and press send. The sample is made up, so swap in your own details if you like.

๐Ÿ’ฌ Your 10-minute test
I have a Google Sheet called 'Invoices' with columns: Customer, Email, Amount (MYR), Due date, Paid (Yes/No). Write a beginner-friendly Google Apps Script that runs every weekday at 8am and emails a polite reminder to each customer whose invoice is unpaid and 7 or more days overdue. It must never delete rows and must log each email it sends in a 'Log' tab. Explain in 5 plain steps how I install and test it on a copy of my sheet.

โœ… Works on: Gemini app (free) ยท ChatGPT Free ยท Claude Free

Links go to the official plan pages. Free plans have daily limits and can change, so check before you rely on them.

โžก๏ธ Like it? The full setup adds: Inside Apps Script, the Gemini panel writes it straight into your project and fixes errors with one click. Go to the steps โ†“

๐Ÿงฐ Before you start

โฑ๏ธ Time needed20 minutes
๐Ÿ’ต Rough costIncluded in Google AI Pro or eligible Workspace plans

๐Ÿชœ Step by step

๐Ÿฃ Beginner mode: showing the 7 essential steps only. Extra steps are hidden; tap ๐Ÿš€ Advanced at the top to see all 7.
โœ… 0 of 7 steps done ๐Ÿ“„ Printable page
  1. 1
    โ˜

    Make a copy to test on

    Open your sheet and choose File > Make a copy. Test on the copy so a mistake can't touch your real data.

  2. 2
    โ˜

    Open Apps Script

    In the copy, click Extensions > Apps Script (or go to script.new). The Gemini panel opens on new scripts; otherwise click the Ask Gemini spark icon at the top right.

  3. 3
    โ˜

    Describe the job

    Write what should happen in plain words: what starts it, which sheet or emails it reads, what it should do and what it must never do. Use the first prompt below as a template.

  4. 4
    โ˜

    Review block by block

    Gemini shows its code in blocks. Click Accept or Reject on each, or Accept All. You don't need to understand every line; ask Gemini 'explain this block in plain English' if unsure.

  5. 5
    โ˜

    Run it once and allow access

    Click Run. Google asks for permission to use your Sheets or Gmail; read what it asks for and allow it only if it matches the job.

  6. 6
    โ˜

    Fix anything that breaks

    If the Execution log shows an error, click Fix errors. Gemini explains the problem in plain language and suggests a fix to accept.

  7. 7
    โ˜

    Put it on a timer

    Ask Gemini to 'add a time-based trigger to run this every weekday at 8am'. Then switch the script over to your real sheet.

๐Ÿ’ฌ Copy-paste prompts

Tap Copy prompt, paste it into your AI (Grok, ChatGPT, Claude or Gemini), then replace the [yellow bits] with your own details.

๐Ÿ’ฌ Describe the automation
Write an Apps Script for this Google Sheet. Trigger: [every weekday at 8am / when a form answer arrives / when I click a menu item]. It should read [sheet name, columns] and [what to do, e.g. email each person whose 'Due date' is within 3 days, using the template in cell B1]. Rules: never delete rows, never email anyone not in column C, write what it did into a 'Log' tab with the date. Use clear comments so a beginner can follow it.
๐Ÿ’ฌ Urgent emails to calendar
Write an Apps Script that runs every hour, finds unread Gmail messages from the last hour that contain 'urgent' or 'today' in the subject, and creates a 30-minute Google Calendar event called 'Reply: [subject]' in my next free slot today. Don't change or delete any email. Log each event created in a sheet called 'Urgent log'.
๐Ÿ’ฌ Sheet to formatted report
Write an Apps Script that takes the table in the 'Monthly' tab and creates a Google Doc report in [folder]: a title with the month, a short summary of totals, the table formatted with headers, and the three biggest changes from last month. Add a custom menu 'Reports > Build monthly report' to run it.

โš ๏ธ Tips & common mistakes

๐ŸŒŸ Why it's worth it

๐Ÿ’ก Why it mattersSmall repetitive jobs (copying form answers, sending reminders, building the same report) stop eating your week, without hiring a developer or paying for another automation tool.
๐Ÿท๏ธ Real exampleGoogle's own examples (Workspace Updates, 16 Nov 2026): creating Calendar events from urgent Gmail messages, pulling and cleaning live data into a model, and turning Sheets tables into formatted Docs reports.
๐Ÿ”Œ Connects to:Google SheetsGmailGoogle CalendarGoogle DocsGoogle Forms
๐Ÿ“˜ Proof level: How-toA how-to guide, template or new feature from the maker or a guide site. It shows what you can set up and claims no particular results.
๐Ÿ“ฐ Found via Google Workspace Updates: Easily customize and extend Google Workspace with Gemini in Apps Script โ†—

๐Ÿ”— Helpful links

๐Ÿ“ฌ Every Monday: new things AI can do for you, with the exact prompt to copy

Sign up free and get our PDF of 20 copy-paste AI prompts straight away. One short email a week, unsubscribe in one click.

โ† Back to all use cases