Can metafield be auto populated

Topic summary

A merchant with 5,000 products needs to automatically populate metafields from existing product tags and variant data to meet marketplace integration requirements (eBay, etc.). Currently using tags for POS and website filtering (e.g., “Model_iPhone 11”), but marketplaces require metafield attributes for SEO optimization.

Key Challenge:

  • Manual Excel export/import doesn’t solve the problem for future automatically-listed products
  • Need automated mapping: tags → metafields (e.g., “Model_iPhone 11” tag → “Compatible Models” metafield)
  • Variant color titles → color metafield

Attempted Solution:
Tried using Shopify Flow app but encountering errors with metafield updates. The current Flow interface differs from older documentation, causing confusion with:

  • Metafield namespace/key/value configuration
  • Liquid code for variant iteration
  • Conditional logic implementation

Status: Unresolved. The merchant is struggling with Flow’s syntax and seeking clearer conditional logic (similar to traditional if/then statements) to check for blank metafields and populate them based on existing product data.

Summarized with AI on October 31. AI used: claude-sonnet-4-5-20250929.

Hi, so for years we have been using tags, tags is how our Instore POS listing on the website, also how the website filters.

However Ebay and other marketplace integration require attributes. and maps there attributes by Meta fields.

So we have a tag Model_iPhone 11 for example. needs to go to meta field, Compatible Models

or Variant Colour Title - map to Meta Field Variant Colour

we have 5000 products, so if there an automatic way meta fields can auto populate with existing information. These attributes are not mandatory but recommended to boost SEO on marketplaces, which will also benefit our online store.

I Know i can export excel cut & paste, but that doesn’t solve issue for future products when listed automatic

Hello there James @jamest5764 There are a number of apps you can use to handle this, one of the most reliable ones being the Flow app. Check out this community thread here https://community.shopify.com/topic/2476469 for more information on how to go utilize it properly.

Thank you, I have used the flow app in the past. but having issues with this.

I set the event when an Item sells, so i can test with plans to update to when product is created but i get errors.

The latest version of flow doesn’t have same information as the link above

Update Variant Metafield value

  • Variable Google Condition: New (meta field name)

  • Key: New

  • Value: New

Other one is

Update Variant Meta field Colour with variant title colour name

  • Metafield name space Colour

  • Key Colour

  • Value {% for variants_item in product.variants %}
    {{variants_item.title}}
    {% endfor %}

I have a base understand of coding but the flow coding can be confusing i wish could be similar code

if ( product tag = Device_example)

{ Update Metafield with example}

If Value (metafield Google Condition = Blank)

{ Add value New}