Background

Ruangguru is Indonesia’s leading educational technology company, offering a wide range of online learning services for students and professionals. During my time at Ruangguru, one of the critical business goals was to boost customer acquisition, retention, and engagement through effective promotional strategies. To achieve this, I led the design and development of a promo engine—a scalable, flexible system that could handle various discount, referral, and loyalty-based promotions.

Problem Statement

<aside> 💡

The goal was to create an automated promo engine that allowed the marketing team to define and launch promotions quickly, with real-time tracking of performance metrics.

</aside>

The previous promotional management system at Ruangguru had significant limitations:

Screenshot 2024-10-02 at 15.22.19.png

Hypothesis

Implementing a granular and product-specific promo engine tailored to each product line's unique characteristics will lead to increased sales, better user engagement, and higher conversion rates, particularly in targeted product segments.

Approach

Market Research and Competitive Analysis

To understand how other companies manage promo engines, we analyzed various competitors in the edtech and e-commerce sectors.

<aside> 💡

Key Insight: Companies with high product diversity (e.g., Amazon) tend to have more granular, product-specific promo engines, which inspired Ruangguru's approach to tailoring promotions for different product lines.

</aside>

image.png

Audience Analysis

Persona Demographics Goals Motivations Frustrations
High School Students Age: 16-18
Education: High school student
Tech-savvy, active on social media and online platforms Looking for affordable supplemental courses to aid in exam preparation (e.g., SAT, national exams).
Wants to maximize learning while staying within a limited budget (likely funded by parents). Pressure to perform well in exams and gain entry into prestigious universities.
Seeks instant feedback and guidance to improve academic performance. Overwhelmed by too many learning options, struggles with course affordability.
Finds it hard to know which course provides the best value.
Parents Age: 35-45
Occupation: Middle-income professional
Has children in high school or middle school Wants to ensure their child receives the best education possible.
Seeking affordable, high-value educational packages that cover multiple subjects. Long-term investment in their child's academic success.
Interest in comprehensive educational plans that can benefit their child’s future. Difficulty evaluating which packages are the most beneficial.
Concerned about the high cost of quality education.
Professional Age: 25-35
Occupation: Entry-to-mid-level professional in a corporate role. Looking to upskill and advance career prospects through certifications or professional courses.
Prefers flexible, time-efficient learning with the option for certifications that enhance career growth. Career advancement, better job prospects, or shifting industries.
Needs competitive edge through continuous learning. Hard to find promotions for relevant professional development courses.
Courses are often too expensive or time-consuming.

image.png

Design and Technical Architecture

graph TD
    A[Client] --> B[API Gateway]
    B --> C[Promo Creation Service]
    B --> D[Rule Engine Service]
    B --> E[Promo Application Service]
    B --> F[Analytics and Reporting Service]
    B --> G[User Segmentation Service]
    B --> H[Product Catalog Service]

    C --> I[(Promo DB)]
    D --> J[(Rule DB)]
    E --> K[(Transaction DB)]
    F --> L[(Analytics DB)]
    G --> M[(User DB)]
    H --> N[(Product DB)]

    O[Admin Dashboard] --> B

    P[Message Queue] --> C
    P --> D
    P --> E
    P --> F
    P --> G
    P --> H

    subgraph Data Stores
        I
        J
        K
        L
        M
        N
    end

    subgraph Core Services
        C
        D
        E
        F
        G
        H
    end
Component Job
Promo Creation Services Handles creation, modification, and deletion of promotions
Manages promo metadata, validity periods, and associations with products/courses
Rule Engine Services Implements the core logic for evaluating promotion eligibility
Supports complex rule combinations (AND, OR, NOT operations)
Handles rule prioritization and conflict resolution
Promo Application Services Applies eligible promotions to user carts or purchases
Manages promo stacking and calculates final discounts
Analytics and Reporting Service Tracks promotion performance in real-time
Provides A/B testing capabilities
Generates reports and insights for the marketing team
User Segmentation Services Manages user profiles and attributes
Provides APIs for targeting specific user segments with promotions
Product Catalog Services Maintains information about Ruangguru's products and courses
Provides APIs for product-specific promotion applications
Admin Dashboard Front End User-friendly interface for marketing team to manage promotions
Visualizations for promotion performance and analytics

Challenges

Feature Prioritization & MVP Definitions

<aside> 💡

MVP Features:

  1. Promo engine for specific products (e.g., course-based or bundle-based).
  2. User segmentation to ensure personalized promos.
  3. Rules engine for granularity in conditions (eligibility, timing, etc.).
  4. Backend dashboard for marketing to launch and adjust promotions.

Solution Explored

Option Description Pros Cons Considerations
Third-party tool Use external promo management tools (e.g., Shopify) Fast implementation, industry-tested Limited customization, high costs Short-term solution, quicker to launch, but limited flexibility for the level of granularity required.
Custom Engine Build from scratch tailored to Ruangguru’s needs Full control, flexibility in design Longer development time, resource-intensive Aligned with Ruangguru’s needs for product-specific, highly granular promotions, long-term scalability.

Solution Implemented