Your AI analytics runner that pulls data from Mixpanel, Stripe, GA4, and GSC on command.
Pulse is a script runner for your analytics stack:
- Pulls funnel data from Mixpanel
- Checks revenue and subscriptions from Stripe
- Monitors traffic from GA4 and Search Console
- Detects anomalies and alerts via Telegram
mkdir -p ~/.openclaw/agents/metrics/agent
cp SOUL.md ~/.openclaw/agents/metrics/agent/
openclaw agents add metrics --workspace ~/.openclaw/agents/metrics# Install dependencies
npm install dotenv
# Configure credentials in .env
cp .env.example .env
# Add your Mixpanel, Stripe, GA4, GSC credentialsopenclaw chat metrics "funnel today"You: "funnel today"
Pulse: [Full Mixpanel funnel with signup, query, checkout conversion rates]
You: "stripe"
Pulse: [Revenue, new subs, cancels, failed payments, MRR]
You: "traffic"
Pulse: [GA4 sessions by source, top pages, trends]
You: "full report"
Pulse: [Runs all scripts: funnel + traffic + stripe + GSC]
AI2SQL Funnel for Feb 16:
Signup Page 80u 126t
Signup Done 36u 38t (45%)
Query 37u 83t (86%)
Checkout Done 2u 2t (50%)
Overall: 80 → 2 paid (2.5%)
Revenue: $58.00
New subs: 2 | Cancels: 0
Failed: 1
MRR: $3,420
| Service | Script | Credentials |
|---|---|---|
| Mixpanel | mixpanel-funnel.cjs |
API Secret |
| Stripe | stripe-report.cjs |
Secret Key |
| GA4 | ga4-traffic.cjs |
Service Account JSON |
| GSC | gsc-report.cjs |
Service Account JSON |
- Set up heartbeat - Auto-run alert checks every hour
- Use date arguments -
funnel 2026-02-10 2026-02-16for date ranges - Keep scripts compact - Output should fit in a Telegram message (~50 char width)
- Check anomalies daily -
alert checkcatches broken funnels
- v1.0.0 - Initial release with Mixpanel and Stripe
- v1.1.0 - GA4 and GSC integration
- v1.2.0 - Anomaly detection and Telegram alerts
Created by @openclaw
MIT