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.

Shopify logo icon
Product Created
Retrieve Product Metafield
Shopify logo icon
Product Add Metafield Value Tag

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

How it works

3 steps to start automatically tagging products with their metafield values

Shopify logo icon

Product Created

App connector: Shopify • 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 • 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.

Shopify logo icon

Product Add Metafield Value Tag

App connector: Shopify • 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.

Ready to set this up? It only takes 4 minutes.

Our support team will even help you personalize this workflow for free.

Get started →

Make it your own!

Customize this workflow even further:

Send notifications for tagged products
Add email or Slack alerts to notify your team when products get tagged with specific values, helping you track inventory additions or flag high-priority items.
Tag multiple metafields at once
Extend the workflow to retrieve and apply several different metafield values as separate tags, giving you comprehensive product labeling from all your custom data.
Transform metafield values before tagging
Clean up or modify the metafield data before applying it as a tag, like converting text to lowercase, removing spaces, or adding prefixes like "Category: Electronics."
Add conditions for selective tagging
Only tag products when specific criteria are met, such as when the metafield value isn't empty or matches certain patterns like "Premium" or "Sale."

Common questions

What happens if the metafield key I specified doesn't exist on a product?

Can I use metafields from different namespaces besides "custom"?

Will this workflow tag existing products if I edit them?

Ready to start automatically tagging products with their metafield values?

7-day free trial • 4 min setup • Cancel anytime

Need help? Our automation experts will help you personalize this workflow for free. Contact support