Settings

Demo data + live PayPal sandbox

The app runs in demo mode on synthetic data until these are connected. Each one is optional and adds a real capability. Values are set in the Convex dashboard and your hosting environment, never in the browser.

  • Backend (Convex)

    Stores customers, events, playbooks and audits, and receives the PayPal webhook.

    NEXT_PUBLIC_CONVEX_URL
    Connected
  • PayPal sandbox

    Real subscription events from your sandbox app.

    PAYPAL_CLIENT_ID, PAYPAL_CLIENT_SECRET, PAYPAL_WEBHOOK_ID
    Set on the server
  • Jev decisions

    Churn probability, likely cause and tone from the Jev model.

    TYPESAFE_API_KEY
    Set on the server
  • AI email drafts

    Natural-language recovery emails from OpenAI (or Claude). Templates are used without a key.

    OPENAI_API_KEY (or ANTHROPIC_API_KEY), AI_MODEL optional
    Set on the server
  • Zapier send

    Posts approved emails to your Zapier hook.

    ZAPIER_WEBHOOK_URL
    Set on the server

Setup steps are in docs/ACCOUNTS_SETUP.md in the repository.