Operations

A live KPI command center miniapp showing MRR, DAU, churn, conversion, and anomaly alerts with sparklines

Every hour this pipeline pulls the latest revenue, usage, and product metrics from Stripe, PostHog, and your database, checks for anomalies, and rebuilds a live miniapp operations dashboard. The dashboard shows MRR, active users, churn rate, conversion funnel, and any flagged anomalies — all on one screen with trend sparklines so the ops team can spot issues before they become incidents.

How it works

TriggerRuns every hour
  1. 01
    Job

    Pull real-time operations metrics

    Query Stripe for current MRR, active subscriptions, churn rate, and yesterday's new revenue. Query PostHog for DAU, signups, and key funnel conversion rates. Pull any additional operational metrics from your database — support ticket volume, deploy frequency, error rates.
  2. 02
    Agent

    Compile metrics and flag anomalies

    Combine all metrics into a unified view. Compare each metric against its 7-day and 30-day baseline to detect anomalies — spikes, drops, or trend breaks. Write a one-line commentary for any metric that deviates more than 20% from its baseline. Prepare the full dataset as structured JSON for the dashboard.
  3. 03
    Miniapp

    Build and deploy the KPI command center miniapp

    Generate a Next.js miniapp with metric cards for MRR, DAU, churn, and conversion rate — each showing the current value, a sparkline of the last 30 days, and a delta vs. last week. Any flagged anomaly gets a warning banner with the agent's commentary. Include a time-since-last-refresh indicator and a summary alert count. Deploy to a public URL.
ResultA live KPI command center miniapp with metric cards, sparklines, anomaly alerts, and commentary