This is a Mini CRM Platform built for learning purpose. The application enables users to ingest customer/order data, build smart customer segments, run targeted campaigns, and leverage AI to enhance campaign effectiveness.
| Layer | Tech |
|---|---|
| Frontend | Next.js, React.js |
| Backend | Node.js, Express.js |
| Database | MongoDB (Mongoose) |
| Authentication | Google OAuth 2.0 |
| Messaging Queue (Optional) | Redis Streams / Kafka |
| AI Integration | Gemini API (Google AI Studio) |
- Secure REST APIs for ingesting customers and orders.
- Postman documentation included.
- (Bonus) Supports pub-sub architecture for async DB persistence via Redis Streams.
- Build customer segments with dynamic rule builder using AND/OR logic.
- Real-time audience preview count.
- Drag-and-drop interface for UX enhancements.
- On segment creation, start a campaign:
- Store in
communication_log. - Send personalized message using a mock vendor API (~90% success rate).
- Record delivery receipt via Delivery API.
- Store in
- Users must log in with Google to access segment and campaign features.
-
✍️ Natural Language to Segment Rules
Convert human prompts like "People who spent more than ₹5,000 and inactive for 3 months" into actual filters. -
🧠 Message Suggestions
Based on campaign objective (e.g., "win back inactive users"), generate 2–3 message variants.