How to schedule daily inventory updates for all store products?

RossellaF
Shopify Partner
27 0 5

Hi, 

 

I have a question on a scheduled workflow I am building. We want to populate a product metafield with the total inventory of each product. This should run every day at a scheduled time on all products (2500+)

 

This is the workflow I have so far, but I am unsure how to ensure all products are being queried.

 

Google Feed Flow.png

 

How would I go about that?

Reply 1 (1)

jacob_peterson
Visitor
1 0 0

We are trying to do something similar at the moment, although it seems the 'For each' action is limited to 100 items at a time. Would be great to know if there is a way around this limitation. I think the Product variant inventory quantity changed trigger (or similar Product inventory trigger) could be used to keep things up to date but we still need a way to run this on all Products/Variants initially.