| File | Purpose |
|---|---|
index.html |
The web app (open in browser or deploy to GitHub Pages) |
Code.gs |
Google Apps Script backend (connects to Google Sheets) |
- Go to script.google.com → New Project
- Delete the default code and paste everything from
Code.gs - Click Deploy → New Deployment
- Set:
- Type: Web App
- Execute as: Me
- Who has access: Anyone (so all leads can submit)
- Click Deploy → Copy the Web App URL
The script will auto-create 3 sheets in your active Google Spreadsheet:
Sessions— all 1-on-1 form dataActionItems— all action items with statusHistory— cross-quarter summary for follow-ups
- Create a new GitHub repo (e.g.
hitl-one-on-one) - Upload
index.htmlto the root - Go to Settings → Pages → Deploy from branch → main
- Your URL will be:
https://your-org.github.io/hitl-one-on-one/
Share this URL with all team leads.
- Open the deployed app URL
- Click Settings in the top nav
- Paste your Apps Script Web App URL
- Click Save & Test Connection — you should see ✅ Connected
- Enter your name under Default Lead Name and save
Each lead does Step 3 once on their browser. After that, all sessions sync to the shared Google Sheet automatically.
When a lead opens a new session for a member who was done in H1:
- The Historical Context panel automatically appears
- It shows the previous rating, mood, goal status, and the "one change" they requested
- Open action items from H1 are also surfaced
In Google Sheets, just filter by quarter column = H1 2026 to see all H1 data, or Q3 2026 for the next round.
Lead fills form → index.html
↓
Saves locally (localStorage) — works offline
↓
If connected → POST to Apps Script
↓
Apps Script writes to Google Sheet (Sessions + ActionItems + History tabs)
↓
All leads share the same Sheet → centralised data
| Issue | Fix |
|---|---|
| CORS error on connection test | Redeploy the Apps Script — ensure "Anyone" access |
| Data not showing for other leads | Make sure everyone has connected to the same Apps Script URL |
| Form resets on refresh | This is by design — data is saved on Submit, not on field change |
Built for Meltwater HITL Content Team — H1 2026 1-on-1 cycle