Automatically Update The Inventory Policy for Product Variants

Here is a simple proof-of-concept workflow that will allow you to update the inventory policy for a particular variant in one of your workflows.

In this case, we are just setting a SKU and a policy value in a transform step:

Possible policy values are:

  • CONTINUE – continue selling when out of stock
  • DENY – don’t continue selling when out of stock

Preview Workflow

And then we have a custom code step that is executing the GraphQL query to update the inventory policy.

Watch The Demo

Download Workflow

You can download the workflow here as a zip file and upload it into your account in order to use it. Let us know if you need any help!

How do I use this demo file?

  1. Add MESA from the Shopify App Store. Enjoy a 7-day free trial to start.
  2. Import this download to My Workflows. Navigate to your automations then follow the prompt to import a workflow. Upload the downloaded ZIP file from this demo.
  3. That's it! Personalize any step if you want. You got this.
  4. Questions? Shoot me an email: [email protected]
We literally wrote the book on Shopify automation

Learn how to make Shopify work easier with your business processes.

Get the playbook - Free!

shopify automation playbook PDF