Hello! I’m not entirely sure what I’m after can be done currently, but I’m hoping that maybe there’s an alternative that I haven’t thought of.
When I create a new product, I’d like to use Flow to populate a variety of metafields with predefined data based on the product type.
For example, if I create a product with the type “Ceramic Mug”, I want to automatically fill in metafields such as “key_features”, “care”, and “sizes” with data that’s defined elsewhere. I was going the route of creating a metaobject called “Product Type Features”, then creating entries for my different product types, but I don’t know how or if I can reference these metaobject entries from Flow.
My metaobject looks like:
Name: Product Type Features
Fields:
Product Type (display name)
Key Features
Care
Dimensions
My Flow so far is incredibly basic, and just looks like:
Start when product added to store
Check if Product “product type” is equal to “Ceramic Mug”
Update product meta field
– Metafield Namespace is: custom
– Metafield Key is: key_features
– Value: ???
What would I use in the value space to reference back to a metaobject entry (if that’s possible)?
If there’s another way anyone would suggest to accomplish what I’m after, I’d be open to suggestions!
Thank you!