Notification when stock increases, is it possible?

brightclaude
Visitor
1 0 0

Hi everyone! I would like to receive an alert and notification in Slack and by Email when the following conditions occur:

 

First Condition: The amount of stock increases by at least 1.

 

Second Condition: the stock quantity is between 10 and 20 pieces.


Thirt Condition: However, I would like to have the notification on inactive products, consequently tell him that he must only consider products that have not received orders in the last 15 days.

it's possible? Explain to me how I'm going crazy! thank you all.

 

the aim is, to notice the products that have "returned" to the warehouse for refunds or refusals of the package, so I can restart the campaigns, when the stock reaches at least 10 pieces.

Reply 1 (1)

paul_n
Shopify Staff
1064 137 252

Can you elaborate on that third condition? What do you mean by "inactive products"? Who is  "him"? Do you need to check for products that haven't gotten orders for 15 days or is that just a message to someone? 

 

Generally, you could just use this template and change the numbers to match your use case:
https://shopify.com/admin/apps/flow/web/v2/editor/templates/6078af13-af76-49e5-aeda-c9c1ee11eea1

 

you would want something like "prior inventory < 10 and inventoryQuantity >= 10".

 

I don't think the "1" is necessary if you are already looking for an increase. I'm not sure why you want to cap it at 20, but you could add a third check for inventoryQuantity <= 20.
 

Paul_N | Flow Product 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.