Skip to content

Latest commit

 

History

History
 
 

send-an-email-alert-when-a-variant-hits-0-total-inventory

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Send an email alert when a variant hits 0 total inventory

Tags: Alert, Email, Inventory, Out of Stock, Products

Use this task to receive an immediate email alert, whenever a variant's total inventory hits 0, when added up across all locations. You can limit alerts to a specific collection or publication (e.g. Online Store or POS).

Default options

{
  "must_belong_to_collection_id": "",
  "must_be_published_to_publication_id": "",
  "email_subject__required": "\"VARIANT_TITLE\" has hit 0 inventory",
  "email_body__multiline_required": "Hello,\n\nThe variant \"VARIANT_TITLE\" is now at 0 inventory, totaled across all locations.\n\n<a href=\"VARIANT_ADMIN_URL\">Manage this variant in Shopify</a>\n\nThanks,\nMechanic, for  {{ shop.name }}",
  "email_recipient__email_required": ""
}

Learn about task options in Mechanic

Subscriptions

shopify/inventory_levels/update
mechanic/user/trigger

Learn about event subscriptions in Mechanic

Documentation

Use this task to receive an immediate email alert, whenever a variant's total inventory hits 0, when added up across all locations. You can limit alerts to a specific collection or publication (e.g. Online Store or POS).

Notes:

  • You can filter by collection or publication, not both at the same time.
  • Run the task manually to get the list of publication IDs for your shop.

Installing this task

Find this task in the library at tasks.mechanic.dev, and use the "Try this task" button. Or, import this task's JSON export – see Importing and exporting tasks to learn how imports work.

Contributions

Found a bug? Got an improvement to add? Start here: ../../CONTRIBUTING.md.

Task requests

Submit your task requests for consideration by the Mechanic community, and they may be chosen for development and inclusion in the task library!