Shopify Flow is an ecommerce automation platform that enables you to automate tasks and processes within your store and across your apps.
Hi,
I'm trying to use Shopify Flow to add and remove order tags relevant to product SKU's on backorder. I have everything that I need working for this apart from, I'm struggling to find a way to limit the number of orders the Get Order Data action gets using a variable. I was wondering if this is even possible?
To expand on this, I'm starting the flow when a product quantity changes, triggering the get order data using an advanced query, and then using that data to remove certain tags. For example, if I have 5 on backorder but only 2 arrive, I want to only remove the oldest 2 tags. But without manually fixing the limit in the top setting, I can't find a line that will make this limit variable.
My code for the get order data so far is:
fulfillment_status:unshipped AND NOT status:cancelled AND tag:"BackOrder {{ productVariant.sku }}"
Anyway! Any suggestions would be greatly appreciated,
Thanks,
Sam.
You cannot currently set that limit dynamically.
2m ago Learn the essential skills to navigate the Shopify admin with confidence. T...
By Shopify Feb 12, 2025Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025