← Back to Hub
📈

Schedule Counter (GAS)

Google Apps Script-powered schedule analysis with automated weekly pipelines, sales forecasting, exponential smoothing, SPLH tracking, trend history, and email reminders. Runs entirely inside Google Sheets.

Google Apps Script Google Sheets Automated Pipeline Web App
This is a Google Apps Script web app. It runs inside Google Sheets via Apps Script and cannot be opened directly in a browser. Follow the setup steps below to deploy it to your Google account. An onboarding wizard walks you through initial configuration.

What It Does

Combines your HotSchedules schedule export with daily sales data to show exactly where you're overstaffed, understaffed, or on target — hour by hour, day by day. Replaces guesswork with color-coded grids, actionable insights, and automated weekly forecasts.

App Tabs

1. File Converter

Upload raw HotSchedules export, get a clean hourly CSV. Pull FOH and BOH separately.

2. Schedule Analysis

Upload CSVs + sales estimates. Get staffing grid, metrics, insights, ideal model, and manager shift view.

Trends

SPLH over time, goal distribution, weekly sales history, drill-down per week, bias flags.

Forecast

Predicted daily sales for the week you're scheduling. LWMA with outlier exclusion and trend adjustment.

Settings

SPLH goals, labor shares, sales curves, location, notifications, advanced params, trigger management.

Information

Complete documentation: tab guide, automation, data architecture, key concepts, workflow, troubleshooting.

Weekly Automation

🔻

Sunday 10:00 PM — Sync Check

Validates CFA sales data arrived in Sheet1. Alerts you if the sync failed so you can fix it before Monday.

▶️

Monday 6:00 AM — Weekly Pipeline

Archives sales, updates curves via smoothing, runs bias detection, cleans old data, rebuilds app cache.

📧

Thursday 7:00 PM — Schedule Reminder

Sends reminder email with latest schedule performance summary. Post your schedule tonight.

Setup Steps

  1. Create a new Google Sheet for Schedule Counter.
  2. Open Extensions → Apps Script and paste Code.gs.
  3. Create all HTML files: Index.html, JavaScript.html, Stylesheet.html, Onboarding.html, TrackerEmbed.html, ProductivityTracker.html.
  4. Deploy as a Web App (Deploy → New Deployment → Web App). Set access to "Anyone" or your domain.
  5. Open the web app URL — the onboarding wizard will guide you through configuration.
  6. Once set up, go to Settings → Automation → Install Triggers to enable weekly automation.
  7. If you have existing CFA sales data in Sheet1, click Backfill History then Rebuild Curves.

Sheet Tabs (Auto-Created)

These are created automatically by the onboarding wizard or initSheets().

Project Files