Review Settings
5-star auto-publish · AI trainer reply · controlled via Vercel env vars
5-Star Auto-Publish
Student gives 5 stars + consent to publish → skip manual moderation, go live instantly
How to control:
Env var
AUTO_PUBLISH_FIVE_STAR- Unset / =
true→ enabled (default) - =
false→ 5-star reviews also enter manual queue
AI Trainer Reply
Auto-generate a personalized trainer reply on publish (matches student language)
SignatureMax Ng
Modelclaude-haiku-4-5
Anthropic Key✓ Configured
How to control:
ANTHROPIC_API_KEY— requiredAUTO_REPLY=falseto disableAUTO_REPLY_SIGNATURE— default Max NgANTHROPIC_MODEL— default claude-haiku-4-5
🧪 Test AI Reply
Current Workflow
📱
Student scans QR and submits review
Rating + tags + text + contact + consent to publish
↓
✨
5-star + consent → instant auto-publish
≤4 stars / no consent / contains links → manual queue
↓
🤖
AI generates personalized trainer reply
Generated from review content + student name + course + language · signed Max Ng
↓
🌐
Public display
aigc.com.my/review · with trainer reply · OG share image · course embed widget
↓
📲
Telegram notification
Auto-published 5-star reviews include AI reply preview · others use standard notification