Sarah β€” Web Maintenance & Support

End-to-end automation from email intake to resolution

$0.007
Per Ticket Cost
7,000x
ROI vs Manual
6
Stages
3/6
Stages Live
βœ… Live
πŸ“§

Email Detection & Client Lookup

Client emails support@ven.com.au

Stage 1
Sarah Classifier (Haiku)

Click to expand details

What Happens

  • Gmail Pub/Sub detects email (~5 second latency)
  • Webhook fires [GMAIL_ALERT] to Sarah
  • Sarah spawns Classifier sub-agent (Haiku)
  • Classifies as SUPPORT_TICKET / SPAM / NOT_SUPPORT
  • If support: CRM lookup to match sender to client record
  • Creates state file for tracking
βœ… Live
πŸ””

Notification & Approval

Email classified as support ticket

Stage 2
Sarah β†’ Steve (Telegram)
Steve approves via Telegram buttons

Click to expand details

Human-in-the-Loop Checkpoint

  • Sarah formats Telegram message for Steve
  • Includes: client name + tier, sender, subject, issue summary
  • Inline buttons: βœ… Approve | ⏸️ Hold | 🚨 Escalate
  • Steve taps a button β†’ proceeds accordingly
βœ… Live
βœ…

Task Creation & Ticket Assignment

Steve tapped Approve or Escalate

Stage 3
Sarah Triage (Haiku)

Click to expand details

What Happens

  • Sarah spawns Triage sub-agent (Haiku)
  • Creates ClickUp task in client's maintenance list
  • Generates sequential VEN-XXXXX ticket number
  • Links to central Support Tickets list (multi-list)
  • Sets priority based on client tier + escalation
  • Posts confirmation to Steve
🚧 In Progress
πŸ”

Auto-Diagnosis

Task created successfully

Stage 4
Sarah Diagnosis (Sonnet) Codebase Search (Haiku)
Steve approves fix with βœ… Fix or ⏭️ Skip buttons

Click to expand details

Automated Investigation

  • Sarah spawns Diagnosis sub-agent (Sonnet)
  • Automated checks: HTTP status, SSL, DNS, page speed, error logs
  • SSH into server to check PHP/server errors
  • If needed: spawns Codebase Search sub-agent (Haiku) to find relevant files
  • Returns structured report: root cause, affected files, recommended fix, severity
  • Posts diagnosis as ClickUp comment
  • Sends Steve summary with: βœ… Fix button | ⏭️ Skip button
πŸ”œ To Do
πŸ”§

Fix Implementation & Staging

Steve tapped Fix

Stage 5
Sarah Fix (Sonnet, 10 min timeout)
Steve approves with πŸš€ Deploy or ❌ Reject buttons

Click to expand details

Code Implementation

  • Sarah spawns Fix sub-agent (Sonnet, 10 min timeout)
  • SSHs into client server via RunCloud API
  • Implements code fix based on diagnosis
  • Creates git commit with descriptive message
  • Deploys to staging environment
  • Runs smoke tests (page loads, key functionality)
  • Posts ClickUp comment with: files changed, staging URL, test results
  • Sends Steve: what changed, staging URL, πŸš€ Deploy button | ❌ Reject button
πŸ”œ To Do
πŸš€

Production Deploy & Client Resolution

Steve tapped Deploy

Stage 6
Sarah Deploy (Haiku) Comms (Sonnet)
Steve approves email with πŸ“§ Send or ⏭️ Skip buttons

Click to expand details

Go Live & Client Communication

  • Sarah spawns Deploy sub-agent (Haiku) β€” pushes to production, monitors 5 mins
  • Sarah spawns Comms sub-agent (Sonnet) β€” drafts resolution email (3-4 sentences, British English)
  • Sends Steve email preview with: πŸ“§ Send button | ⏭️ Skip button
  • 15-minute minimum delay before client email sent
  • Updates ClickUp task to Complete
  • Ticket closed βœ