Add Shopify Product Tags Using SKU Pattern Rules
This workflow applies product tags in Shopify by matching SKU patterns to predefined tag rules. When SKUs match the patterns you set, MESA adds the corresponding tags to those products. The applied tags help build collections, sort inventory, and create customer-facing product filters. Rather than manually tagging products, this workflow maintains consistent product organization as you add new items to your catalog.
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."
"It's like Zapier but exactly designed for Shopify. I have been able to complete all the workflows that I've needed."
"The MESA team has been amazing at helping us set up our automations. We would highly recommend this app!"
How it works
10 steps to start auto-tagging products based on SKU patterns
Product Created
Product Created
Tags Mapping To SKU Patterns
Tags Mapping To SKU Patterns
Create array of patterns to loop over
Create array of patterns to loop over
Loop over variants
Loop over variants
Loop over patterns
Loop over patterns
Check regex match of pattern and sku
Check regex match of pattern and sku
Filter: If it matches
Filter: If it matches
Retrieve Product
Retrieve Product
Filter: Check for tag
Filter: Check for tag
Product Add Tag
Product Add Tag
Ready to set this up? It only takes 11 minutes.
Our support team will even help you personalize this workflow for free.
Make it your own!
Customize this workflow even further:
Common questions
What happens if a product's SKU matches multiple patterns?
Can I use this for existing products or only new ones?
What if my SKU doesn't have a consistent prefix pattern?
Ready to start auto-tagging products based on SKU patterns?
7-day free trial • 11 min setup • Cancel anytime
Need help? Our automation experts will help you personalize this workflow for free. Contact support