Shopify Flow is an ecommerce automation platform that enables you to automate tasks and processes within your store and across your apps.
Hi-
We have different products that need to trigger low stock warnings at different inventory levels, and we have those set in a custom metafield on our products (called 'Low Stock Warning'). I found the template for 'Get notified by email when product variant inventory is low', but that only lets me set a single number for all products. Is there any way to adapt that to use the number stored in the metafield as the point of comparison instead? I tried looking at the various metafield options, but I'm very confused...
The problem you'll run into is that metafield values appear as strings to Flow. So you can't compare them as numbers except in liquid. We are working on some improvements to this so you can use the metafield like this.
If your logic can live in an action via liquid, for example to control what is show in a notification, you could do this. But if you need to control sending the email, you'll need to wait.
Since this isn't possible currently in Flow, I thought I'd recommend our automation app mesa as a solution here. I could build you out a template for this if you were interested.
User | RANK |
---|---|
3 | |
2 | |
2 | |
2 | |
1 |
Make the shift from discounts to donations, and witness your business not only thrive fina...
By Holly Dec 4, 2023On our Shopify Expert Marketplace, you can find many trusted third party developers and fr...
By Arno Nov 27, 2023You've downloaded the Search & Discovery app from the Shopify App store, and as you're ...
By Skye Nov 8, 2023