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)andonEdit(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
eparameter 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
LockServicestops 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
| Project | Title | Status | Before scheduling |
|---|---|---|---|
| 01 | Automated Sales Dashboard | Rerun-safe | Rerun-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. |
| 02 | Smart Data Cleaning Tool | Rerun-safe | Rerun-safe: Clean and Issues are rebuilt each run and Contacts is never modified. Schedule after a batch import and keep Issues for human review. |
| 03 | Custom Spreadsheet Functions | Rerun-safe | No trigger is needed: custom formulas recalculate automatically when referenced cells change. |
| 04 | External API Data Importer | Needs human review | Rerun-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. |
| 05 | Automated Inventory Monitor | Rerun-safe | Designed 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. |
| 06 | Personalized Document Generator | Creates duplicates when rerun | Not rerun-safe: every run creates new documents for every row. Add a generated-ID column or the extension's skip logic before any schedule. |
| 07 | Automated PDF Invoice Builder | Creates duplicates when rerun | Not rerun-safe: each run creates a new Doc and PDF per invoice. Track generated invoice IDs before scheduling. |
| 08 | Meeting Minutes Generator | Creates duplicates when rerun | Creates a new document each run. Generate after a meeting is marked complete and store the report ID to avoid duplicates. |
| 09 | Google Drive File Explorer | Rerun-safe | Rerun-safe: the inventory is replaced each run. For a weekly refresh, use explicit folder and spreadsheet IDs. |
| 10 | Intelligent File Organizer | Needs human review | Schedule the preview only; keep actual moves manual. Preview reruns reset approvals. |
| 11 | Personalized Gmail Draft Builder | Needs human review | Process new rows only after adding validation and locking; never schedule sending. Drafts still need human review. |
| 12 | Email Analytics Dashboard | Needs human review | The sample version is rerun-safe. A scheduled live version must use a fixed, narrow query without UI prompts and respect privacy. |
| 13 | Automated Task Management System | Rerun-safe | Rerun-safe: Priority is replaced. The daily trigger calls updateToday() with the real date and opens the stored spreadsheet ID. |
| 14 | Interactive Workspace Sidebar | Needs human review | A sidebar needs a person. For unattended intake use a form-submit trigger with the same server-side validation. |
| 15 | Gemini-Powered Data Classifier | Needs human review | Process only new IDs in small batches and keep a review queue. AI results always need human review. |
| 16 | AI Spreadsheet Insights Generator | Needs human review | Refresh commentary after metric updates, but avoid resending unchanged data and keep human review of the text. |
| 17 | AI Document Summarizer | Creates duplicates when rerun | Creates a new summary each run. Summarize changed documents only (timestamp or hash) and keep versions. |
| 18 | AI Gmail Smart Reply Assistant | Needs human review | Schedule suggestion generation only; draft creation stays a manual, approved action. |
| 19 | AI File Information Extractor | Needs human review | Results is replaced each run (rerun-safe), but documents are sent to Gemini each time. Process changed documents only and keep review. |
| 20 | AI Business Workflow Assistant | Needs human review | Schedule classification of new requests only; drafts require explicit approval. Report documents accumulate (one per run with new requests). |
| 21 | Personal Expense and Budget Tracker | Rerun-safe | Rerun-safe: Budget is replaced. Add monthly grouping before scheduling a weekly refresh. |
| 22 | Smart Meal Planner and Grocery List | Rerun-safe | Rerun-safe. Refresh when the plan changes; keep shopping checkmarks in a separate tab. |
| 23 | Personal Subscription Tracker | Rerun-safe | Rerun-safe. Add rolling renewal alerts before scheduling a monthly refresh. |
| 24 | AI Email Writing Assistant | Needs human review | Keep generation on demand; no automatic sending. Suggestions are replaced on each run. |
| 25 | Personal Appointment and Reminder Manager | Rerun-safe | Rerun-safe. Replace the fixed date with a rolling date before a daily schedule; keep calendar changes separate and approved. |
| 26 | Travel Itinerary and Budget Planner | Rerun-safe | Rerun-safe. Refresh when the itinerary changes; never schedule external bookings. |
| 27 | AI Personal Study Assistant | Needs human review | Generate only changed topics on demand. Answers require verification against the notes. |
| 28 | Household Maintenance Planner | Rerun-safe | Rerun-safe. Use a rolling current date and daily schedule only after adding completion history. |
| 29 | AI Receipt and Expense Extractor | Needs human review | Queue new receipts only and require review before accounting use. |
| 30 | AI Weekly Personal Productivity Assistant | Needs human review | Run 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.