Settings
Configuration and actions
Problem Clustering
Regenerate problem clusters from all extracted problems using cosine similarity on embeddings. This will delete existing clusters and create new ones, then enrich them with AI-generated summaries.
Mailgun Webhook
Configure Mailgun to forward newsletters to this app automatically.
Webhook URL
POST https://<your-domain>/api/webhooks/mailgun Setup Steps
- Go to Mailgun Dashboard → Receiving → Create Route
- Set match expression (e.g.
match_recipient("newsletters@yourdomain.com")) - Set action: forward to the webhook URL above
- Copy your Webhook Signing Key into
MAILGUN_WEBHOOK_SIGNING_KEYenv var
Environment Variables
Required environment variables (set in .env):
OPENAI_API_KEYGPT-4o analysis + embeddingsDATABASE_URLPostgreSQL connectionMAILGUN_WEBHOOK_SIGNING_KEYWebhook verification