How to schedule daily inventory updates for all store products?

How to schedule daily inventory updates for all store products?

RossellaF
Shopify Partner
28 0 6

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?

Replies 2 (2)

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.

GhostApps
Shopify Partner
172 2 17

Inventory History Guardian was designed specifically to address this need. It automatically saves a daily record of your inventory levels for each product variant at every location, allowing you to view historical inventory data well beyond Shopify's standard 90-day limit.