Shopify Flow is an ecommerce automation platform that enables you to automate tasks and processes within your store and across your apps.
Is it possible to add a customer's metafield value to a tag in Shopify Flow?
Even if I enter a variable in metafield, I cannot expand the contents of the loop, so I cannot retrieve the value. Is there a way to achieve this?
Solved! Go to the solution
This is an accepted solution.
Hi, you can add metafields values in tag and use liquid loops in as the body of a tag. An example is:
{% for metafields_item in order.customer.metafields %} {% if metafields_item.key == 'yourkeyname' %} {{metafields_item.value}}{% endif %}{% endfor %}
To learn more visit the Shopify Help Center or the Community Blog.
This is an accepted solution.
Hi, you can add metafields values in tag and use liquid loops in as the body of a tag. An example is:
{% for metafields_item in order.customer.metafields %} {% if metafields_item.key == 'yourkeyname' %} {{metafields_item.value}}{% endif %}{% endfor %}
To learn more visit the Shopify Help Center or the Community Blog.
Learn 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, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025