Hands-On AI WorkshopHomeProjectsLearnResourcesPresenterHelpProgress

Safe Automation Studio

Automate only after it works. Manual execution → verified results → error handling → duplicate prevention → human review → safe scheduling.

Automation readiness checker

Trigger simulation

Concepts

Manual execution
Run from the menu while watching the result. Every project starts here.
Simple triggers
onOpen(e) and onEdit(e) run automatically with limited permissions. The workshop uses onOpen only to add the Workshop menu.
Installable triggers
Created with ScriptApp.newTrigger(); they run with the installing user's authorization. Install them yourself, never from a menu click you did not intend.
Time-driven triggers
Run on a schedule with no active spreadsheet and no UI: SpreadsheetApp.getActive() returns null, so code must open files by ID (Projects 05 and 13 save the ID in Script Properties).
Form submission triggers
Run when a Google Form is submitted; the event object carries the response values.
Event objects
The e parameter describing what triggered the run (range edited, form values, time).
Authorization
The first run asks for the scopes the code uses. Review them; a scheduled script keeps those permissions.
Quotas
Daily limits on email, URL fetches, runtime (about 6 minutes per execution) and triggers. Batch reads and writes.
Duplicate prevention and idempotency
Running twice must not create two documents or two drafts. Record an ID (Draft ID, Doc URL, Processed flag) and skip work already done.
Locking
LockService stops two runs from processing the same rows at once.
Retry handling
Retry transient failures (HTTP 429, 5xx) a few times with increasing waits; never retry 400/401/403.
Audit records
A log tab with what was done, when and by whom, so a person can verify and undo.

All 30 projects: rerun safety

ProjectTitleStatusBefore scheduling
01Automated Sales DashboardRerun-safeRerun-safe: output() replaces the Dashboard and old charts are removed. For a schedule, pass an explicit spreadsheet ID because a time-driven trigger has no active spreadsheet.
02Smart Data Cleaning ToolRerun-safeRerun-safe: Clean and Issues are rebuilt each run and Contacts is never modified. Schedule after a batch import and keep Issues for human review.
03Custom Spreadsheet FunctionsRerun-safeNo trigger is needed: custom formulas recalculate automatically when referenced cells change.
04External API Data ImporterNeeds human reviewRerun-safe for the data (Users is replaced), but a schedule needs an explicit spreadsheet ID, error logging and awareness of the API's rate limits.
05Automated Inventory MonitorRerun-safeDesigned for a daily trigger: Alerts is replaced each run, the trigger is installed once, and the spreadsheet ID is stored for background runs. It reports; it does not reorder anything.
06Personalized Document GeneratorCreates duplicates when rerunNot rerun-safe: every run creates new documents for every row. Add a generated-ID column or the extension's skip logic before any schedule.
07Automated PDF Invoice BuilderCreates duplicates when rerunNot rerun-safe: each run creates a new Doc and PDF per invoice. Track generated invoice IDs before scheduling.
08Meeting Minutes GeneratorCreates duplicates when rerunCreates a new document each run. Generate after a meeting is marked complete and store the report ID to avoid duplicates.
09Google Drive File ExplorerRerun-safeRerun-safe: the inventory is replaced each run. For a weekly refresh, use explicit folder and spreadsheet IDs.
10Intelligent File OrganizerNeeds human reviewSchedule the preview only; keep actual moves manual. Preview reruns reset approvals.
11Personalized Gmail Draft BuilderNeeds human reviewProcess new rows only after adding validation and locking; never schedule sending. Drafts still need human review.
12Email Analytics DashboardNeeds human reviewThe sample version is rerun-safe. A scheduled live version must use a fixed, narrow query without UI prompts and respect privacy.
13Automated Task Management SystemRerun-safeRerun-safe: Priority is replaced. The daily trigger calls updateToday() with the real date and opens the stored spreadsheet ID.
14Interactive Workspace SidebarNeeds human reviewA sidebar needs a person. For unattended intake use a form-submit trigger with the same server-side validation.
15Gemini-Powered Data ClassifierNeeds human reviewProcess only new IDs in small batches and keep a review queue. AI results always need human review.
16AI Spreadsheet Insights GeneratorNeeds human reviewRefresh commentary after metric updates, but avoid resending unchanged data and keep human review of the text.
17AI Document SummarizerCreates duplicates when rerunCreates a new summary each run. Summarize changed documents only (timestamp or hash) and keep versions.
18AI Gmail Smart Reply AssistantNeeds human reviewSchedule suggestion generation only; draft creation stays a manual, approved action.
19AI File Information ExtractorNeeds human reviewResults is replaced each run (rerun-safe), but documents are sent to Gemini each time. Process changed documents only and keep review.
20AI Business Workflow AssistantNeeds human reviewSchedule classification of new requests only; drafts require explicit approval. Report documents accumulate (one per run with new requests).
21Personal Expense and Budget TrackerRerun-safeRerun-safe: Budget is replaced. Add monthly grouping before scheduling a weekly refresh.
22Smart Meal Planner and Grocery ListRerun-safeRerun-safe. Refresh when the plan changes; keep shopping checkmarks in a separate tab.
23Personal Subscription TrackerRerun-safeRerun-safe. Add rolling renewal alerts before scheduling a monthly refresh.
24AI Email Writing AssistantNeeds human reviewKeep generation on demand; no automatic sending. Suggestions are replaced on each run.
25Personal Appointment and Reminder ManagerRerun-safeRerun-safe. Replace the fixed date with a rolling date before a daily schedule; keep calendar changes separate and approved.
26Travel Itinerary and Budget PlannerRerun-safeRerun-safe. Refresh when the itinerary changes; never schedule external bookings.
27AI Personal Study AssistantNeeds human reviewGenerate only changed topics on demand. Answers require verification against the notes.
28Household Maintenance PlannerRerun-safeRerun-safe. Use a rolling current date and daily schedule only after adding completion history.
29AI Receipt and Expense ExtractorNeeds human reviewQueue new receipts only and require review before accounting use.
30AI Weekly Personal Productivity AssistantNeeds human reviewRun weekly after filtering; keep a reviewable plan and skip unchanged inputs.

Projects marked "Creates duplicates when rerun" must not be scheduled as written. The workshop never sends email automatically, deletes files, changes sharing or books anything externally.