Leadhub Internal
?
Overview
LeadHub internal analytics and customer management
Monthly Recurring Revenue
$0
Customers
Active
Pending
Total Leads
Messages
Most Active Customers by leads
Loading…
Plan Distribution customers
Loading…
Customers by Industry
Business
Email
Plan
MRR
Leads
Messages
Status
Sales Rep
Loading…
← Back to All Customers
Loading…
Register New Customer
Fill in required fields (*) — you will confirm before saving to database.
Business Details
Sales Information
Founding 50 (optional)
Plan — Pricing from leadhubai.io
Starter
$250
per month
  • Inbox only
  • 150 leads
  • 2 team members
  • 180-day retention
Growth
$399
per month
  • Inbox + Dashboard
  • 500 leads
  • 5 team members
  • 1-year retention
Pro
$599
per month
  • Everything
  • 2,000 leads
  • 10 team members
  • 2-year retention

✓ Customer Saved — 14-Day Trial Started

Customer ID:
✓ Registered
✓ Email sent
⏱ 14-day trial
○ Agreement pending
Connection status for every customer across all channels. Green = connected, Yellow = token expiring within 7 days, Red = disconnected or expired, Gray = not set up.
Customer
SMS / WhatsApp
FB
IG
FB Token Expiry
Web Chat
Plan
Actions
Loading…
🚀 Active Trials — accepted customers in their 14-day trial
Total Trials
Active
Onboarded
Guided
Self-Service
Name
Business
Email
Location
Assigned
Source
Setup
Days
Actions
Loading trials…
Total
New
Contacted
FB / IG
SMS
Name
Email
Phone
Industry
Plan
Temp
Status
Pipeline
Date
Loading...
Name
Channel
Phone / PSID
Temp
AI Status
Pipeline
Last Message
Date
Loading...
LeadHub AI — Response Configuration
Controls how the AI responds to inbound leads on your LeadHub AI account. Does not affect other customers.
Total
New
Pending
On Hold
Closed
Customer
Subject
Status
Category
Source
Priority
Assigned
Created
Loading tickets...
🤖
Ops AI Assistant
Read-only · Claude Haiku 4.5 · Can auto-file bug tickets
Enter to send · Shift+Enter for newline
Operational alerts from across the platform — failed Facebook connections, deauth events, expired tokens, and other issues that need attention. Open the customer's record from any alert to take action; acknowledge to keep on the list, resolve to clear it.
📋 Alerts Playbook
Quick reference for triaging the Alerts page. Full source-of-truth doc in Notion → Alerts.
What status means
Open — fresh alert, nobody's looked at it yet. Acknowledge to claim it, resolve when fixed.
Acknowledged — someone's on it. Still active. Move to Resolved when the underlying issue is actually fixed.
Resolved — the issue was real and is now fixed. Kept for history.
Dismissed — false alarm or no action needed. Kept for history.
What the alert types mean
auth-user / login_* — login service slow or hung. Critical. Check Supabase status first.
monitor_* — usage spike or anomaly (AI generations, webhook flood, lead flood, spam, cost). Verify it's not a real campaign before acting.
capacity_* — runtime infra under pressure. Check the Infra Health page's Runtime canaries; consult the Capacity Playbook.
client_error_* — JS exception in inbox / dashboard / internal app. Customer email + business name are auto-enriched on the right side of the alert row — reach out proactively if it looks impactful.
meta_oauth_* / meta_deauth — Facebook/Instagram connection issue. Open the customer record from the alert to see what state they're in.
Triage workflow
  1. Look at the Active filter (Open + Acknowledged). Anything red severity goes first.
  2. Click Acknowledge on the ones you're claiming — others see you're handling them.
  3. Open the customer record (right-side button) to see context — recent activity, status, history.
  4. Take action (reconnect Meta, refund a flood, etc.). Then click Resolve.
  5. If it was a false alarm, click Dismiss instead. Both clear the row from Active.
When to use ⚡ Bulk action
Only when a known infra event flooded one alert type — e.g. a webhook misconfig that fired 200 alerts for the same root cause. Apply the type pill filter first, then click Bulk action to resolve all of them at once. Bulk action operates on whatever filter you have active — read the confirm prompt carefully.
Industry-keyed AI templates served to customers. Click an industry to view the AI instruction prompt (used by the AI assistant when replying to leads) and the three suggestion cards (shown in Lead Generation when a customer doesn't have enough lead history yet).
Industry Instruction Suggestions Customers Last edited
Industry
Self-monitor of LeadHub AI's own infrastructure. Daily check at 08:00 UTC compares key metrics against Supabase Pro-tier thresholds and alerts at 70% (warn) and 90% (critical). See the Tech Stack Scalability doc for what each threshold means.
⚡ Runtime canaries
Real-time. See Capacity Playbook for what each zone means.
Loading runtime stats…
📊 Daily capacity
Refreshed daily at 08:00 UTC by infra-metrics-cron.
📧 Alert Configuration
Where to send alerts and which channels are active. Applies to all thresholds.
🚨 Active Alerts
Un-acknowledged breaches. Click acknowledge to clear from the banner.
📋 Alert History (last 30)
Every threshold event, including already-acknowledged ones.
🧪 Test & Monitor
Run health checks, API monitor pings, and execute the workflow test suite from the terminal.
📸
Visual QA — Screenshot Tests
Captures 16 screenshots across all 3 apps to verify pages render correctly
# Run from terminal:
cd ~/code/leadhub-tests
TEST_PASSWORD=xxx INTERNAL_PASSWORD=xxx npm run test:visual
# Watch in real-time (opens Chrome):
npm run test:visual:all-headed
# Test one app only:
npm run test:visual -- --app # inbox only
npm run test:visual -- --dashboard # customer dashboard
npm run test:visual -- --internal # internal dashboard
Screenshots saved to leadhub-tests/screenshots/ with HTML report that opens automatically
🔄
Workflow Tests — Business Flow Validation
Test critical paths end-to-end. Run the specific flow you changed.
Click the card title/body to copy its command. Click ▸ What this checks to expand the full assertion list. Run from ~/code/leadhub-tests/.
Loading usage data...
Loading plan changes...
Your Customers
Earnings shown at the AE rate (40% of monthly billing for active customers).
Estimated monthly
Customer Roster
Loading…
Commission rate is the AE Y1 rate; renewal commission is 15% lifetime (computed separately at billing time). See your AE agreement for the full schedule. Numbers update as customers are added, change plan, or cancel.
Role Reference
Owner
Full access. Billing, role assignment, destructive ops.
Global Admin
All customers, all pages. Cannot manage staff or change defaults.
Basic Admin
Read/write customers. No infra, no secrets, no SQL.
Support
Read-only customers + reply-as for tickets. Time-boxed impersonation.
AE / Sales
Only own customers + own commissions. Can register + support own accounts.
Staff Members
Loading…
Activity
Loading…
Default Business Hours applied to new accounts
Customers can edit after onboarding. Uses customer's local timezone.
Plan Caps monthly limits
GenerationsDrafts
Starter
Growth
Pro
Trial & Onboarding
Branding & Sender
Flags
Toggle a flag globally, or target it to specific customers. Changes take effect within 60s.
Loading…