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)
ConnectedStores customers, events, playbooks and audits, and receives the PayPal webhook.
NEXT_PUBLIC_CONVEX_URLPayPal sandbox
Set on the serverReal subscription events from your sandbox app.
PAYPAL_CLIENT_ID, PAYPAL_CLIENT_SECRET, PAYPAL_WEBHOOK_IDJev decisions
Set on the serverChurn probability, likely cause and tone from the Jev model.
TYPESAFE_API_KEYAI email drafts
Set on the serverNatural-language recovery emails from OpenAI (or Claude). Templates are used without a key.
OPENAI_API_KEY (or ANTHROPIC_API_KEY), AI_MODEL optionalZapier send
Set on the serverPosts approved emails to your Zapier hook.
ZAPIER_WEBHOOK_URL
Setup steps are in docs/ACCOUNTS_SETUP.md in the repository.