Tag Shopify Products by Metafield Value | Improve Product Organization
Tag Shopify Products with Metafield Values
4 min setup
No coding required
Runs automatically
Enhance product organization by automatically tagging Shopify products based on their metafield values. This MESA workflow template tags each product with a specified metafield value upon creation, making it easier to categorize, filter, and manage inventory. Streamline product organization and simplify inventory management with automated tagging.
How it works
3 steps to start automatically tagging products with their metafield values
Product Created
App connector: [Shopify](/content/apps/shopify/integrate "View Shopify integration page"/index.html)• Time to complete: 0 minutes (Auto-configured)
Why this matters: This step monitors your Shopify store and detects whenever a new product is added, automatically starting the workflow without any manual intervention.
This trigger activates immediately when someone creates a product in your Shopify admin, through bulk imports, or via connected apps. The step captures all the new product's basic information including its unique ID, title, and other standard product data. No configuration is required since MESA automatically connects to your Shopify store. The product data gets passed to the next step so the workflow knows which specific product needs to be processed.
Retrieve Product Metafield
App connector: [Shopify](/content/apps/shopify/integrate "View Shopify integration page"/index.html)• Time to complete: 2 minutes
Why this matters: This step fetches the specific custom data stored in your product's metafield that will become the new tag, ensuring the workflow has the exact value to apply.
You need to specify which metafield contains the value you want to use as a tag by providing the metafield's namespace and key. The step automatically uses "custom" as the namespace (the standard location for manually created metafields), but you'll need to enter the exact key name of your metafield. To find this key, go to Settings > Custom Data in your Shopify admin, view your product metafields, and copy the key of the specific metafield you want to use. The retrieved metafield value then gets passed to the final tagging step.
Product Add Metafield Value Tag
App connector: [Shopify](/content/apps/shopify/integrate "View Shopify integration page"/index.html)• Time to complete: 0 minutes (Auto-configured)
Why this matters: This step applies the metafield value as an actual product tag, making the custom data visible and searchable throughout your Shopify admin and storefront.
This step automatically takes the metafield value retrieved from the previous step and adds it as a tag to the same product that triggered the workflow. No additional configuration is needed since the step uses the product ID from the trigger and the metafield value from the retrieval step. Once complete, the new tag will appear in the product's tag list in your Shopify admin, and you can use it for filtering, collections, or any other tag-based functionality. The workflow finishes after successfully adding the tag.
Frequently asked questions
What happens if the metafield key I specified doesn't exist on a product?
The workflow will skip the tagging step for that product since there's no value to retrieve. The product will still be created normally, but won't receive any additional tags from this workflow.
Can I use metafields from different namespaces besides "custom"?
Yes, you can modify the namespace field in Step 2 to target metafields created by apps or other systems. Common examples include "app" namespaces or custom namespaces created by developers.
Will this workflow tag existing products if I edit them?
No, this workflow only triggers when completely new products are created. If you want to tag existing products when they're updated, you'd need a separate workflow that triggers on "Product Updated" events.
Make this template your own!
Customize this workflow even further:
- Send notifications for tagged products
- Tag multiple metafields at once
- Transform metafield values before tagging
- Add conditions for selective tagging
You're in good company
Avg. App Store rating
4.9/5
Merchant reviews
157
Avg. time saved per week
3.5 hrs
PetFriendly
"It's like Zapier but exactly designed for Shopify. I have been able to complete all the workflows that I've needed."
Zailys
"The MESA team has been amazing at helping us set up our automations. We would highly recommend this app!"
Ready to start automatically tagging products with their metafield values?
7-day free trial • 4 min setup • Cancel anytime
[Start with this template — It's free](/content/pricing?template=shopify%2Fproduct%2Ftag_product_with_metafield_when_product_created&templateName=tag-shopify-product-with-metafield-value "Install and use this template in MESA - Free to use"/index.html)
Need help? Our automation experts will help you personalize this workflow for free.