Formula recipe

Shopify low stock alert with an automatic tag

One IF formula in the Tags column tags low inventory automatically. Use the low-stock tag in Shopify collections, filters and Flow.

4.9starsBuilt for Shopify
FlexSync video: Shopify low stock alert: auto-tag low inventory with Google Sheets
How it works

A tag Shopify can act on

Tags drive smart collections, storefront filters and Shopify Flow. Let your stock level set the tag.

  • Build a Last chance collection
  • Trigger a Flow reorder alert
  • Filter low stock in Shopify admin
Shopify admin · Soft Surfboard 4'6
Tagslow-stock
Available4
Updated byFlexSync ✓
Illustrative example
Copy and paste

Ready-to-use variations

Native Google Sheets formulas. Paste one in the editable column and fill down.

=IF(W2<10,"low-stock","")
Low stock

Tag anything under 10 units.

=IF(W2=0,"sold-out",IF(W2<10,"low-stock","in-stock"))
Three stock levels

One tag per product, based on stock.

=IF(W2<5,"last-chance","")
Last chance

Feed a smart collection for urgency.

Good to know

Tips before you start

01One tag per formula

Each formula writes the Tags cell. Keep any other tags you need inside the formula result.

02Use the tag in Flow

Create a Shopify Flow trigger on product tag added to send reorder alerts.

03Refresh after stock changes

Fill the Tags formula down again after updating stock.

Setup

Up and running in three steps

1

Turn on formulas

In FlexSync, open Settings, then Advanced Settings, and switch on Allow Sheet Formula.

2

Paste the formula

Add it to the first row of the editable column you want to change.

3

Fill down

Drag it down the column. FlexSync sends each result to Shopify.

New to formulas in FlexSync? Our formula guide covers setup, supported columns and plan allowances.

Read the formula guide

Frequently asked questions

Will this remove my existing tags?

The Tags cell is replaced by the formula result. Include existing tags in the formula if you need them.

Can I build a collection from this tag?

Yes. Create a smart collection with the condition Product tag is equal to low-stock.

Which stock column should I use?

Available is best. It already subtracts committed orders.

Let your formulas
run your store

Install FlexSync free, turn on Allow Sheet Formula and try this recipe on your own catalogue.

Install for Free Compare plans Free plan · 14-day free trial on paid plans