Marson Pools AI Operating System

Automates service, construction, billing, and communication across all operations
Loading...
Connecting...
How Data Moves core automation flows (live)
Photo Pipeline
Trigger: crew uploads photo to a job's Slack channel
1
Slack Bot receives the image via Slack Events API (real-time, always on)
2
Bot copies the photo to NAS at /Volumes/Construction Server/{job}/Photos from Slack/
3
Bot uploads the photo to QBO as an attachment on the matching customer record
4
Photo now lives in 3 places: Slack (original), NAS (backup), QBO (accounting)
Cash Invoice Handling
Trigger: daily at 6:00 AM (launchd)
1
Queries QBO API for invoices to cash-pay customers (^ marker in QBO display name, loaded live)
2
Exports each invoice to Excel + PDF (local archive)
3
Voids the invoice in QBO — cash customers get paper invoices only
4
Pool Brain invoice deletion is done manually by Christian (automation runs --skip-pb)
Contract → Go Live → Build
Trigger: a contract is signed and Christian tells Claude to Go Live
1
Contract Generator (web app) builds every budget and contract and saves it for Go Live
2
Go Live (Claude, terminal) creates the Slack channel + pinned spec sheet, the dashboard row, and the QBO customer + first invoice
3
Go Live also builds the NAS job folder (Work Logs + background work) and adds the job to the Milestone Payments sheet
4
From then on the Slack Bot, doc filer, triage and inspections keep the Dashboard current through construction
Health Monitoring V2
Trigger: every 15 minutes (launchd) — check count shown live above
1
Calls QBO API with live token to verify it works (not just file age). Checks token expiry math.
2
Logs into all 4 email accounts (3 Gmail + Outlook) via IMAP to verify credentials + mailbox access
3
Checks all 19 LaunchAgents loaded, always-on processes running, logs for errors + staleness
4
Pings every web app, NAS read test, Dashboard API. Posts failures to Slack #system-health, then redeploys this page
Systems 0 click to expand
Services & Automations
APIs & Integrations
Web Applications
MCP Servers (Claude AI access layer)
Health Checks 0
System Architecture
Healthy
Warning
Error
Data flow
Control / Agent
Hover nodes for details
PEOPLE + SOURCES CREWS Slack job channels · iMessage photos + texts OFFICE Christian · Nate · Lisa · Barry · Alicia CUSTOMERS + LEADS email · website form · build portal · PB pay portal VENDORS + INSPECTORS SDL inspection emails · distributor reports · AP bills AUTOMATION HOST THIS MAC · Mac mini · launchd · 24/7 19 agents, all monitored: loaded + ran on time INGEST Slack Bot always on · Socket Mode PID --- | CPU --% | MEM --% Slack photo → NAS job folder + QBO attachment + portal pick → R2 crew inspection replies → dashboard, GCal event, iMessage to inspections chat @mentions → dashboard field updates email-triage · 2h · 5a to 8p → classify, SDL intake → inspection processor :8791 inspection processor · always on → Slack + dash doc-filer · 6a / 12p / 6p → COs + layouts to NAS photo-filer · 6PM → iMessage pics to QBO, Slack channel + NAS BILLING Cash Invoice QBO export + void · 6AM daily 6AM (--skip-pb) ^ in QBO name = cash customer (live list) Excel + PDF archive · cash ledger Sheet → run report email to Christian Pool Brain delete stays by hand milestone-sweep · 6:30AM → QBO paid state → Milestone Payments sheet → email Lisa + Nate cc Christian invoice-audit · 7:30AM last weekday of month token-watchdog · 6AM → QBO OAuth refresh Pool Brain ⇄ QBO: native invoice + payment sync (PB edits win, edit in QBO) REPORTING nightly-audit · 5PM → dashboard gaps → #management (silent when clean) misroute-scan · 5AM → triage misposts fluidra-reports · quarter day 1 → 3 distributor request emails (auto send) fluidra-cycle · days 2 to 25 → file replies, reconcile vs QBO → email Nate + Christian closing-refresh · closing status pages → dormant since 10/17 by design outlook-autoreply · 5m (Graph) → please use marsonpools@gmail.com RELIABILITY Health Check 60 checks · every 15 min every 15 min writes status.json → embeds in this page → redeploys it to Cloudflare Pages failures → #system-health · CRITICAL also Resend email · DEGRADED on 2nd cycle watchdog · 5m → restarts dead agents, remounts NAS, reloads stale health check r2-backup · 2AM → Mac state tarball → R2 logrotate · 4AM secret leak probe + anon lock checks every run 90 day daily tally per check (since 5/16) SYSTEMS OF RECORD QuickBooks Online customers · invoices · payments Token: --- Pool Brain routes · jobs · service billing NAS / Synology Construction · Projects · Service ---% used Google Sheets job list · milestones · cash ledger Dashboard API Cloudflare Worker · Sheets ---ms Cloudflare Pages ×7 · KV contracts · R2 CLAUDE LAYER MCP BRIDGE — 4 FastMCP servers on this Mac give Claude read / write access to the systems of record Email MCP 4 inboxes · search · read · drafts QBO MCP customers · invoices · attachments Dashboard MCP jobs · inspections · permits Sheets MCP milestones · ledgers · allowlisted writes Claude Code (Terminal) — TC Go Live · morning briefing · PB boards · audits · fixes · deploys every business system: Mac, NAS, QBO, PB, Slack, 4 inboxes, Sheets Claude Desktop lookups · drafts · Cowork sweeps while the app is open 3 MCP servers (no Sheets MCP yet) Claude Duet (phone, claude.ai) personal Google + Stripe only cannot see Mac, NAS, QBO, Pool Brain, business mail OUTPUTS Contract Generator marson-contracts.pages.dev Construction Dashboard marson-dashboard.pages.dev Work Order Form marson-work-orders.netlify.app Build Tracker Portal marsonpools.com/portal Website marsonpools.com (Pages) Closing Status marson-closing-status.pages.dev Health Map (this) marson-system-map.pages.dev Pool Layout Tool parked · not in production MESSAGES OUT Slack: job channel posts (photos filed, inspections, spec sheets) · #management digests iMessage: inspections chat, crew autofill photo texts, management group replies Email auto sent: morning setup to Alicia + Nate · milestone signal to Lisa + Nate · cash invoice run report · Fluidra requests + reconciled report · Outlook autoreply Customer, vendor and lead email: DRAFTS only, Christian sends ALERTS TO CHRISTIAN #system-health: every failed check (CRITICAL at once, DEGRADED on the 2nd cycle) Resend email to cmarson149 on CRITICAL · SMS retired with Twilio 9/21 Slack DM: watchdog restarts, closing-refresh, milestone sweep fallback Email: cash invoice report, Fluidra holds, milestone signal (cc) This page: redeployed every 15 min with the live result 1 Mac mini · 19 launchd agents · 60 checks · 6 systems of record · 4 MCP servers · 3 Claude surfaces · 8 web surfaces · live: status driven email → triage sync Go Live · drafts · texts · briefings health → page + alerts office + sales use the Dashboard, Work Order Form and Contract Generator · customers use the Portal, Website and Pool Brain pay portal