Shopify Flow is an ecommerce automation platform that enables you to automate tasks and processes within your store and across your apps.
Is there a way to trigger an action based on how many items were in the order?
I saw order.lineItems - but no size/quantity/totalCount or something similar
Thanks!
You can try liquid size function for the same somthing like
{% assign my_array = order.lineItems %}
{{ my_array.size }}
How would I do that in Shopify Flow? Is there a way to write your own logic in conditions?
If you ae using https://apps.shopify.com/flow?shpxid=e0ac7cd4-BC61-4197-FC05-8C44768EE440 app than you need to talk to shopify as they will best guide you , as it is there app.
There is a Flow template that uses the correct value, and you might draw inspiration from it: Get notified about irregularly large order quantities.
It references the Order. currentSubtotalLineItemsQuantity field which should do what you look for.
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