Creem Store Agent

Automation

AI-powered Creem store monitor — alerts, churn analysis, autonomous actions via Telegram

Install

openclaw skills install creem-store-agent

Creem Store Agent

AI-powered monitoring for your Creem store. Sends real-time Telegram alerts for sales, subscriptions, disputes, and refunds. Uses Claude AI to analyze churn events and autonomously recommend retention actions.

Commands

  • /creem-status — Check store connection and webhook status
  • /creem-report — Daily revenue summary (MRR, churn, new sales)

Features

  • Real-time alerts: Formatted Telegram notifications for all Creem events
  • AI churn analysis: Claude Haiku analyzes cancellations and recommends retention actions
  • Autonomous actions: Create retention discounts or pause subscriptions via inline buttons
  • Event deduplication: Handles Creem webhook retries gracefully
  • HMAC verification: Validates webhook signatures for security

Setup

  1. Install: clawhub install creem-store-agent
  2. Set environment variables (see .env.example)
  3. Expose webhook URL: ngrok http 3000 (development)
  4. Register webhook in Creem dashboard: https://your-ngrok-url.ngrok.io/webhook/creem

Environment Variables

VariableDescription
CREEM_API_KEYCreem API key (test: creem_test_xxx)
CREEM_WEBHOOK_SECRETWebhook signing secret from Creem dashboard
TELEGRAM_BOT_TOKENTelegram bot token from @BotFather
TELEGRAM_CHAT_IDTelegram chat ID for notifications
ANTHROPIC_API_KEYAnthropic API key for Claude Haiku