Hands-On AI WorkshopHomeProjectsLearnResourcesPresenterHelpProgress

Glossary: 231 terms for Workspace automation

231 terms

Acceptance test Testing
A check that a feature does what was asked, from the user's point of view.
Accessibility HTML and CSS
Designing so everyone can use the interface: labels, keyboard access, contrast and screen-reader support.
Allowed values Structured output
The closed list a field may take, such as Bug, Feature, Praise or Other.
API APIs
Application Programming Interface: a defined way for programs to request data or actions from another system.
API key APIs
A secret string identifying your project to an API. Treat it like a password.
appendRow Apps Script
Adds one row after the last row with content. Simple, but slower than a batch setValues for many rows.
Approval gate Automation
A step that blocks the workflow until a person approves, such as an Approved checkbox.
Approved for use Structured output
A person reviewed the output and accepted it. Only then does the workflow act on it.
Apps Script editor Apps Script
The browser IDE for Apps Script: files, Run, Debug, Executions, Triggers and Project Settings.
Array JavaScript
An ordered list of values. getValues() returns an array of rows, and each row is an array of cells.
Arrow function JavaScript
A short function syntax: r => r[1]. Used heavily with forEach, map and filter.
Assertion Testing
A statement in a test that must be true, such as "Total equals 260".
Asynchronous Architecture
Work that finishes later, delivered through a callback or promise.
Audit log Automation
A record of what the automation did and when, so it can be verified and undone.
Authorization scopes Apps Script
The permissions a script requests, such as reading spreadsheets or connecting to external services.
Automation Automation
Letting software carry out a repeatable task the same way every time.
Baseline Testing
The known-correct output of the original code on the starter data, used as the first test.
Batch processing Automation
Handling work in chunks to stay within time and quota limits.
Blob Apps Script
A chunk of file data with a content type, such as a generated PDF, that can be saved with createFile().
Body Apps Script
The main content of a Google Doc, where paragraphs and tables are appended.
Boolean JavaScript
true or false. Checkboxes in Sheets read as booleans.
Bound script Apps Script
An Apps Script project attached to one Sheets, Docs or Forms file (Extensions → Apps Script). All 30 projects are bound to a spreadsheet.
Callback JavaScript
A function passed to another function to be called later, such as the success handler for google.script.run.
callGemini Gemini
The repository's helper that sends a prompt to Gemini with the key from Script Properties and returns the text.
Candidate Gemini
One generated answer in a Gemini response; the text is at candidates[0].content.parts[0].text.
Capstone Automation
A final project combining earlier skills; Project 20 in the workshop.
Checkbox cell Google Workspace
A Sheets cell showing a tick box; its value is TRUE or FALSE. Used for human approvals.
Client-server Architecture
A split where a client (the sidebar) asks a server (Apps Script) to do work and return results.
Code.gs Apps Script
The default script file in an Apps Script project. The workshop's Code.js files are pasted into it.
Configuration Architecture
Settings kept outside the logic, such as a Settings tab or Script Properties.
const JavaScript
Declares a variable that cannot be reassigned. The object or array it holds can still be changed (Project 01 adds to the totals object).
Content Security Policy Security
Browser rules limiting what a page may load or run; used for the simulated sidebar.
createDraft Apps Script
GmailApp.createDraft(to, subject, body) saves an unsent draft for a person to review.
CSS HTML and CSS
Cascading Style Sheets: rules that control colours, layout and typography.
Custom function Apps Script
A function used in a cell formula, like =NETPRICE(B2,C2,D2). It cannot use services that need authorization or change the spreadsheet.
Custom menu Apps Script
A menu added to the Sheets toolbar by onOpen(). Every project adds a Workshop menu.
Data minimisation Security
Sending only the fields an AI call needs, not whole records.
Date object JavaScript
JavaScript's representation of a moment in time. Sheets date cells arrive in Apps Script as Date objects.
Debugging Testing
Finding the cause of wrong behaviour from evidence, then fixing it.
Destructuring JavaScript
Unpacking values from an array or object into variables: const [name, email] = row.
Deterministic Testing
Gives the same output for the same input every time. Ordinary code is; live AI is not.
DocumentApp Apps Script
The Apps Script service for Google Docs: create documents and edit their body text, paragraphs and tables.
DOM HTML and CSS
The Document Object Model: the browser's live tree of page elements that JavaScript reads and changes.
DriveApp Apps Script
The Apps Script service for Google Drive: files, folders, copies, moves and exports.
Duplicate prevention Automation
Recording what was already processed (an ID, URL or flag) so a rerun skips it.
Edge case Testing
An unusual input such as a blank row, zero, a duplicate or a missing field.
Element HTML and CSS
One piece of an HTML page, such as a form, input or button.
Endpoint APIs
The URL that a particular API operation lives at, such as models/MODEL:generateContent.
Entry point Architecture
The function a person runs to start the application, such as buildDashboard.
Escaping HTML and CSS
Converting characters like < and & so text is displayed instead of being interpreted as HTML.
Event listener HTML and CSS
A function that runs when something happens, such as a form submit.
Event object Automation
The e parameter passed to a trigger function, describing what happened.
Exception JavaScript
An error raised while code runs. Apps Script shows it in the execution log and, for menu runs, as an alert.
Execution log Apps Script
The record of a run: Logger.log output, errors and timing, under Executions in the editor.
Execution time limit Apps Script
Apps Script stops a single execution after about six minutes, so large jobs are processed in batches.
Execution trace Testing
A step-by-step timeline of what the code read, transformed, validated and wrote.
Expected result Testing
What a correct run should produce, written down before running.
Exponential backoff APIs
Retrying after waits that grow each time (1 s, 2 s, 4 s), to avoid hammering a busy service.
Factually supported Structured output
Every value can be found in or computed from the source data.
Few-shot prompting Gemini
Including a few worked examples in the prompt to show the expected output.
Fictional data Security
Made-up names and values used for learning, so no real personal data is exposed.
File ID Google Workspace
The unique identifier in a Drive URL. Scripts use IDs to open files without searching by name.
filter JavaScript
Builds a new array containing only the elements that pass a test, such as rows with stock at or below the reorder level.
finishReason Gemini
Why generation stopped, such as STOP (finished normally) or SAFETY (blocked).
Fixture Testing
Prepared, fixed data or responses used to make tests repeatable.
Folder iterator Apps Script
The object returned by getFiles() or getFolders(); loop with hasNext() and next().
forEach JavaScript
Runs a function once for every element of an array, without building a new array.
Form HTML and CSS
An HTML element grouping inputs; the sidebar in Project 14 is a form.
Form submission trigger Automation
An installable trigger that runs when a Google Form response arrives.
Formula injection Security
Text beginning with =, +, - or @ that a spreadsheet would run as a formula. Prefix it with an apostrophe.
Function JavaScript
A named, reusable block of code. Every menu item in the workshop runs one function, such as buildDashboard().
Gemini Gemini
Google's family of generative AI models, called by ten workshop projects at run time.
Gemini API Gemini
The web API for calling Gemini models from code, at generativelanguage.googleapis.com.
Gemini as coding partner Gemini
Using Gemini to write, explain or debug code during development. The finished app may not call AI at all.
Gemini as runtime intelligence Gemini
An application that calls Gemini every time it runs, to classify, summarize, extract or draft.
generateContent Gemini
The Gemini API method that takes a prompt and returns generated content.
getActive() Apps Script
SpreadsheetApp.getActive() returns the spreadsheet the script is bound to, or null when no file is active (for example in a time-driven trigger).
getAs Apps Script
Converts a file into another format, such as a PDF blob from a Google Doc.
getDataRange Apps Script
The range covering every cell with data on a sheet, starting at A1.
getSheetByName Apps Script
Returns the tab with that exact name, or null. Tab names are case-sensitive.
getValues Apps Script
Reads a range into a two-dimensional array in one call: much faster than reading cells one by one.
Gmail draft Google Workspace
An unsent message saved in Gmail. Drafts let a person review AI-written text before anything is sent.
GmailApp Apps Script
The Apps Script service for Gmail. The workshop only creates drafts; it never sends.
Google AI Studio Google Workspace
Google's web tool for trying Gemini models and creating API keys.
Google Apps Script Apps Script
Google's JavaScript platform for automating Google Workspace. Code runs on Google's servers, not in your browser.
Google Calendar Google Workspace
Google's calendar app. The workshop's appointment project uses a sheet instead and never creates bookings.
Google Docs Google Workspace
Google's word processor; workshop projects generate letters, invoices, minutes and summaries as Docs.
Google Drive Google Workspace
Google's file storage; holds the lesson folders, spreadsheets, documents and generated PDFs.
Google Forms Google Workspace
Google's form builder; a form submission can trigger an installable Apps Script trigger.
Google Sheets Google Workspace
Google's spreadsheet app and the input and output surface for every workshop project.
Google Workspace Google Workspace
Google's productivity apps: Gmail, Drive, Docs, Sheets, Slides, Forms, Calendar and more.
google.script.run Apps Script
Client-side API in a sidebar that calls a server-side Apps Script function asynchronously.
Grounding Gemini
Constraining an AI answer to provided source material.
Hallucination Gemini
A confident AI statement that is not supported by the input or by facts.
Hard-coded ID Security
An ID written into code. A hard-coded folder ID belonging to someone else will fail or, worse, point at their files.
Header row Google Workspace
The first row naming each column. The workshop treats exact headers as part of each project's input contract.
Helper function Architecture
A small reusable function used by others, like input(), output() and num().
HTML HTML and CSS
The markup language for web pages and Apps Script sidebars.
HTML injection Security
Untrusted text inserted into HTML that runs as markup or script. Prevent it with escaping.
HtmlService Apps Script
Serves HTML for sidebars and dialogs from files in the script project.
HTTP 400 APIs
Bad request: the payload or a parameter is invalid.
HTTP 401 APIs
Unauthenticated: credentials are missing or invalid.
HTTP 403 APIs
Forbidden: the credentials are valid but not allowed to do this.
HTTP 404 APIs
Not found: wrong URL, or a model name that does not exist.
HTTP 429 APIs
Too many requests: a rate limit or quota was exceeded. Retry later with backoff.
HTTP 5xx APIs
Server error (500 internal, 503 unavailable). Usually transient.
HTTP method APIs
The action of a request: GET reads, POST sends data.
HTTP request APIs
A message to a server: method, URL, headers and optional body.
Human in the loop Automation
A person reviews and approves before an action takes effect.
Idempotency Automation
Running something twice has the same effect as running it once. Required before scheduling.
iframe HTML and CSS
A frame that shows one page inside another. Apps Script sidebars run in a sandboxed iframe.
IndexedDB Architecture
Browser storage for structured data. This site keeps your progress there, on your device only.
Input contract Architecture
The exact tab name, headers and value types the code expects. Changing them breaks the application.
Input element HTML and CSS
A text box, checkbox or similar control a user fills in.
Input validation Security
Checking data is the right type, range and format before using it.
Installable trigger Automation
A trigger created in the editor or with ScriptApp.newTrigger(), running with the creator's authorization.
JSON JavaScript
JavaScript Object Notation: a text format for data. JSON.parse turns text into objects; JSON.stringify does the reverse.
JSON mode Structured output
Setting responseMimeType to application/json so Gemini returns JSON text.
JSON.parse JavaScript
Converts JSON text into JavaScript values. It throws on invalid JSON, which is why AI output must be checked.
JSONPlaceholder APIs
A free fake REST API used by Project 04 for practice user data.
Key masking Security
Showing only a few characters of a secret, never the whole key.
Least privilege Security
Requesting only the permissions a script actually needs.
Lesson folder Google Workspace
The Drive folder holding a project's spreadsheet and companion documents. V6 code finds it from the spreadsheet's parent.
let JavaScript
Declares a variable that can be reassigned later, such as a running count.
LockService Apps Script
Prevents two executions from running the same critical section at once.
Logger.log Apps Script
Writes a line to the execution log. Useful to see values while a script runs.
Logically consistent Structured output
The data agrees with itself and the inputs: IDs match, counts add up, values are allowed.
MailApp Apps Script
A simpler e-mail sending service. Not used by the workshop, because automatic sending is not allowed.
makeCopy Apps Script
Copies a Drive file, leaving the original untouched; the basis of template-based document generation.
map JavaScript
Builds a new array by transforming each element, for example turning rows into output rows.
Map (data structure) JavaScript
A key-value collection that keeps insertion order and allows any key type; used to group invoice lines.
Markdown fence Structured output
```json ... ``` wrapped around JSON. It must be stripped before JSON.parse.
MIME type Google Workspace
A label describing a file's format, for example application/vnd.google-apps.document for Google Docs.
Model name Gemini
Which Gemini model to call, stored in the GEMINI_MODEL Script Property. Availability changes over time.
Modular code Architecture
Code organized into small, focused functions and files.
muteHttpExceptions Apps Script
A UrlFetchApp option that returns error responses instead of throwing, so the code can read the status code and message.
My Drive Google Workspace
The root of a person's own Drive files.
NaN JavaScript
"Not a Number": the result of a failed numeric conversion. Number.isFinite() rejects it.
Native Google file Google Workspace
A file stored in Google's own format (Docs, Sheets, Slides) rather than as .docx or .xlsx. Only native files can be edited by DocumentApp and hold bound scripts.
Number JavaScript
A numeric value. Number("12") converts text; the result can be NaN if the text is not numeric.
Number.isFinite JavaScript
Returns true only for real, finite numbers. The num() helper uses it to reject text and blanks.
Object JavaScript
A collection of named values (key: value). Used as a lookup table, for example totals by region.
Object.entries JavaScript
Turns an object into an array of [key, value] pairs, which is ready for setValues().
Office file conversion Google Workspace
Turning .docx or .xlsx into native Google files, by File → Save as or with the Drive API conversion script.
onOpen Apps Script
A simple trigger that runs when the file opens. The workshop uses it only to build the Workshop menu.
Optional chaining JavaScript
a?.b reads b only if a is not null or undefined, avoiding "Cannot read properties of null".
Output tab Architecture
A tab the script creates or replaces with results, keeping the source data untouched.
Parameter JavaScript
A name in a function definition for a value the caller passes in, like quantity in NETPRICE(quantity, price, discount).
Payload APIs
The body of a request, such as the JSON prompt sent to Gemini.
Prediction Testing
Stating what you expect before running code; the habit that makes surprises visible.
Prepared response fixture Gemini
In this website, a deterministic, locally generated response shaped like Gemini output. It is not a live Gemini response.
preventDefault HTML and CSS
Stops the browser's default action, such as reloading the page on form submit.
Preview first Automation
Showing proposed changes (moves, drafts) before applying them, as Project 10 does.
Prompt Gemini
The instruction and data sent to a model.
Prompt injection Gemini
Text in the input data that tries to override the prompt's instructions. Treat all input as untrusted.
PropertiesService Apps Script
Key-value storage for a script, user or document. The workshop keeps the Gemini key and saved IDs in Script Properties.
Property JavaScript
One named value inside an object, read with dot or bracket notation: totals[region].
Prototype Architecture
A first working version to test an idea quickly.
Quota APIs
A cap on total usage, such as requests per day.
Range Apps Script
A block of cells. Most work in the workshop reads or writes whole ranges in one call.
Rate limit APIs
A cap on how many requests are allowed in a time window.
Read → transform → write Architecture
The core pattern of every project: read input once, process in memory, write output once.
Record ID coverage Structured output
Checking that every input ID appears exactly once in the output: no missing, extra or duplicate records.
reduce JavaScript
Combines all elements of an array into one value, such as a grand total.
Refactoring Architecture
Improving code structure without changing what it does, verified by tests.
Reference date Automation
A fixed "today" used in date logic so results are reproducible in tests.
Regression test Testing
A check that something that used to work still works after a change.
Regular expression JavaScript
A pattern for matching text, such as /^\S+@\S+\.\S+$/ for the shape of an e-mail address.
replaceText Apps Script
Replaces text matching a pattern in a document; used to fill {{PLACEHOLDERS}} in templates.
Reproducible bug Testing
A failure you can trigger on demand, which makes it possible to verify the fix.
Request header APIs
A named value sent with a request, such as Content-Type or x-goog-api-key.
Required field Structured output
A field every record must include; a missing one means the record is rejected.
Rerun-safe Automation
Safe to run again without duplicates or damage.
Response APIs
What the server sends back: a status code, headers and a body.
responseMimeType Structured output
Gemini generationConfig field selecting the output format, for example application/json.
Responsive layout HTML and CSS
A layout that adapts to screen width, from phone to desktop.
REST API APIs
An API addressed by URLs and HTTP methods, typically exchanging JSON.
Return value JavaScript
The value a function hands back with return. Custom spreadsheet functions show their return value in the cell.
Sandbox Security
An isolated environment where code cannot reach the rest of the system. This site runs learner code in a Web Worker sandbox.
Schema Structured output
A description of required fields, their types and allowed values.
Scope JavaScript
Where a variable can be seen. Variables declared inside a function are not visible outside it.
Script Properties Apps Script
Project-level settings stored outside the code, so secrets are not pasted into Code.gs.
ScriptApp Apps Script
Manages triggers and script metadata, for example newTrigger() and getProjectTriggers().
Secret Security
A credential such as an API key that must not appear in code, logs, screenshots or public pages.
Select element HTML and CSS
A drop-down list of options, such as the request category in Project 14.
Separation of concerns Architecture
Keeping reading, processing, AI calls and writing in separate functions so each can be tested.
Server-side proxy Security
A server you control that holds the API key and forwards requests, so the key never reaches the browser.
Set JavaScript
A collection of unique values. Project 02 uses a Set of e-mail addresses to find duplicates.
setValues Apps Script
Writes a two-dimensional array into a range of exactly the same size.
Sharing permissions Google Workspace
Who can view or edit a file. Workshop applications never change them.
Sidebar HTML and CSS
A panel on the right of a Google Sheets, Docs or Slides window, served by HtmlService.
Simple trigger Automation
Reserved function names like onOpen and onEdit that run automatically with limited permissions.
Simulation Testing
A local imitation of a service for learning and testing. The virtual Workspace here is a simulation.
Source of truth Architecture
The one place where the authoritative data lives; here, the input tab.
Specification Architecture
A written description of what an application must do, its inputs, outputs and tests.
SpreadsheetApp Apps Script
The Apps Script service for Google Sheets: open spreadsheets, read and write ranges, add menus and charts.
SpreadsheetApp.flush Apps Script
Applies pending spreadsheet changes immediately, so a later read sees them.
Standalone script Apps Script
An Apps Script project not attached to a file, created at script.google.com. The workshop generator runs this way.
State Architecture
The data an application holds at a moment: sheets, documents, drafts and properties.
Status code APIs
A three-digit result: 200 OK, 4xx a problem with the request, 5xx a problem on the server.
Strict equality JavaScript
=== compares value and type without conversion. "1" === 1 is false.
String JavaScript
Text. Spreadsheet values that look like numbers can still arrive as strings, which is why the workshop validates them.
Structurally valid Structured output
The parsed data has the expected shape, fields and types.
Structured output Structured output
Asking a model for data in a fixed shape, usually JSON, instead of free text.
Syntactically valid Structured output
The text parses as JSON. Says nothing about whether it is correct.
System instruction Gemini
Guidance that frames how a model should behave across a request.
Tab (sheet) Google Workspace
One page of a spreadsheet. Scripts find tabs by exact name.
Temperature Gemini
A setting controlling randomness. Lower is more consistent.
Template literal JavaScript
A string in backticks that can include ${expressions}, used to build e-mail bodies and document text.
Ternary operator JavaScript
condition ? a : b — a compact if/else that produces a value.
Test data Testing
Fictional records designed to exercise normal and edge cases.
textContent HTML and CSS
Sets an element's text without interpreting HTML, which avoids injection from untrusted data.
throw JavaScript
Stops the current function with an error, for example throw Error("Missing tab: Sales").
Time-driven trigger Automation
An installable trigger that runs on a schedule, with no active spreadsheet and no UI.
Timeout APIs
Giving up when a response takes too long.
Token Gemini
A chunk of text a model reads or writes; limits and pricing are counted in tokens.
Trigger Automation
Something that starts a script automatically: opening a file, editing, a form submission or a time schedule.
Truthy and falsy JavaScript
Values treated as true or false in a condition. Empty string, 0, null and undefined are falsy.
try...catch JavaScript
Runs code and handles an error instead of stopping. Project 07 uses it to report one bad invoice without losing others.
Two-dimensional array JavaScript
An array of arrays: the shape of spreadsheet data. setValues() needs every row to have the same length.
Type check Structured output
Verifying a value is a string, number or boolean as expected.
Untrusted input Security
Any data you did not write yourself: cells, documents, messages and AI responses. Validate it.
UrlFetchApp Apps Script
Makes HTTP requests from Apps Script to web APIs, including Gemini.
Utilities.formatDate Apps Script
Formats a Date as text in a given time zone and pattern, such as yyyy-MM-dd.
V8 runtime Apps Script
The modern JavaScript engine Apps Script uses, supporting const, let, arrow functions and classes.
Validator Structured output
Code that checks output against rules and rejects what does not pass.
Variable JavaScript
A named place to keep a value. In the workshop, const is used for values that are not reassigned and let for values that change.
Web Worker Architecture
A browser background thread with no access to the page. This site runs learner code in one.
withSuccessHandler Apps Script
Registers the function that receives a server function's return value in google.script.run.
Workflow Automation
A sequence of steps from input to output, possibly with decisions and approvals.
Workshop Info tab Google Workspace
A tab in the generated starter spreadsheets describing the lesson. In V6 it is informational only; the code never reads it.