Automate your tasks on Google Sheets without coding
Discover Google Apps Script, the free automation tool already included in your Google Sheets, and learn to build your first automations easily with Gemini AI.
What is Google Apps Script?
It is a wonderful extension already built into your Google Sheets (as well as Gmail, Drive, and Calendar). It lets you write short scripts to make tedious manual tasks disappear for you.
Free, with quotas
No subscription or paid option: Apps Script is included in your Google Account. Google does set quotas, such as 6 minutes max per execution, and higher daily caps with a Google Workspace account.
No installation
You don't need to install any software on your computer. Everything happens in your standard web browser.
Direct connection
The code connects to your favorite Google tools in a single line to exchange information (Sheets ➔ Gmail ➔ Drive).
Your first script in 2 minutes
To show you that programming is not mysterious or inaccessible, here is a very short example code. This script automatically detects if an invoice is "Unpaid" and sends a reminder email.
How to install it in 60 seconds?
Here are the 3 simple steps to add and run this code in your own document in less than a minute.
1. Open the editor
In your Google Sheet, click on Extensions at the top, then on Apps Script. A new tab opens.
2. Paste the code
Erase the default text that appears on the screen and paste the script code above.
3. Save and run
Click the floppy disk icon to save, then click the Run (Play) button. You're done!
Need ready-to-use automation examples?
We have written and configured complete scripts to automatically follow up on unpaid invoices, generate PDF invoices, or sync your calendars.
The 5 Core Pillars of JavaScript / Apps Script
Google Apps Script is built on JavaScript. To easily understand and customize your scripts, here are the 5 fundamental concepts you need to know.
Variables (const / let)
Les boîtes de rangement de vos données
Analogie concrète :
Upgrade to Google Workspace Business with your custom domain and built-in Gemini AI
Get a 14-day free trial, then ask me for a discount code for your first year of Google Workspace Business (professional Gmail, secure Drive, Meet, Docs, Sheets, and built-in Gemini AI).
Referral links: if you subscribe through them, I may receive a commission or a perk, at no extra cost to you.
Gemini: Your translator to code without learning to code
Thanks to Google's Artificial Intelligence, you no longer need to memorize code syntax. Simply describe what you want to achieve in plain language to Gemini, and the AI will write the code ready to paste. Since November 2026, with Business Standard or Plus, Gemini even writes, reviews and fixes the script right in the Apps Script editor. Always read a script before authorising it: it acts with your rights.
💡 Create a custom Apps Script skill
Configure Gemini to make all code easy to understand
Save these instructions once in a skill (in the Gemini app: Personalize › Skills): Gemini will comment and explain every script in plain words. Skills replace Gems, which Google is phasing out.
"Create a Google Sheets script that sends an automated reminder email for every row where the status is 'Pending'."
"Write an Apps Script code that takes answers from my Google Forms to automatically generate a PDF invoice in Google Drive."
"Write a script to create an event in Google Calendar every time I add a new row to my Sheets table."
🛡️ Google Security Alert: Don't panic!
When you run a script for the very first time, Google displays a large red warning panel stating that the application isn't verified. This is a standard protection for all privately created scripts. Here is how to pass it safely:
1. Advanced Settings
On the warning panel, click on the Advanced link at the bottom left.
2. Force Access
Then, click on the small link Go to [Your Project Name] (unsafe). For a script you wrote or reviewed yourself, this is safe: it stays private and runs only on your account. Never do it for a script received from a stranger.
3. Allow Access
A window summarizes what the script will access (read Sheets, send emails). Click Allow. Your data remains secure and private inside your Google account.
Frequently asked questions for beginners
Can I break my Google Sheets file?
Is my personal data safe?
Can I use it with a free personal Gmail account?
Ready to automate your first files?
Take your first steps with Gemini, then build on complete, ready-to-use scripts.