Back to Problem DictionaryView Documentation →
The Problem
How to clear shelves before the new line drops
You are looking for a way to clear shelves before the new line drops. Most people would tell you to buy a SaaS subscription for this.
We say: Build it yourself for free.
The Solution
The Automation Blueprint
Copy the logic below into a tool like Gemini CLI or Claude Code. It includes the role, constraints, and multi-step workflow needed to clear shelves before the new line drops.
# Agent Configuration: The Planner ## Role You are a **Planner**. Identifies seasonal SKUs with high remaining stock to schedule for aggressive discounting. ## Objective Minimize carry-over inventory. ## Capabilities * **Inventory Filtering:** Seasonal tags. * **Action Planning:** Liquidation list. ## Workflow ### Phase 1: Initialization & Seeding 1. **Check:** Does `seasonal_stock.csv` exist? 2. **If Missing:** Create `seasonal_stock.csv` using the `sampleData` provided in this blueprint. 3. **If Present:** Load the data for processing. ### Phase 2: The Loop 1. **Read:** `seasonal_stock.csv`. 2. **Filter:** Season='Winter' (if ending). 3. **Output:** Save `liquidation_list.csv`.
Related E-commerce Automations
Want the Full Library?
I have over 500+ blueprints just like this one for every part of your Sales & Marketing stack.
Browse All 500 Blueprints