Automatically fill out product metafields

Hi

Is it possible to automatically fill out a product metafield when products are added to store?

  1. When products are added to store

  2. If products has tag X

  3. Fill out metafield X with text X

For example:

We have a material field as a metafield, and if the product has specific material tag, the description of the material should be filled out.

Is that possible?

Here is the metafield “materiale” i would like to get filled out automatically:

https://snipboard.io/A5qarJ.jpg

Hi There,

Yes, this can be automated with Flow! You can use the trigger “Product added to store”, use a condition to check for the tag, and finally use the “Update product metafield” action. Here’s a screenshot of what the condition would look like:

Thanks for using Flow!

Hi Ryan

Thank you for trying to help me!

It does not look like the same on my end.

Please have a look if i do anything wrong:

1:

2:

This is the name for the metafield: custom.matrialebeskrivelse

Hello again! Using the metafield you mentioned (custom.matrialebeskrivelse), the metafield namespace is “custom” and the key is “matrialebeskrivelse”. What is configured for “Value” and “Type” depends on the metafield (just make sure the type matches what is set for the metafield).

Thank you very much! Is it true that it is not possible to do the same but with product templates instead of product metafield? Changing the template if the product has a specific tag.

Unfortunately, there are no actions to do this in Flow at this time.

Can you please tell me what i should do here

For anyone landing here looking for a way to auto-fill product metafields:

Shopify Flow works if you have a small number of rules (e.g., “if tag = cotton, set material metafield to Cotton”). But it gets unmanageable fast once you have dozens of product types or attributes to fill.

I ran into this exact problem and ended up building VisionTags. It uses AI to look at your product images and auto-fills tags and metafields based on what it sees, no manual rules needed. Works well for large catalogs where setting up individual Flow automations is not realistic.

@Michael42 happy to help with your Flow setup too if you are still stuck on it.