Sync Inventory Across Products That Share a SKU

6 min setup
No coding required
Runs automatically

Selling the same item in several listings, like a bundle, a color-sorted collection or a wholesale version, means one stock count split across products that share a SKU. This workflow keeps them in step: when one variant's inventory changes, every other variant with the same SKU is set to the same quantity.

Shopify logo icon
A variant's stock changes in Shopify
Shopify logo icon
Look up the variant and its SKU
Shopify logo icon
Find other variants with the same SKU
Shopify logo icon
Set the matching variant to the same quantity in Shopify

How it works

6 steps to keep duplicate listings of the same item on one stock count

Shopify logo icon

A variant's stock changes in Shopify

App connector: Shopify • Time to complete: 1 minute

Runs when an inventory level changes at a location.

Shopify logo icon

Look up the variant and its SKU

App connector: Shopify • Time to complete: 1 minute

Get the variant, product and SKU for the inventory item that changed. Stop if the SKU is blank.

Shopify logo icon

Find other variants with the same SKU

App connector: Shopify • Time to complete: 1 minute

Run a productVariants query for sku:<the SKU>, returning each variant's ID, inventory item ID and current quantity at the same location.

Go through each matching variant

App connector: Loop • Time to complete: 1 minute

Loop over the variants that were found.

Skip variants already at the new quantity

App connector: Filter • Time to complete: 1 minute

Continue only for variants other than the one that changed whose quantity differs from the new level. This is the retrigger guard: the updates this workflow makes trigger it again, and this filter stops them there.

Shopify logo icon

Set the matching variant to the same quantity in Shopify

App connector: Shopify • Time to complete: 1 minute

Set the variant's inventory at the same location to the quantity of the variant that changed.

Trusted by 1,000+ merchants
Logo: Rothy's Logo: Adidas Logo: Allure Logo: GQ Logo: DraftKings Logo: Chubbies Logo: Made In Cookware Logo: MUD/WTR

Ready to keep duplicate listings of the same item on one stock count

Get setup in 6 minutes.

Use this template →

FAQs

Won't updating the other variants trigger the workflow again?

It does, but each rerun finds every matching variant already at the new quantity, so the filter stops it and nothing loops.

Does it work with several locations?

Yes. It syncs the quantity at the location that changed.

What if two orders come in at once?

Each change syncs in turn. For very high volume items, consider Shopify bundles instead.

Personalize this template

Customize this workflow even further:

Set custom delays
Schedule actions to trigger after a set time period, such as sending follow-up emails 3 days after an event.
Chain multiple actions
Connect several steps together in one workflow, like tagging data, updating records, and notifying your team simultaneously.
Store data in tables
Save order details, customer preferences, or custom metrics in your own database for reference and reporting.
Deploy AI agents for smart decisions
Let AI agents evaluate complex scenarios and choose the right action path based on your defined rules.

You're in good company

"MESA has been a game changer for us. And, if you ever get stuck, their support team is always super helpful."

  • Ico star
  • Ico star
  • Ico star
  • Ico star
  • Ico star
PetFriendly

"It's like Zapier but exactly designed for Shopify. I have been able to complete all the workflows that I've needed."

  • Ico star
  • Ico star
  • Ico star
  • Ico star
  • Ico star
Zailys

"The MESA team has been amazing at helping us set up our automations. We would highly recommend this app!"

  • Ico star
  • Ico star
  • Ico star
  • Ico star
  • Ico star
Rothy's

keep duplicate listings of the same item on one stock count

6 min setup • Fully supported if you need help