Solved

Compare a products inventory level to that of a value stored in a product metafield using flow.

waywardm
Visitor
1 0 1

Hi there, I'm wanting to create a flow in which when a product quantity is changed it then compares the product quantity to a value stored in a metafield for example a "minimumStockLevel" however i am having trouble trying to work out how to retrieve the value.

Basically I'm looking to send an email to myself if a product is below an individually assigned "minimumStockLevel"

I can do it storewide by saying if all items are say less than 3 in stock but I need it to be more precise for each individual stock item, for instance, you may wish to reorder one item when stock is at an inventory level of 20 whilst the other is at inventory level 16.

Ant help would be appreciated.

Accepted Solution (1)

DaveMcV
Shopify Staff
87 26 24

This is an accepted solution.

This isn't possible today but we're currently working on functionality that would make it possible. Our release timing is still TBD.

DaveMcV | Flow Development Manager @ Shopify
- Finding Flow useful? Leave us a review
- Need Flow help? Check out our help docs.
- Building for Flow? Check out Flow's dev docs.

View solution in original post

Replies 2 (2)

DaveMcV
Shopify Staff
87 26 24

This is an accepted solution.

This isn't possible today but we're currently working on functionality that would make it possible. Our release timing is still TBD.

DaveMcV | Flow Development Manager @ Shopify
- Finding Flow useful? Leave us a review
- Need Flow help? Check out our help docs.
- Building for Flow? Check out Flow's dev docs.

Kalen_Jordan
Shopify Partner
452 16 66

Hopefully appropriate to post here since not currently possible with flow, but I built out an automation template for this using our app mesa:
https://www.getmesa.com/blog/low-stock-notification-email-with-varying-minimum-levels-per-product-de...

 

Screenshot 2024-02-15 at 8.16.09 AM.png

 

Screenshot 2024-02-15 at 8.13.31 AM.png