Inventory and merch

Tag low-stock products

Runs daily and adds a 'low-stock' tag to any product with inventory below a threshold. Removes the tag when the product is restocked.

Setup guide

Before you start

This template runs on a schedule and keeps a product tag in sync with Shopify inventory levels.

How it works

  • The workflow scans products page by page
  • If any tracked variant on a product has inventory below the configured threshold, the product gets the low-stock tag
  • If a tagged product is fully restocked, the tag is removed
  • Large catalogs and products with many variants are paginated safely

Configure in setup

  • Low-stock threshold: inventory quantity below which a product is considered low stock
  • Low-stock tag: exact Shopify product tag to add and remove

Notes

  • This uses Shopify tracked inventory quantities on variants
  • It works well for merchandising, collection rules, and operational reporting based on product tags
  • Set your preferred schedule start time and timezone when saving

Setup fields

Low-stock threshold
numberRequiredconfig

Any product with at least one tracked variant below this quantity is tagged as low stock.

Low-stock tag
textRequiredconfig

Exact Shopify product tag to add when stock is low and remove when stock recovers.