Demo — no cloud connection. Data is saved only in this computer’s browser (it stays after a refresh). The real version writes to a Google spreadsheet, so everyone sees the same copy.
🔗 Connect the “Lab Scheduler” spreadsheet
📍 You are on: the scheduler page → linked to the “Lab Scheduler” spreadsheet (YOUR_SPREADSHEET_ID)
The knowledge base page uses a separate connection; please use Code.gs.
Select all in the editor and delete → paste the Code.gs full contents → Ctrl+S to save
3
Top right: “Deploy” → “New deployment” (gear → Web app) ⚠️ Important settings:
Type: Web app
Execute as: Me (your Gmail)
Who has access: Anyone (not “Anyone with Google account”)
4
Click “Deploy” → an authorization window appears the first time → allow all permissions → copy the “Web app URL” shown (.../exec at the end)
5
URL — paste it into the field below → click “✓ Save & connect” → when you see ✅ Connected, you’re done
✅ Once connected: two-way sync of staff and workflows · confirmed schedules are written to monthly tabs · one-click visual calendar tab
🌐 Public hosting tips:
This page can be hosted on static site services such as Zeabur, Netlify, Vercel, or GitHub Pages
Once GAS access is set to “Anyone”, anyone who opens this page can edit the schedule
The URL is saved in each person’s own browser, so each person must paste the URL themselves
To let all users share one connection, edit the DEFAULT_GAS_URL variable at the top of the HTML code; then everyone connects automatically
❌ Common errors:
Unknown action → GAS version not updated: Deploy → Manage deployments → ✏️ → Version: “New version” → Deploy
HTTP 401/403 → Access was not set to “Anyone” when deploying; deploy again
HTTP 0 or fetch failed → wrong URL, or GAS is not deployed yet
January 2026
👋First time? Just 3 steps: ① Check the staff list / long leave in “👤 Staff” → ② Click “⚡ Auto-schedule” → ③ Review, then click “✅ Confirm → Save”. For daily changes, drag cards on the calendar or click a name to swap people.
Alex 0Bea 0Cody 0Dana 0Evan 0Faye 0
💡 How toClick card = change person / deleteDrag card = change dateClick name = swap person+ Add experiment🎨 Same experiment, same color Prep Experiment 1 Experiment 2 Experiment 3 Experiment 4 Experiment 5 Experiment 6–8 Report() = assisting or training (added manually)
Add manually:Or click “+ Add experiment” in a calendar cell
Mon
Tue
Wed
Thu
Fri
Sat
Sun
29
30
31
1Off
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
1
👤 Staff management
Lv3 Level 3Alex
Mon–FriLevel 3 lead for NGS/Experiment 4Max 22 days
Can run 7 experiments · can also do Lv3 and lower tasks
· Brackets = recurring weekdays
24 experiments · total time 99.0h (one run each)
· Non-NGS 10 items/52.5h
· NGS 9 items/35.5h
· Experiment 9 3 items/6.0h
· Other 2 items/5.0h
💡 Click a node to edit · Drag a node to move it · Drag the right-side dot to another node to add a dependency · Click an arrow to remove a dependency
▶ Entry
Sample intake
Lv12hEvery 1 day6 people
🤝 Prep group
Prep 1
Lv12h6 peoplePrereq 1
🤝 Prep group
Prep 2
Lv12.5hEvery 1 day6 peoplePrereq 1
Prep 3
Lv12h6 peoplePrereq 1
Experiment 1 Day1
Lv28h5 peoplePrereq 2
Experiment 1 Day2
Lv210h5 peoplePrereq 1
Experiment 1 Day3
Lv25h5 peoplePrereq 1
Experiment 1 Day4
Lv26h5 peoplePrereq 1
Experiment 2 Day1
Lv27h5 peoplePrereq 2
Experiment 2 Day2
Lv25h5 peoplePrereq 1
Experiment 3 Day1
Lv23h5 peoplePrereq 2
Experiment 3 Day2
Lv24h5 peoplePrereq 1
Experiment 5
Lv37h4 peoplePrereq 1
🤝 library group
Experiment 6
Lv32.5h4 peoplePrereq 1
🤝 library group
Experiment 7
Lv34.5h4 peoplePrereq 1
🤝 library group
Experiment 8
Lv32h4 peoplePrereq 2
Experiment 9 Day2
Lv31.5h4 peoplePrereq 1
Experiment 9 Day1
Lv32h4 peoplePrereq 1
Experiment 4 Day1
Lv38h4 peoplePrereq 1
Experiment 4 Day2
Lv35h4 peoplePrereq 1
⚙ Bottleneck
Sequencer run
Lv31h4 peoplePrereq 2
🤝 Report group
Report 1
Lv33h4 peoplePrereq 1
🤝 Report group
Report 2
Lv33h4 peoplePrereq 1
Lab duty
Lv13h6 people
⠿
Lv1Other⏱ 2hOtherSample intake
🔄 Every 1 day👥 Needs 1 personCan run: Alex, Cody, Dana, Evan, FayeSingle entry point, daily routine
⠿
Lv1NGS⏱ 2hDNAPrep 1
📌 As needed👥 Needs 1 person↳ Prereq: Sample intakeCan run: Alex, Cody, Dana, Evan, FayeInstrument B automated prep · same person can also do Prep 2
⠿
Lv1Non-NGS⏱ 2.5hDNAPrep 2
📌 As needed👥 Needs 1 person↳ Prereq: Sample intakeCan run: Alex, Cody, Dana, Evan, FayeInstrument B automated prep · same person can also do Prep 1
⠿
Lv1Non-NGS⏱ 2hDNAPrep 3
📌 As needed👥 Needs 1 person↳ Prereq: Sample intakeCan run: Alex, Cody, Dana, Evan, FayeManual prep · special samples
⠿
Lv2Non-NGS⏱ 8hPurificationExperiment 1 Day1
📌 As needed👥 Needs 1 person↳ Prereq: Prep 2→Prep 3Can run: Alex, Cody, Dana, EvanPrereq: Prep 2 or Prep 3 · PCR + purification
⠿
Lv2Non-NGS⏱ 10hPurificationExperiment 1 Day2
📌 As needed👥 Needs 1 person↳ Prereq: Experiment 1 Day1Can run: Alex, Cody, Dana, EvanSequencing PCR + denature
⠿
Lv2Non-NGS⏱ 5hSequencingExperiment 1 Day3
📌 As needed👥 Needs 1 person↳ Prereq: Experiment 1 Day2Can run: Alex, Cody, Dana, EvanSequencing run
⠿
Lv2Non-NGS⏱ 6hReportExperiment 1 Day4
📌 As needed👥 Needs 1 person↳ Prereq: Experiment 1 Day3Can run: Alex, Cody, Dana, EvanIssue report (4 days in total)
⠿
Lv2Non-NGS⏱ 7hAmplificationExperiment 2 Day1
📌 As needed👥 Needs 1 person↳ Prereq: Prep 2→Prep 3Can run: Alex, Cody, Dana, EvanPrereq: Prep 2 or Prep 3 · PCR + Fragment analysis
⠿
Lv2Non-NGS⏱ 5hReportExperiment 2 Day2
📌 As needed👥 Needs 1 person↳ Prereq: Experiment 2 Day1Can run: Alex, Cody, Dana, EvanIssue report
⠿
Lv2Non-NGS⏱ 3hAmplificationExperiment 3 Day1
📌 As needed👥 Needs 1 person↳ Prereq: Prep 2→Prep 3Can run: Alex, Cody, Dana, EvanPrereq: Prep 2 or Prep 3 · qPCR
⠿
Lv2Non-NGS⏱ 4hReportExperiment 3 Day2
📌 As needed👥 Needs 1 person↳ Prereq: Experiment 3 Day1Can run: Alex, Cody, Dana, EvanIssue report
⠿
Lv3NGS⏱ 7hNGSExperiment 5
📌 As needed👥 Needs 1 person↳ Prereq: Prep 1Can run: Alex, Cody, DanaGoes straight to the NGS run
⠿
Lv3Experiment 9⏱ 2.5hAmplificationExperiment 6
📌 As needed👥 Needs 1 person↳ Prereq: Experiment 9 Day2Can run: Alex, Cody, DanaPrereq: Experiment 9 concentration result · ★ same person can do Experiment 7 / cleanup
⠿
Lv3NGS⏱ 4.5hNGSExperiment 7
📌 As needed👥 Needs 1 person↳ Prereq: Prep 1Can run: Alex, Cody, DanaPrereq: Prep 1 · ★ same person can do Experiment 6 / cleanup
⠿
Lv3NGS⏱ 2hPurificationExperiment 8
📌 As needed👥 Needs 1 person↳ Prereq: Experiment 6→Experiment 7Can run: Alex, Cody, DanaPrereq: Experiment 6/Experiment 7 · ★ same person can do the library steps
📌 As needed👥 Needs 1 person↳ Prereq: Experiment 5→Experiment 8Can run: Alex, Cody, DanaThree lines merge: run as soon as Experiment 5 or Experiment 8 is done
⠿
Lv3NGS⏱ 3hReportReport 1
📌 As needed👥 Needs 1 person↳ Prereq: Sequencer runCan run: Alex, Bea, Cody, Dana★ Same person can also do Report 2
⠿
Lv3NGS⏱ 3hReportReport 2
📌 As needed👥 Needs 1 person↳ Prereq: Sequencer runCan run: Alex, Bea, Cody, Dana★ Same person can also do NGS interpretation
⠿
Lv1Other⏱ 3hOtherLab duty
📌 As needed👥 Needs 1 personCan run: Alex, Cody, Dana, Evan, FayeWater prep, sterilizing, restocking supplies
⚙️ Scheduling rules
📅 Shift settings
⚠️ The three fields below (Weekday / Weekend / Emergency staff) are for reference only and do not affect auto-scheduling. Actual shifts come from each person’s “Shift” field in “👤 Staff”. (The “Daily limit” field does take effect.)
🗓 Holidays (sample: Taiwan 2026, replace with your own)
Format: YYYY-MM-DD, comma-separated
🔬 Instruments (shared equipment)
Shared instruments are a hidden limit on scheduling. Once an experiment is assigned to an instrument in “🧬 Workflows”: on down days (maintenance/breakdown), auto-schedule will not book that instrument’s experiments. If batches on one instrument exceed its capacity on the same day, you get a warning in “📊 Workload → Potential conflicts” (a warning, not a block).
💡 For example, when Instrument A broke down last week, you would just add that day to its downtime list here, and re-scheduling avoids it automatically.
🔄 Recurring experiments
Set which experiments run on fixed weekdays each week. Auto-schedule plans these first. How to use: Pick an existing experiment from the list → check the weekdays. To create a brand-new experiment, click “+ Add experiment” below.
Items marked 🔗 are a continuous chain (once Day1 is booked, the following days are added automatically), 🔄 means rotate evenly, ⭐ means special rule. The system handles these during auto-scheduling.
Lv12hWeekly
Lv12hWeekly
🤖 Instrument B automated prep
Lv12.5hWeekly
🤖 Instrument B automated prep
Lv12hWeekly
Lv37hWeekly
Lv32hWeekly
🔄 Experiment 9 Day1: auto-rotated evenly among Alex/Cody/Dana
Lv32hWeekly
Lv32.5hWeekly
Lv34.5hWeekly
Lv31.5hWeekly
Lv31hWeekly
Lv27hWeekly
🔗 Experiment 2 Day1, followed by Day2 the next day
Lv25hWeekly
Lv23hWeekly
🔗 Experiment 3 Day1, Day2 auto-added the next day
Lv24hWeekly
Lv28hWeekly
🔗 Starts with Experiment 1 Day1; D2/D3/D4 follow automatically, one per day (moved past holidays)
Lv38hWeekly
🔗 Experiment 4 Day1, Day2 auto-added the next day
Lv33hWeekly
Lv33hWeekly
Lv13hWeekly
⭐ Lab duty: auto-set on the last workday of each week (moves earlier for holidays)
🆕 Add experiment (added to scheduling rules automatically; default Mon–Fri)
📊 Workload · Hours board · Staffing plan
📅 View month:
📊Tasks per person this month
⚠️ Possible conflicts
📅 Daily hours (per person × per day + monthly total)
Each cell = that person’s total hours for the day (sum of all experiment hours); the far-right “Monthly total” = that person’s total hours this month
≤ 4h Light
4–8h Normal
8–12h Overtime
> 12h Violates labor law
⚠️ Bottleneck warnings and tips
🎯 What-if simulator: enter expected case counts for a future month
Based on each experiment’s “Required level”, “Estimated hours” and “Workflow chain”, the system works out the hours needed, checks them against current staff capacity, and suggests how to expand.
Want to simulate “a new item not yet in the experiment list”? Click “🆕 Add hypothetical experiment” below to enter name/Lv/hours. It is used only in the What-if estimate and is not added to the main list.
Higher in the list = assigned to this person first when auto-scheduling.
💡 Experiments in the same group always go to the same person: (Prep 1 + DNA) / (Experiment 9 lib + Experiment 7 lib + Experiment 8) / (NGS review + Report 2)
Check the assays this person “owns”. Auto-scheduling will always try first to assign them to the owner. Only when the owner is on leave or long leave, or already full that day (would exceed the §32 12h limit), are they handed to another qualified colleague.
💡 For new staff, leave this unchecked and come back once they are trained. Empty = no binding; tasks are assigned by normal load balancing.
For new staff or trainees: when checked, this person can only do items in the “Allowed experiments” list above, even if their level is high enough.
For absences of several months or more (long leave, unpaid leave). When checked, auto-scheduling never assigns this person. Their data is kept, so just uncheck it when they return. For short leave, use “🏖 Log leave” instead.
Example: someone starts long leave on 7/1 → set Start date to 2026-07-01. June is scheduled as usual and they become inactive from 7/1, with no manual switch between months.
Once set, this experiment is not scheduled on maintenance/breakdown days marked in “⚙️ Scheduling rules → 🔬 Instruments”. If batches on the same instrument on the same day exceed capacity, it shows in the conflict list.
Step-level capacity, regardless of instrument: e.g. “Sequencer run” at most 2 times a day, or a library at most 3 batches a day. Going over only shows a reminder in “📊 Workload → Possible conflicts”; it is not blocked. Tasks in parentheses (helping/observing) are not counted.
Must finish first:
Must finish first:
🏖 Log leave / time off
📋 Leave this month
📜 Backup history and restore
Each time you click “✅ Confirm schedule”, the system first auto-backs up the master schedule, keeping the latest 10.
Backups are stored in the Google Sheet (hidden tabs named _backup_timestamp). Click “↻ Restore” below to go back to that point.
⚠️ Schedule warning
💡 Suggested replacement
Choose staff
🟡 Orange = not qualified 🔴 Red = on leave (can still force-select)
✅ Synced staff and experiment workflows from Sheets
Demo: all data is made up, and nothing connects to outside services.Back to home