Automate your work with AI, from the first rule to the complete workflow
Your progress
0 lesson completed out of 50

A lesson is completed when you tick it, when you watch its video to the end or when you score 80% on its quiz. The certificate is issued online after the final assessment, from a score of 32 out of 40.

Your progress is saved in this browser. Log in to your client area to pick it up on your other devices.

Video transcript

Lesson 8, module 2: What your tools can already do Google Apps Script, a guided reading: getting AI to write a script and understanding it A script you didn't write, you can still understand.

An Apps Script lives in your spreadsheet and acts with your account. [Diagram: What makes up a script] The spreadsheet The function The services The trigger Ask for comments in French, drafts, and a tracking column. Request: Write an Apps Script that prepares a reminder draft for each overdue invoice in the Suivi sheet, without sending anything, and records the date in column G. Reply: A script of about thirty lines, commented, that skips rows already paid or chased and creates drafts with GmailApp.createDraft. Read it with three questions: what does it read, write, send? Reads: the Suivi sheet Writes: column G Sends: nothing, drafts only First run: Google asks for authorisation. Read what you're granting. Access to your spreadsheets Full access to Gmail Revocable from your Google account Test on a copy, twice in a row: the second run mustn't redo anything. [Diagram: Testing a script on a copy] 1. Copy the spreadsheet 2. Run 3. Check 4. Run again In the exercise, you get AI to prepare a training provider's joining instructions. Your turn: A training provider's joining instructions The written lesson, the corrected exercise and the quiz are below the video.

Lesson 8 of 50 · module 2, what your tools can already do

Google Apps Script with guided reading: have an AI write a script and understand it

Apps Script is Google Workspace’s free automation tool: a script attached to your spreadsheet prepares emails, fills in columns or runs on its own every Monday. You don’t need to know how to code: you have an AI write it, provided you read it line by line, test it on a copy and know what access it has.

  • 28 min of reading
  • 1 min 45 of video
  • 6 diagrams
  • 3 demandes to copy
  • 3 exemples pratiques
  • 4 exercices answerss
  • 5 questions
  • 1 ressource

By the end of this lesson, you will know how to

  • Write the request that gets an AI to write a safe Apps Script script
  • Read a script line by line and identify what it reads, what it writes and what it sends
  • Install, authorise, test and then schedule a script without putting data at risk

What’s covered

  1. What Apps Script can do, and within what limits
  2. Have an AI write the script
  3. Read the script line by line
  4. Paste, authorise, test on a copy
  5. Run it automatically every Monday
  6. 3 worked examples, followed from start to finish
  7. Exercise with answers · Joining instructions at a training organisation
  8. 3 practice exercises, from guided to demanding cases
  9. The quiz

Key points

  • Apps Script is Google Workspace’s free automation tool: a script attached to the spreadsheet, which acts with the account of whoever authorises it.
  • A safe request names the sheet and columns, forbids sending and deleting, and requires a tracking column and comments in French.
  • Read every script with three questions in mind: what does it read, what does it write, what does it send or delete?
  • Test on a copy, twice in a row: the second run must not redo anything.
  • A trigger runs under its creator’s account, and failures arrive in a “Summary of failures for Apps Script” e-mail.