Shopify Flow is an ecommerce automation platform that enables you to automate tasks and processes within your store and across your apps.
Hi,
I run an auto parts store with products that fit certain vehicles only
I'd like to use a metaobject called "vehicle" and store all the different make, model, year etc combinations as entries and assign those entries to relevant product/s e.g. 2012-2018 toyota corolla hatchback (entry) assigned to products that fit only that vehicle
I'd like to also filter on collections for "make", "model" etc but need to pass the data in the object to unique metafields to do this.
Can someone map how to do this with shopify flow so I don't need to also assign those manually? I have a lot of vehicles and a lot products so being able to assign the vehicle once will greatly reduce any chance of making data management errors. Thanks in advance
Solved! Go to the solution
This is an accepted solution.
Hi @automaniaaaa,
To set up Shopify Flow for this, create a workflow triggered when a product is updated or a metafield changes, then use the “Get metafield value” action to retrieve the linked vehicle metaobject data (make, model, year), and finally use the “Set metafield” action to copy each vehicle attribute into separate product metafields for filtering—this automates syncing vehicle details to product fields without manual entry.
Thanks!
Hi @automaniaaaa,
You can achieve this by using Shopify Flow to automate the mapping of metaobject entries (like "vehicle") to individual product metafields for filtering. First, create a metaobject definition for "vehicle" with fields like make, model, and year, and link it to products using a metaobject reference metafield. Then, in Shopify Flow, set up a workflow that triggers when a product is updated or a vehicle metaobject is assigned—this workflow can read the vehicle entry and automatically copy its fields (make, model, year) into separate metafields on the product. This way, those metafields become available for use in collection filters without needing to manually assign data each time.
Thanks!
I've done the first part re create metaobject definition, referencing the object via a metafield and linking the entry/s to product
Any chance you could give me a step by step on the flow setup? What you said makes sense conceptually but I'm not sure how to practically do it
This is an accepted solution.
Hi @automaniaaaa,
To set up Shopify Flow for this, create a workflow triggered when a product is updated or a metafield changes, then use the “Get metafield value” action to retrieve the linked vehicle metaobject data (make, model, year), and finally use the “Set metafield” action to copy each vehicle attribute into separate product metafields for filtering—this automates syncing vehicle details to product fields without manual entry.
Thanks!
sorry can i be super specific, which one should be selected next?
I've got it to work. thank you
None of these are real actions. Please don't post AI-generated responses here without double-checking they are accurate.
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025