Educator resources and 25 presenter demonstrations
Demonstrations are prepared scripts, not produced videos. Rehearse timing and verify target-browser behavior. Ask learners to predict before Run, compare observed state, then explain and extend. Grade evidence, explanation, transfer and safe deployment separately.
1. Introduction to Apps Script — engineering demonstration
5 minutes; prepared recording script, not a rendered video
Launch Prepared DemoWe will investigate introduction to apps script. How can introduction to apps script solve a real automation problem without hiding an incorrect result?
- Open Learn, select lesson 1: Introduction to Apps Script. Choose the working example and reset.
A script is a sequence of instructions. Apps Script runs JavaScript on Google servers and exposes service objects such as SpreadsheetApp.
- Read the source and pause for a predicted result.
getRange returns a Range object; setValue changes the selected cell. The name column stays unchanged.
- Click Run on fresh sample; inspect Console, Workspace and Execution Trace.
These are actual local JavaScript and supported fictional service calls. They do not change a Google account.
- Load the deliberate failure using "B3"; predict and run it.
Compare the first difference. The reference requires "B2".
- Repair source, run Check My Work, and inspect both console and resource state.
A passing check verifies the declared fixture contract, not every possible input.
- Explain the result, Save Script, then Export Project. Reset Example to prepare the next recording.
Review exported Code.gs, setup, authorization and deployment steps before using actual Workspace data.
Explain why getRange returns a Range object; setValue changes the selected cell. The name column stays unchanged. Which operation provides the strongest evidence? Propose one independent input with an exact expected outcome, and state what must still be checked on Google.
2. Writing your first function — engineering demonstration
5 minutes; prepared recording script, not a rendered video
Launch Prepared DemoWe will investigate writing your first function. How can writing your first function solve a real automation problem without hiding an incorrect result?
- Open Learn, select lesson 4: Writing your first function. Choose the working example and reset.
A method is a function accessed through an object. Parentheses invoke it, and arguments supply values.
- Read the source and pause for a predicted result.
The getter reads the value written earlier in the same run, so the console confirms the state change.
- Click Run on fresh sample; inspect Console, Workspace and Execution Trace.
These are actual local JavaScript and supported fictional service calls. They do not change a Google account.
- Load the deliberate failure using setValue("Pending"); predict and run it.
Compare the first difference. The reference requires setValue("Complete").
- Repair source, run Check My Work, and inspect both console and resource state.
A passing check verifies the declared fixture contract, not every possible input.
- Explain the result, Save Script, then Export Project. Reset Example to prepare the next recording.
Review exported Code.gs, setup, authorization and deployment steps before using actual Workspace data.
Explain why The getter reads the value written earlier in the same run, so the console confirms the state change. Which operation provides the strongest evidence? Propose one independent input with an exact expected outcome, and state what must still be checked on Google.
3. Arrays — engineering demonstration
5 minutes; prepared recording script, not a rendered video
Launch Prepared DemoWe will investigate arrays. How can arrays solve a real automation problem without hiding an incorrect result?
- Open Learn, select lesson 7: Arrays. Choose the working example and reset.
An array is an ordered collection. Its first element has index zero, unlike spreadsheet row one.
- Read the source and pause for a predicted result.
Index zero contains Alex; index three is outside this three-element array.
- Click Run on fresh sample; inspect Console, Workspace and Execution Trace.
These are actual local JavaScript and supported fictional service calls. They do not change a Google account.
- Load the deliberate failure using names[3]; predict and run it.
Compare the first difference. The reference requires names[0].
- Repair source, run Check My Work, and inspect both console and resource state.
A passing check verifies the declared fixture contract, not every possible input.
- Explain the result, Save Script, then Export Project. Reset Example to prepare the next recording.
Review exported Code.gs, setup, authorization and deployment steps before using actual Workspace data.
Explain why Index zero contains Alex; index three is outside this three-element array. Which operation provides the strongest evidence? Propose one independent input with an exact expected outcome, and state what must still be checked on Google.
4. Sheets and ranges — engineering demonstration
5 minutes; prepared recording script, not a rendered video
Launch Prepared DemoWe will investigate sheets and ranges. How can sheets and ranges solve a real automation problem without hiding an incorrect result?
- Open Learn, select lesson 12: Sheets and ranges. Choose the working example and reset.
A1 notation expresses a rectangle from its top-left to bottom-right cell. The numeric getRange overload takes row, column, number of rows and number of columns.
- Read the source and pause for a predicted result.
Starting at row two excludes the header. The range contains two rows and two columns.
- Click Run on fresh sample; inspect Console, Workspace and Execution Trace.
These are actual local JavaScript and supported fictional service calls. They do not change a Google account.
- Load the deliberate failure using getRange(1, 1, 2, 2); predict and run it.
Compare the first difference. The reference requires getRange(2, 1, 2, 2).
- Repair source, run Check My Work, and inspect both console and resource state.
A passing check verifies the declared fixture contract, not every possible input.
- Explain the result, Save Script, then Export Project. Reset Example to prepare the next recording.
Review exported Code.gs, setup, authorization and deployment steps before using actual Workspace data.
Explain why Starting at row two excludes the header. The range contains two rows and two columns. Which operation provides the strongest evidence? Propose one independent input with an exact expected outcome, and state what must still be checked on Google.
5. Reading cell values — engineering demonstration
5 minutes; prepared recording script, not a rendered video
Launch Prepared DemoWe will investigate reading cell values. How can reading cell values solve a real automation problem without hiding an incorrect result?
- Open Learn, select lesson 13: Reading cell values. Choose the working example and reset.
getValue reads the top-left cell; getValues reads the whole selected rectangle as nested arrays. Neither mutates cells.
- Read the source and pause for a predicted result.
B2 contains a number; A2 contains the customer’s text name.
- Click Run on fresh sample; inspect Console, Workspace and Execution Trace.
These are actual local JavaScript and supported fictional service calls. They do not change a Google account.
- Load the deliberate failure using "A2"; predict and run it.
Compare the first difference. The reference requires "B2".
- Repair source, run Check My Work, and inspect both console and resource state.
A passing check verifies the declared fixture contract, not every possible input.
- Explain the result, Save Script, then Export Project. Reset Example to prepare the next recording.
Review exported Code.gs, setup, authorization and deployment steps before using actual Workspace data.
Explain why B2 contains a number; A2 contains the customer’s text name. Which operation provides the strongest evidence? Propose one independent input with an exact expected outcome, and state what must still be checked on Google.
6. Writing values — engineering demonstration
5 minutes; prepared recording script, not a rendered video
Launch Prepared DemoWe will investigate writing values. How can writing values solve a real automation problem without hiding an incorrect result?
- Open Learn, select lesson 14: Writing values. Choose the working example and reset.
A write replaces existing cell content. Read the old value when the update depends on it, compute locally and write deliberately.
- Read the source and pause for a predicted result.
The calculation uses the numeric input 120 and stores 130, leaving other records unchanged.
- Click Run on fresh sample; inspect Console, Workspace and Execution Trace.
These are actual local JavaScript and supported fictional service calls. They do not change a Google account.
- Load the deliberate failure using - 10; predict and run it.
Compare the first difference. The reference requires + 10.
- Repair source, run Check My Work, and inspect both console and resource state.
A passing check verifies the declared fixture contract, not every possible input.
- Explain the result, Save Script, then Export Project. Reset Example to prepare the next recording.
Review exported Code.gs, setup, authorization and deployment steps before using actual Workspace data.
Explain why The calculation uses the numeric input 120 and stores 130, leaving other records unchanged. Which operation provides the strongest evidence? Propose one independent input with an exact expected outcome, and state what must still be checked on Google.
7. Batch operations — engineering demonstration
5 minutes; prepared recording script, not a rendered video
Launch Prepared DemoWe will investigate batch operations. How can batch operations solve a real automation problem without hiding an incorrect result?
- Open Learn, select lesson 16: Batch operations. Choose the working example and reset.
Batch reading retrieves a rectangular snapshot with one explicit read. Subsequent array operations are local and do not fetch fresh cells.
- Read the source and pause for a predicted result.
slice(1) excludes exactly the header; slicing from two also loses Alex’s record.
- Click Run on fresh sample; inspect Console, Workspace and Execution Trace.
These are actual local JavaScript and supported fictional service calls. They do not change a Google account.
- Load the deliberate failure using rows.slice(2); predict and run it.
Compare the first difference. The reference requires rows.slice(1).
- Repair source, run Check My Work, and inspect both console and resource state.
A passing check verifies the declared fixture contract, not every possible input.
- Explain the result, Save Script, then Export Project. Reset Example to prepare the next recording.
Review exported Code.gs, setup, authorization and deployment steps before using actual Workspace data.
Explain why slice(1) excludes exactly the header; slicing from two also loses Alex’s record. Which operation provides the strongest evidence? Propose one independent input with an exact expected outcome, and state what must still be checked on Google.
8. Data transformation — engineering demonstration
5 minutes; prepared recording script, not a rendered video
Launch Prepared DemoWe will investigate data transformation. Why does changing an array not change the spreadsheet until you write it back?
- Open Learn, select lesson 18: Data transformation. Choose the working example and reset.
Transformations should make input and output shapes explicit. Spreadsheet values form a two-dimensional array even for one column.
- Read the source and pause for a predicted result.
Three Pending values become In Progress through one batch write.
- Click Run on fresh sample; inspect Console, Workspace and Execution Trace.
These are actual local JavaScript and supported fictional service calls. They do not change a Google account.
- Load the deliberate failure using "Complete"; predict and run it.
Compare the first difference. The reference requires "In Progress".
- Repair source, run Check My Work, and inspect both console and resource state.
A passing check verifies the declared fixture contract, not every possible input.
- Explain the result, Save Script, then Export Project. Reset Example to prepare the next recording.
Review exported Code.gs, setup, authorization and deployment steps before using actual Workspace data.
Explain why Three Pending values become In Progress through one batch write. Which operation provides the strongest evidence? Propose one independent input with an exact expected outcome, and state what must still be checked on Google.
9. Formatting automation — engineering demonstration
5 minutes; prepared recording script, not a rendered video
Launch Prepared DemoWe will investigate formatting automation. How can formatting automation solve a real automation problem without hiding an incorrect result?
- Open Learn, select lesson 19: Formatting automation. Choose the working example and reset.
Formatting changes presentation separately from the underlying value. setBackground accepts a CSS-style color string; setFontWeight accepts normal or bold.
- Read the source and pause for a predicted result.
Chained formatting methods return the same range, so both styles apply to the header.
- Click Run on fresh sample; inspect Console, Workspace and Execution Trace.
These are actual local JavaScript and supported fictional service calls. They do not change a Google account.
- Load the deliberate failure using "A2:B2"; predict and run it.
Compare the first difference. The reference requires "A1:B1".
- Repair source, run Check My Work, and inspect both console and resource state.
A passing check verifies the declared fixture contract, not every possible input.
- Explain the result, Save Script, then Export Project. Reset Example to prepare the next recording.
Review exported Code.gs, setup, authorization and deployment steps before using actual Workspace data.
Explain why Chained formatting methods return the same range, so both styles apply to the header. Which operation provides the strongest evidence? Propose one independent input with an exact expected outcome, and state what must still be checked on Google.
10. Template-based document generation — engineering demonstration
5 minutes; prepared recording script, not a rendered video
Launch Prepared DemoWe will investigate template-based document generation. How can template-based document generation solve a real automation problem without hiding an incorrect result?
- Open Learn, select lesson 25: Template-based document generation. Choose the working example and reset.
replaceText interprets its search string as a regular expression, not arbitrary literal text. Escape regex metacharacters in placeholder patterns.
- Read the source and pause for a predicted result.
Only the copy changes. The escaped braces identify the literal NAME placeholder.
- Click Run on fresh sample; inspect Console, Workspace and Execution Trace.
These are actual local JavaScript and supported fictional service calls. They do not change a Google account.
- Load the deliberate failure using "Jordan");; predict and run it.
Compare the first difference. The reference requires "Alex");.
- Repair source, run Check My Work, and inspect both console and resource state.
A passing check verifies the declared fixture contract, not every possible input.
- Explain the result, Save Script, then Export Project. Reset Example to prepare the next recording.
Review exported Code.gs, setup, authorization and deployment steps before using actual Workspace data.
Explain why Only the copy changes. The escaped braces identify the literal NAME placeholder. Which operation provides the strongest evidence? Propose one independent input with an exact expected outcome, and state what must still be checked on Google.
11. Searching messages — engineering demonstration
5 minutes; prepared recording script, not a rendered video
Launch Prepared DemoWe will investigate searching messages. How can searching messages solve a real automation problem without hiding an incorrect result?
- Open Learn, select lesson 27: Searching messages. Choose the working example and reset.
Google Gmail supports a rich search language. The local adapter supports subject substring searches and a single label: query, not the complete grammar.
- Read the source and pause for a predicted result.
The label selects the invoice thread; an unknown label produces an empty array.
- Click Run on fresh sample; inspect Console, Workspace and Execution Trace.
These are actual local JavaScript and supported fictional service calls. They do not change a Google account.
- Load the deliberate failure using label:Unknown; predict and run it.
Compare the first difference. The reference requires label:Support.
- Repair source, run Check My Work, and inspect both console and resource state.
A passing check verifies the declared fixture contract, not every possible input.
- Explain the result, Save Script, then Export Project. Reset Example to prepare the next recording.
Review exported Code.gs, setup, authorization and deployment steps before using actual Workspace data.
Explain why The label selects the invoice thread; an unknown label produces an empty array. Which operation provides the strongest evidence? Propose one independent input with an exact expected outcome, and state what must still be checked on Google.
12. Creating drafts — engineering demonstration
5 minutes; prepared recording script, not a rendered video
Launch Prepared DemoWe will investigate creating drafts. How can creating drafts solve a real automation problem without hiding an incorrect result?
- Open Learn, select lesson 29: Creating drafts. Choose the working example and reset.
Build personalized messages from validated records and show recipients before any send. Provide plain text alongside HTML.
- Read the source and pause for a predicted result.
Both a plain-text body and HTML alternative are recorded for human review.
- Click Run on fresh sample; inspect Console, Workspace and Execution Trace.
These are actual local JavaScript and supported fictional service calls. They do not change a Google account.
- Load the deliberate failure using "Goodbye, " + name; predict and run it.
Compare the first difference. The reference requires "Welcome, " + name.
- Repair source, run Check My Work, and inspect both console and resource state.
A passing check verifies the declared fixture contract, not every possible input.
- Explain the result, Save Script, then Export Project. Reset Example to prepare the next recording.
Review exported Code.gs, setup, authorization and deployment steps before using actual Workspace data.
Explain why Both a plain-text body and HTML alternative are recorded for human review. Which operation provides the strongest evidence? Propose one independent input with an exact expected outcome, and state what must still be checked on Google.
13. File organization — engineering demonstration
5 minutes; prepared recording script, not a rendered video
Launch Prepared DemoWe will investigate file organization. How can file organization solve a real automation problem without hiding an incorrect result?
- Open Learn, select lesson 33: File organization. Choose the working example and reset.
Copying makes a new resource; renaming or moving changes an existing one. Keep source and destination IDs separate.
- Read the source and pause for a predicted result.
A new file is created inside Archive and renamed; the original brief remains in the root.
- Click Run on fresh sample; inspect Console, Workspace and Execution Trace.
These are actual local JavaScript and supported fictional service calls. They do not change a Google account.
- Load the deliberate failure using copy.setName("Unreviewed brief"); predict and run it.
Compare the first difference. The reference requires copy.setName("Reviewed brief").
- Repair source, run Check My Work, and inspect both console and resource state.
A passing check verifies the declared fixture contract, not every possible input.
- Explain the result, Save Script, then Export Project. Reset Example to prepare the next recording.
Review exported Code.gs, setup, authorization and deployment steps before using actual Workspace data.
Explain why A new file is created inside Archive and renamed; the original brief remains in the root. Which operation provides the strongest evidence? Propose one independent input with an exact expected outcome, and state what must still be checked on Google.
14. Creating forms — engineering demonstration
5 minutes; prepared recording script, not a rendered video
Launch Prepared DemoWe will investigate creating forms. How can creating forms solve a real automation problem without hiding an incorrect result?
- Open Learn, select lesson 37: Creating forms. Choose the working example and reset.
Creating a form returns a new Form object. Add questions after creation and configure any destination explicitly.
- Read the source and pause for a predicted result.
The new form contains a required text question and is separate from the existing Feedback form.
- Click Run on fresh sample; inspect Console, Workspace and Execution Trace.
These are actual local JavaScript and supported fictional service calls. They do not change a Google account.
- Load the deliberate failure using setRequired(false); predict and run it.
Compare the first difference. The reference requires setRequired(true).
- Repair source, run Check My Work, and inspect both console and resource state.
A passing check verifies the declared fixture contract, not every possible input.
- Explain the result, Save Script, then Export Project. Reset Example to prepare the next recording.
Review exported Code.gs, setup, authorization and deployment steps before using actual Workspace data.
Explain why The new form contains a required text question and is separate from the existing Feedback form. Which operation provides the strongest evidence? Propose one independent input with an exact expected outcome, and state what must still be checked on Google.
15. Response processing — engineering demonstration
5 minutes; prepared recording script, not a rendered video
Launch Prepared DemoWe will investigate response processing. How can response processing solve a real automation problem without hiding an incorrect result?
- Open Learn, select lesson 39: Response processing. Choose the working example and reset.
Extract values by question title or a documented schema, not an unexplained position that breaks when a question is inserted. Responses can contain absent or unexpected values.
- Read the source and pause for a predicted result.
Calling getResponse retrieves the answer; printing the function itself is not the submitted answer.
- Click Run on fresh sample; inspect Console, Workspace and Execution Trace.
These are actual local JavaScript and supported fictional service calls. They do not change a Google account.
- Load the deliberate failure using item.getResponse; predict and run it.
Compare the first difference. The reference requires item.getResponse().
- Repair source, run Check My Work, and inspect both console and resource state.
A passing check verifies the declared fixture contract, not every possible input.
- Explain the result, Save Script, then Export Project. Reset Example to prepare the next recording.
Review exported Code.gs, setup, authorization and deployment steps before using actual Workspace data.
Explain why Calling getResponse retrieves the answer; printing the function itself is not the submitted answer. Which operation provides the strongest evidence? Propose one independent input with an exact expected outcome, and state what must still be checked on Google.
16. Creating events — engineering demonstration
5 minutes; prepared recording script, not a rendered video
Launch Prepared DemoWe will investigate creating events. How can creating events solve a real automation problem without hiding an incorrect result?
- Open Learn, select lesson 43: Creating events. Choose the working example and reset.
Check conflicts using overlap logic: existing start is before proposed end and existing end is after proposed start. Adjacent events need not conflict.
- Read the source and pause for a predicted result.
An empty sample calendar permits one appointment. Reversing the condition prevents the intended creation.
- Click Run on fresh sample; inspect Console, Workspace and Execution Trace.
These are actual local JavaScript and supported fictional service calls. They do not change a Google account.
- Load the deliberate failure using length > 0; predict and run it.
Compare the first difference. The reference requires length === 0.
- Repair source, run Check My Work, and inspect both console and resource state.
A passing check verifies the declared fixture contract, not every possible input.
- Explain the result, Save Script, then Export Project. Reset Example to prepare the next recording.
Review exported Code.gs, setup, authorization and deployment steps before using actual Workspace data.
Explain why An empty sample calendar permits one appointment. Reversing the condition prevents the intended creation. Which operation provides the strongest evidence? Propose one independent input with an exact expected outcome, and state what must still be checked on Google.
17. Installable triggers — engineering demonstration
5 minutes; prepared recording script, not a rendered video
Launch Prepared DemoWe will investigate installable triggers. How can installable triggers solve a real automation problem without hiding an incorrect result?
- Open Learn, select lesson 47: Installable triggers. Choose the working example and reset.
Installable triggers can call authorized services subject to the installer’s identity and permissions. A trigger’s owner and source matter.
- Read the source and pause for a predicted result.
The trigger targets spreadsheet edits, which provide a different event contract from form submissions.
- Click Run on fresh sample; inspect Console, Workspace and Execution Trace.
These are actual local JavaScript and supported fictional service calls. They do not change a Google account.
- Load the deliberate failure using onFormSubmit().create(); predict and run it.
Compare the first difference. The reference requires onEdit().create().
- Repair source, run Check My Work, and inspect both console and resource state.
A passing check verifies the declared fixture contract, not every possible input.
- Explain the result, Save Script, then Export Project. Reset Example to prepare the next recording.
Review exported Code.gs, setup, authorization and deployment steps before using actual Workspace data.
Explain why The trigger targets spreadsheet edits, which provide a different event contract from form submissions. Which operation provides the strongest evidence? Propose one independent input with an exact expected outcome, and state what must still be checked on Google.
18. Reliable trigger processing — engineering demonstration
5 minutes; prepared recording script, not a rendered video
Launch Prepared DemoWe will investigate reliable trigger processing. How can reliable trigger processing solve a real automation problem without hiding an incorrect result?
- Open Learn, select lesson 50: Reliable trigger processing. Choose the working example and reset.
Reliability starts with an idempotency key identifying the business operation, not a random execution. Read durable completion state, perform the intended work, and then mark success.
- Read the source and pause for a predicted result.
The first invocation prepares a report and stores a done marker; a repeated invocation skips it.
- Click Run on fresh sample; inspect Console, Workspace and Execution Trace.
These are actual local JavaScript and supported fictional service calls. They do not change a Google account.
- Load the deliberate failure using setProperty(key, "pending"); predict and run it.
Compare the first difference. The reference requires setProperty(key, "done").
- Repair source, run Check My Work, and inspect both console and resource state.
A passing check verifies the declared fixture contract, not every possible input.
- Explain the result, Save Script, then Export Project. Reset Example to prepare the next recording.
Review exported Code.gs, setup, authorization and deployment steps before using actual Workspace data.
Explain why The first invocation prepares a report and stores a done marker; a repeated invocation skips it. Which operation provides the strongest evidence? Propose one independent input with an exact expected outcome, and state what must still be checked on Google.
19. Sidebar applications — engineering demonstration
5 minutes; prepared recording script, not a rendered video
Launch Prepared DemoWe will investigate sidebar applications. How can sidebar applications solve a real automation problem without hiding an incorrect result?
- Open Learn, select lesson 54: Sidebar applications. Choose the working example and reset.
A sidebar is an HTML interface beside the host document. Its client JavaScript runs separately from server Apps Script.
- Read the source and pause for a predicted result.
The sidebar state contains a distinct interface, while server and client environments remain separate.
- Click Run on fresh sample; inspect Console, Workspace and Execution Trace.
These are actual local JavaScript and supported fictional service calls. They do not change a Google account.
- Load the deliberate failure using <h2>Unrelated</h2>; predict and run it.
Compare the first difference. The reference requires <h2>Administration</h2>.
- Repair source, run Check My Work, and inspect both console and resource state.
A passing check verifies the declared fixture contract, not every possible input.
- Explain the result, Save Script, then Export Project. Reset Example to prepare the next recording.
Review exported Code.gs, setup, authorization and deployment steps before using actual Workspace data.
Explain why The sidebar state contains a distinct interface, while server and client environments remain separate. Which operation provides the strongest evidence? Propose one independent input with an exact expected outcome, and state what must still be checked on Google.
20. Web app forms — engineering demonstration
5 minutes; prepared recording script, not a rendered video
Launch Prepared DemoWe will investigate web app forms. How can web app forms solve a real automation problem without hiding an incorrect result?
- Open Learn, select lesson 58: Web app forms. Choose the working example and reset.
A web form submits untrusted strings. Validate required fields, lengths and allowed categories on the server even when the browser already validates them.
- Read the source and pause for a predicted result.
The valid support record passes the server-style validation predicate.
- Click Run on fresh sample; inspect Console, Workspace and Execution Trace.
These are actual local JavaScript and supported fictional service calls. They do not change a Google account.
- Load the deliberate failure using category: "unknown"; predict and run it.
Compare the first difference. The reference requires category: "support".
- Repair source, run Check My Work, and inspect both console and resource state.
A passing check verifies the declared fixture contract, not every possible input.
- Explain the result, Save Script, then Export Project. Reset Example to prepare the next recording.
Review exported Code.gs, setup, authorization and deployment steps before using actual Workspace data.
Explain why The valid support record passes the server-style validation predicate. Which operation provides the strongest evidence? Propose one independent input with an exact expected outcome, and state what must still be checked on Google.
21. HTTP requests — engineering demonstration
5 minutes; prepared recording script, not a rendered video
Launch Prepared DemoWe will investigate http requests. How can http requests solve a real automation problem without hiding an incorrect result?
- Open Learn, select lesson 62: HTTP requests. Choose the working example and reset.
POST commonly submits a body; set contentType and JSON.stringify the payload rather than sending an object accidentally. An HTTP method alone does not provide authentication or duplicate protection.
- Read the source and pause for a predicted result.
The adapter returns an authored status while preserving the POST payload in the request inspection.
- Click Run on fresh sample; inspect Console, Workspace and Execution Trace.
These are actual local JavaScript and supported fictional service calls. They do not change a Google account.
- Load the deliberate failure using getStatus(); predict and run it.
Compare the first difference. The reference requires getResponseCode().
- Repair source, run Check My Work, and inspect both console and resource state.
A passing check verifies the declared fixture contract, not every possible input.
- Explain the result, Save Script, then Export Project. Reset Example to prepare the next recording.
Review exported Code.gs, setup, authorization and deployment steps before using actual Workspace data.
Explain why The adapter returns an authored status while preserving the POST payload in the request inspection. Which operation provides the strongest evidence? Propose one independent input with an exact expected outcome, and state what must still be checked on Google.
22. Structured AI responses — engineering demonstration
5 minutes; prepared recording script, not a rendered video
Launch Prepared DemoWe will investigate structured ai responses. How can structured ai responses solve a real automation problem without hiding an incorrect result?
- Open Learn, select lesson 69: Structured AI responses. Choose the working example and reset.
JSON syntax alone does not establish a valid business result. Parse first, then validate object shape, field types and enumerated categories.
- Read the source and pause for a predicted result.
The recorded support category passes the allowlist and is logged.
- Click Run on fresh sample; inspect Console, Workspace and Execution Trace.
These are actual local JavaScript and supported fictional service calls. They do not change a Google account.
- Load the deliberate failure using "category":"unknown"; predict and run it.
Compare the first difference. The reference requires "category":"support".
- Repair source, run Check My Work, and inspect both console and resource state.
A passing check verifies the declared fixture contract, not every possible input.
- Explain the result, Save Script, then Export Project. Reset Example to prepare the next recording.
Review exported Code.gs, setup, authorization and deployment steps before using actual Workspace data.
Explain why The recorded support category passes the allowlist and is logged. Which operation provides the strongest evidence? Propose one independent input with an exact expected outcome, and state what must still be checked on Google.
23. Human-reviewed AI workflows — engineering demonstration
5 minutes; prepared recording script, not a rendered video
Launch Prepared DemoWe will investigate human-reviewed ai workflows. How can human-reviewed ai workflows solve a real automation problem without hiding an incorrect result?
- Open Learn, select lesson 75: Human-reviewed AI workflows. Choose the working example and reset.
A human approval gate is a real business condition, not a decorative checkbox. Both approval and required evidence must be present before an effect is permitted.
- Read the source and pause for a predicted result.
Missing approval and reviewer keep the work held for review.
- Click Run on fresh sample; inspect Console, Workspace and Execution Trace.
These are actual local JavaScript and supported fictional service calls. They do not change a Google account.
- Load the deliberate failure using "ready-for-draft"; predict and run it.
Compare the first difference. The reference requires "held-for-review".
- Repair source, run Check My Work, and inspect both console and resource state.
A passing check verifies the declared fixture contract, not every possible input.
- Explain the result, Save Script, then Export Project. Reset Example to prepare the next recording.
Review exported Code.gs, setup, authorization and deployment steps before using actual Workspace data.
Explain why Missing approval and reviewer keep the work held for review. Which operation provides the strongest evidence? Propose one independent input with an exact expected outcome, and state what must still be checked on Google.
24. Locking and concurrency — engineering demonstration
5 minutes; prepared recording script, not a rendered video
Launch Prepared DemoWe will investigate locking and concurrency. What prevents two scheduled executions from changing the same record at the same time?
- Open Learn, select lesson 89: Locking and concurrency. Choose the working example and reset.
A lock protects a critical section from overlapping cooperating executions. It does not make external side effects transactional or prevent unrelated callers from bypassing the lock.
- Read the source and pause for a predicted result.
The lock is acquired, the protected operation logs once and finally releases the lock.
- Click Run on fresh sample; inspect Console, Workspace and Execution Trace.
These are actual local JavaScript and supported fictional service calls. They do not change a Google account.
- Load the deliberate failure using console.log("Unprotected result"); predict and run it.
Compare the first difference. The reference requires console.log("Protected operation").
- Repair source, run Check My Work, and inspect both console and resource state.
A passing check verifies the declared fixture contract, not every possible input.
- Explain the result, Save Script, then Export Project. Reset Example to prepare the next recording.
Review exported Code.gs, setup, authorization and deployment steps before using actual Workspace data.
Explain why The lock is acquired, the protected operation logs once and finally releases the lock. Which operation provides the strongest evidence? Propose one independent input with an exact expected outcome, and state what must still be checked on Google.
25. Implementation — engineering demonstration
5 minutes; prepared recording script, not a rendered video
Launch Prepared DemoWe will investigate implementation. How can implementation solve a real automation problem without hiding an incorrect result?
- Open Learn, select lesson 98: Implementation. Choose the working example and reset.
Combine services only after each stage has an explicit input and output. There is no automatic transaction across Sheets, Docs and Gmail.
- Read the source and pause for a predicted result.
The status records review, not delivery. A draft is not a sent message, and output IDs support later investigation.
- Click Run on fresh sample; inspect Console, Workspace and Execution Trace.
These are actual local JavaScript and supported fictional service calls. They do not change a Google account.
- Load the deliberate failure using setValue("Sent"); predict and run it.
Compare the first difference. The reference requires setValue("Review").
- Repair source, run Check My Work, and inspect both console and resource state.
A passing check verifies the declared fixture contract, not every possible input.
- Explain the result, Save Script, then Export Project. Reset Example to prepare the next recording.
Review exported Code.gs, setup, authorization and deployment steps before using actual Workspace data.
Explain why The status records review, not delivery. A draft is not a sent message, and output IDs support later investigation. Which operation provides the strongest evidence? Propose one independent input with an exact expected outcome, and state what must still be checked on Google.
Module teaching plan 1: Apps Script Foundations
Use the five lessons in order or select a targeted review. First elicit a prediction, run the smallest example, then let pairs modify one input and compare evidence. Discuss which state changes prove the result and which real Google assumptions remain.
Worksheet: record input, predicted output, actual output, first mismatch, repair and second test. Assessment rubric: 0 = no evidence; 1 = working sample only; 2 = working normal and invalid tests with explanation; 3 = independent extension plus reviewed deployment and recovery plan.
Project assignment: choose the related complete project, implement its missing operation, explain service choices and demonstrate a controlled failure. Review the transcript and actual outputs rather than awarding mastery for page visits.
Module teaching plan 2: JavaScript for Automation
Use the five lessons in order or select a targeted review. First elicit a prediction, run the smallest example, then let pairs modify one input and compare evidence. Discuss which state changes prove the result and which real Google assumptions remain.
Worksheet: record input, predicted output, actual output, first mismatch, repair and second test. Assessment rubric: 0 = no evidence; 1 = working sample only; 2 = working normal and invalid tests with explanation; 3 = independent extension plus reviewed deployment and recovery plan.
Project assignment: choose the related complete project, implement its missing operation, explain service choices and demonstrate a controlled failure. Review the transcript and actual outputs rather than awarding mastery for page visits.
Module teaching plan 3: Spreadsheet Fundamentals
Use the five lessons in order or select a targeted review. First elicit a prediction, run the smallest example, then let pairs modify one input and compare evidence. Discuss which state changes prove the result and which real Google assumptions remain.
Worksheet: record input, predicted output, actual output, first mismatch, repair and second test. Assessment rubric: 0 = no evidence; 1 = working sample only; 2 = working normal and invalid tests with explanation; 3 = independent extension plus reviewed deployment and recovery plan.
Project assignment: choose the related complete project, implement its missing operation, explain service choices and demonstrate a controlled failure. Review the transcript and actual outputs rather than awarding mastery for page visits.
Module teaching plan 4: Spreadsheet Automation
Use the five lessons in order or select a targeted review. First elicit a prediction, run the smallest example, then let pairs modify one input and compare evidence. Discuss which state changes prove the result and which real Google assumptions remain.
Worksheet: record input, predicted output, actual output, first mismatch, repair and second test. Assessment rubric: 0 = no evidence; 1 = working sample only; 2 = working normal and invalid tests with explanation; 3 = independent extension plus reviewed deployment and recovery plan.
Project assignment: choose the related complete project, implement its missing operation, explain service choices and demonstrate a controlled failure. Review the transcript and actual outputs rather than awarding mastery for page visits.
Module teaching plan 5: Google Docs Automation
Use the five lessons in order or select a targeted review. First elicit a prediction, run the smallest example, then let pairs modify one input and compare evidence. Discuss which state changes prove the result and which real Google assumptions remain.
Worksheet: record input, predicted output, actual output, first mismatch, repair and second test. Assessment rubric: 0 = no evidence; 1 = working sample only; 2 = working normal and invalid tests with explanation; 3 = independent extension plus reviewed deployment and recovery plan.
Project assignment: choose the related complete project, implement its missing operation, explain service choices and demonstrate a controlled failure. Review the transcript and actual outputs rather than awarding mastery for page visits.
Module teaching plan 6: Gmail Automation
Use the five lessons in order or select a targeted review. First elicit a prediction, run the smallest example, then let pairs modify one input and compare evidence. Discuss which state changes prove the result and which real Google assumptions remain.
Worksheet: record input, predicted output, actual output, first mismatch, repair and second test. Assessment rubric: 0 = no evidence; 1 = working sample only; 2 = working normal and invalid tests with explanation; 3 = independent extension plus reviewed deployment and recovery plan.
Project assignment: choose the related complete project, implement its missing operation, explain service choices and demonstrate a controlled failure. Review the transcript and actual outputs rather than awarding mastery for page visits.
Module teaching plan 7: Google Drive Automation
Use the five lessons in order or select a targeted review. First elicit a prediction, run the smallest example, then let pairs modify one input and compare evidence. Discuss which state changes prove the result and which real Google assumptions remain.
Worksheet: record input, predicted output, actual output, first mismatch, repair and second test. Assessment rubric: 0 = no evidence; 1 = working sample only; 2 = working normal and invalid tests with explanation; 3 = independent extension plus reviewed deployment and recovery plan.
Project assignment: choose the related complete project, implement its missing operation, explain service choices and demonstrate a controlled failure. Review the transcript and actual outputs rather than awarding mastery for page visits.
Module teaching plan 8: Google Forms
Use the five lessons in order or select a targeted review. First elicit a prediction, run the smallest example, then let pairs modify one input and compare evidence. Discuss which state changes prove the result and which real Google assumptions remain.
Worksheet: record input, predicted output, actual output, first mismatch, repair and second test. Assessment rubric: 0 = no evidence; 1 = working sample only; 2 = working normal and invalid tests with explanation; 3 = independent extension plus reviewed deployment and recovery plan.
Project assignment: choose the related complete project, implement its missing operation, explain service choices and demonstrate a controlled failure. Review the transcript and actual outputs rather than awarding mastery for page visits.
Module teaching plan 9: Google Calendar
Use the five lessons in order or select a targeted review. First elicit a prediction, run the smallest example, then let pairs modify one input and compare evidence. Discuss which state changes prove the result and which real Google assumptions remain.
Worksheet: record input, predicted output, actual output, first mismatch, repair and second test. Assessment rubric: 0 = no evidence; 1 = working sample only; 2 = working normal and invalid tests with explanation; 3 = independent extension plus reviewed deployment and recovery plan.
Project assignment: choose the related complete project, implement its missing operation, explain service choices and demonstrate a controlled failure. Review the transcript and actual outputs rather than awarding mastery for page visits.
Module teaching plan 10: Apps Script Triggers
Use the five lessons in order or select a targeted review. First elicit a prediction, run the smallest example, then let pairs modify one input and compare evidence. Discuss which state changes prove the result and which real Google assumptions remain.
Worksheet: record input, predicted output, actual output, first mismatch, repair and second test. Assessment rubric: 0 = no evidence; 1 = working sample only; 2 = working normal and invalid tests with explanation; 3 = independent extension plus reviewed deployment and recovery plan.
Project assignment: choose the related complete project, implement its missing operation, explain service choices and demonstrate a controlled failure. Review the transcript and actual outputs rather than awarding mastery for page visits.
Module teaching plan 11: Custom Menus and Dialogs
Use the five lessons in order or select a targeted review. First elicit a prediction, run the smallest example, then let pairs modify one input and compare evidence. Discuss which state changes prove the result and which real Google assumptions remain.
Worksheet: record input, predicted output, actual output, first mismatch, repair and second test. Assessment rubric: 0 = no evidence; 1 = working sample only; 2 = working normal and invalid tests with explanation; 3 = independent extension plus reviewed deployment and recovery plan.
Project assignment: choose the related complete project, implement its missing operation, explain service choices and demonstrate a controlled failure. Review the transcript and actual outputs rather than awarding mastery for page visits.
Module teaching plan 12: Apps Script Web Apps
Use the five lessons in order or select a targeted review. First elicit a prediction, run the smallest example, then let pairs modify one input and compare evidence. Discuss which state changes prove the result and which real Google assumptions remain.
Worksheet: record input, predicted output, actual output, first mismatch, repair and second test. Assessment rubric: 0 = no evidence; 1 = working sample only; 2 = working normal and invalid tests with explanation; 3 = independent extension plus reviewed deployment and recovery plan.
Project assignment: choose the related complete project, implement its missing operation, explain service choices and demonstrate a controlled failure. Review the transcript and actual outputs rather than awarding mastery for page visits.
Module teaching plan 13: External APIs
Use the five lessons in order or select a targeted review. First elicit a prediction, run the smallest example, then let pairs modify one input and compare evidence. Discuss which state changes prove the result and which real Google assumptions remain.
Worksheet: record input, predicted output, actual output, first mismatch, repair and second test. Assessment rubric: 0 = no evidence; 1 = working sample only; 2 = working normal and invalid tests with explanation; 3 = independent extension plus reviewed deployment and recovery plan.
Project assignment: choose the related complete project, implement its missing operation, explain service choices and demonstrate a controlled failure. Review the transcript and actual outputs rather than awarding mastery for page visits.
Module teaching plan 14: Gemini Integration
Use the five lessons in order or select a targeted review. First elicit a prediction, run the smallest example, then let pairs modify one input and compare evidence. Discuss which state changes prove the result and which real Google assumptions remain.
Worksheet: record input, predicted output, actual output, first mismatch, repair and second test. Assessment rubric: 0 = no evidence; 1 = working sample only; 2 = working normal and invalid tests with explanation; 3 = independent extension plus reviewed deployment and recovery plan.
Project assignment: choose the related complete project, implement its missing operation, explain service choices and demonstrate a controlled failure. Review the transcript and actual outputs rather than awarding mastery for page visits.
Module teaching plan 15: AI-Powered Workspace Applications
Use the five lessons in order or select a targeted review. First elicit a prediction, run the smallest example, then let pairs modify one input and compare evidence. Discuss which state changes prove the result and which real Google assumptions remain.
Worksheet: record input, predicted output, actual output, first mismatch, repair and second test. Assessment rubric: 0 = no evidence; 1 = working sample only; 2 = working normal and invalid tests with explanation; 3 = independent extension plus reviewed deployment and recovery plan.
Project assignment: choose the related complete project, implement its missing operation, explain service choices and demonstrate a controlled failure. Review the transcript and actual outputs rather than awarding mastery for page visits.
Module teaching plan 16: Workflow Engineering
Use the five lessons in order or select a targeted review. First elicit a prediction, run the smallest example, then let pairs modify one input and compare evidence. Discuss which state changes prove the result and which real Google assumptions remain.
Worksheet: record input, predicted output, actual output, first mismatch, repair and second test. Assessment rubric: 0 = no evidence; 1 = working sample only; 2 = working normal and invalid tests with explanation; 3 = independent extension plus reviewed deployment and recovery plan.
Project assignment: choose the related complete project, implement its missing operation, explain service choices and demonstrate a controlled failure. Review the transcript and actual outputs rather than awarding mastery for page visits.
Module teaching plan 17: Debugging and Testing
Use the five lessons in order or select a targeted review. First elicit a prediction, run the smallest example, then let pairs modify one input and compare evidence. Discuss which state changes prove the result and which real Google assumptions remain.
Worksheet: record input, predicted output, actual output, first mismatch, repair and second test. Assessment rubric: 0 = no evidence; 1 = working sample only; 2 = working normal and invalid tests with explanation; 3 = independent extension plus reviewed deployment and recovery plan.
Project assignment: choose the related complete project, implement its missing operation, explain service choices and demonstrate a controlled failure. Review the transcript and actual outputs rather than awarding mastery for page visits.
Module teaching plan 18: Performance and Reliability
Use the five lessons in order or select a targeted review. First elicit a prediction, run the smallest example, then let pairs modify one input and compare evidence. Discuss which state changes prove the result and which real Google assumptions remain.
Worksheet: record input, predicted output, actual output, first mismatch, repair and second test. Assessment rubric: 0 = no evidence; 1 = working sample only; 2 = working normal and invalid tests with explanation; 3 = independent extension plus reviewed deployment and recovery plan.
Project assignment: choose the related complete project, implement its missing operation, explain service choices and demonstrate a controlled failure. Review the transcript and actual outputs rather than awarding mastery for page visits.
Module teaching plan 19: Professional Development
Use the five lessons in order or select a targeted review. First elicit a prediction, run the smallest example, then let pairs modify one input and compare evidence. Discuss which state changes prove the result and which real Google assumptions remain.
Worksheet: record input, predicted output, actual output, first mismatch, repair and second test. Assessment rubric: 0 = no evidence; 1 = working sample only; 2 = working normal and invalid tests with explanation; 3 = independent extension plus reviewed deployment and recovery plan.
Project assignment: choose the related complete project, implement its missing operation, explain service choices and demonstrate a controlled failure. Review the transcript and actual outputs rather than awarding mastery for page visits.
Module teaching plan 20: Complete Application Projects
Use the five lessons in order or select a targeted review. First elicit a prediction, run the smallest example, then let pairs modify one input and compare evidence. Discuss which state changes prove the result and which real Google assumptions remain.
Worksheet: record input, predicted output, actual output, first mismatch, repair and second test. Assessment rubric: 0 = no evidence; 1 = working sample only; 2 = working normal and invalid tests with explanation; 3 = independent extension plus reviewed deployment and recovery plan.
Project assignment: choose the related complete project, implement its missing operation, explain service choices and demonstrate a controlled failure. Review the transcript and actual outputs rather than awarding mastery for page visits.
Independently launchable experiments
- Script execution flow
- Variable explorer
- Array transformation
- Object inspector
- Function call visualizer
- Spreadsheet range selector
- Range value explorer
- Two-dimensional array mapper
- Batch operation visualizer
- Spreadsheet formatting builder
- Sheet filtering experiment
- Formula insertion lab
- Spreadsheet report designer
- Document structure explorer
- Document formatting inspector
- Document template processor
- Mail search query builder
- Email draft designer
- Mail approval workflow
- Drive folder tree
- File organizer
- File metadata inspector
- Form question builder
- Form response processor
- Calendar event builder
- Scheduling conflict explorer
- Trigger timeline
- Trigger authorization explorer
- Trigger failure simulator
- Custom menu designer
- Sidebar layout builder
- HTML Service interface explorer
- google.script.run communication visualizer
- Web app request lifecycle
- Web app form builder
- API request designer
- JSON parser
- API error explorer
- Gemini prompt composer
- Structured response validator
- AI classification workflow
- AI document generation workflow
- AI email approval workflow
- Workflow node editor
- Branching logic visualizer
- Data validation builder
- Retry and backoff simulator
- Workflow execution trace
- Execution log inspector
- Error stack visualizer
- Mock service builder
- Test assertion designer
- Batch performance calculator
- Quota budget simulator
- Cache effectiveness explorer
- Locking and concurrency simulator
- Resumable job planner
- Authorization scope explorer
- Deployment checklist
- End-to-end automation architecture visualizer