The Low in Stock feature creates a sense of urgency to drive immediate conversions. By identifying products that interested users are close to purchasing and notifying them that stock is running out, this tool encourages quick buying decisions and helps clear remaining inventory.
Functionality
The tool analyzes current inventory levels and user interaction patterns to send highly targeted "low stock" alerts. This allows you to build campaigns that leverage the principle of scarcity to motivate hesitant buyers.
- Identifies Low-Stock Products: Scans the inventory to find products with a stock level below a predefined threshold.
- Finds High-Intent Users: Finds users who have shown significant interest in these products (e.g., multiple views, add to cart, add to favorites) but have not yet made a purchase.
- Ensures Availability: Filters to ensure that recommended products are still in stock and available for purchase.
- Prioritizes Recommendations: Recommends products by prioritizing items based on their popularity and current stock level to maximize urgency and relevance.
How it Works
- Filter by Stock Level: The system first scans the live inventory to identify all products with a stock level below the configured
stock_threshold. - Identify High-Intent Users: It then searches recent user history (within the
Activity Window) for specific interactions (as defined byUser Activity Type) with these low-stock products. It only considers users who have interacted with a product at least the minimum number of times specified byUser Activity Frequency. - Exclude Converted Users: To ensure relevance, the system filters out users who have already purchased the product within the lookback period.
- Rank and Recommend: For each eligible user, the system ranks the matching products based on popularity and how low the stock is. It then delivers the top N recommendations based on your settings.
Visualizing the Process
Configurable Parameters & Terminology
These parameters allow you to precisely target users based on inventory levels and interaction depth:
- Stock Threshold: The stock level below which a product is considered "low in stock".
- Activity Window: The number of past days to consider when evaluating a user's interaction history.
- User Activity Type: The type of user interaction to track (e.g., 'product_view', 'add_to_cart').
- User Activity Frequency: The minimum number of times a user must perform the specified activity to be considered for a recommendation.
- Number of Recommendations: The maximum number of products to recommend to a single user.
Outputs & Data Points
The system generates these key outputs to populate your campaigns:
userid: User who interacted with the product.product_id: Product identification code.sku_id: Product SKU identification code.variant_id: Product VARIANT identification code.item_name: Name of the recommended product.product_description: Description of the product.product_url: URL to product page.product_image: URL of the product image.release_date: Product release date.current_stock: The current stock level of the product.popularity_score: Popularity score of the product.rating: Rating score of the product.
Data Integration Requirements
For seamless operation, the tool integrates with the following data sources:
- User Interaction Events (Mandatory): Used to identify high-intent users based on their activity (e.g., 'PRODUCT VIEW', 'ADD_TO_CART'). The system checks these events to find users who meet the configured
User Activity Frequency. Key fields includeuserid,url, andproduct_id. - Online Order events (Mandatory): Used to filter out users who have already purchased the low-stock product, ensuring they don't receive unnecessary alerts. Key fields include
useridandproduct_id. - Inventory (Mandatory): Provides the live stock count for each product, as well as the full set of product metadata for recommendations. It is used to identify items that have fallen below the specified
Stock Threshold. Key fields includeprice,stock,product_id,sku_id,variant_id,isavailable,release_date,product_image,product_description, andproduct_url.