KPI Monitoring with OpenClaw

TL;DR: Identify KPI sources, create prompts to fetch metrics, set up alerts, and schedule reports. Get notified when metrics cross thresholds.

Applies to: Windows, macOS, Linux
Audience: Power users, developers, security-conscious, enterprise
Last updated: 2026-02-23

power-user productivity automation kpi

Table of contents

  1. Identify KPI Sources
  2. Create KPI Prompts
  3. Set Up Alerts
  4. Schedule Reports
  5. Example KPIs
  6. Next Steps
  7. FAQ

Identify KPI Sources

Common KPI sources:

Create KPI Prompts

Create ~/.openclaw/workspace/prompts/kpi-revenue.md:

# Revenue KPI Check
Fetch today's revenue from Stripe dashboard.
Compare to yesterday and last week.
Highlight any drop >10%.
Include MRR and new subscriptions.

Set Up Alerts

Create ~/.openclaw/workspace/prompts/kpi-alerts.md:

# KPI Alert Rules
Alert if:
- Revenue drops >10% day-over-day
- Traffic drops >20% week-over-week
- Error rate >5%
- New users <10 per day

Send alerts to Slack and Telegram immediately.

Schedule Reports

Add to ~/.openclaw/openclaw.json:

{
  "automation": {
    "cron": {
      "kpi-daily": {
        "schedule": "0 9 * * *",
        "prompt": "file:prompts/kpi-revenue.md",
        "target": "slack"
      },
      "kpi-alerts": {
        "schedule": "*/15 * * * *",
        "prompt": "file:prompts/kpi-alerts.md",
        "target": ["slack", "telegram"]
      }
    }
  }
}

Example KPIs

Revenue Monitoring

Check Stripe dashboard for today's revenue.
Compare to target of $1,000/day.
Send alert if below $800.

Website Traffic

Fetch Google Analytics real-time users.
Alert if <100 during business hours.

GitHub Activity

List open issues and PRs.
Flag any PRs older than 7 days.

Next Steps

FAQ

Q: Can OpenClaw access password-protected dashboards?
A: Yes, but store credentials securely. Use environment variables.

Q: How do I handle API rate limits?
A: Use caching and respect rate limits. Schedule checks accordingly.

Q: Can I create visual dashboards?
A: OpenClaw can capture screenshots and send them, but doesn't build dashboards.

Q: What if a dashboard is down?
A: Configure fallback alerts and retry logic.

Recommended next

Server Monitoring