Inventory
💎 Built for Sidekick
⚡ Sidekick does this for you
shopify
sidekick
inventory
flow
automation
Low-Stock Auto-Tag Flow Automation
Build a Shopify Flow that automatically tags a product 'Low Stock' when inventory drops below a threshold, and removes the tag once restocked, for storefront merchandising.
📋 Prompt
Build a Shopify Flow automation that tags products as low stock automatically, so I can show a “low stock” badge or filter for it on my storefront without checking manually. Trigger: Inventory quantity changed, for products in [COLLECTION_OR_ALL_PRODUCTS]. Condition: Available inventory across all locations is less than or equal to [LOW_STOCK_THRESHOLD] units. Action when condition is met: Add tag [LOW_STOCK_TAG] to the product. Second flow — reverse condition: Trigger: Inventory quantity changed. Condition: Available inventory is greater than [LOW_STOCK_THRESHOLD] units AND the product currently has tag [LOW_STOCK_TAG]. Action: Remove tag [LOW_STOCK_TAG]. Before building: Confirm these two flows won’t conflict or loop against each other. Show me a preview of the flow logic in plain language. Tell me how many products currently qualify for the tag right away, so I know the expected initial impact. Ask for my confirmation before activating. After I confirm, publish both flows and apply the tag to any currently-qualifying products so the storefront reflects reality immediately, not just going forward.
How to Use
- Copy the prompt above
- Open Shopify Sidekick in your Shopify admin
- Paste the prompt and replace the bracketed placeholders with your details
- Review Sidekick's response and apply the suggestions