Shopify Flow is an ecommerce automation platform that enables you to automate tasks and processes within your store and across your apps.
I would like to add a metafield automation to help improve our search filters. We currently have an automated import from our POS system when creating products. The import auto tags the product MALE or FEMALE based on the indicated gender. For context, these cannot currently be changed.
I want to run the following flow, but am struggling to get it to work.
IF Product Tag Equals 'MALE'
Add 'Mens' to the product metafield titled 'Gender'
IF Product Tag equals 'FEMALE'
Add 'Womens' to the product metafield titled 'Gender'
IF both 'MALE' & 'FEMALE' are present
Add 'Unisex' to the product metafield titled 'Gender'
Is this even possible using Shopify Flow? Any pointers on how I can achieve it?
Hey @RonAS1 ,
Thank you for reaching out! It’s definitely possible to automate the process of adding gender-based metafields using Shopify Flow. Here's how we can set it up:
1. Trigger: Set the flow to run when a product is created or updated.
2. Conditions:
- If the product tag contains 'MALE', add 'Mens' to the 'Gender' metafield.
-If the product tag contains 'FEMALE', add 'Womens' to the 'Gender' metafield.
-If both 'MALE' and 'FEMALE' tags are present, add 'Unisex' to the 'Gender' metafield.
This should improve your search filters by ensuring that each product has the correct gender tag automatically assigned. Let me know if you’d like me to set this up for you, or if you need further assistance!
Please feel free to reach out to my email if you have any questions.
Best regards,
Rajat
Hi RajWeb,
Thanks for the reply, however, I am aware of he process that needs to happen, the issue I am having what to enter at the action stage stage of the flow.
Here is my current flow for an example of the Mens tag (which isn't working)
The product metafield 'Gender' has already been created with a single line text list of (Mens, Womens, Unisex).
I have selected that in both the namespace and key, but worried this is incorrect, and is the part I am looking for advice on.
Yeah, those are not namespaces or keys. From my own Admin:
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