Skip to content

Latest commit

 

History

History

publish-back-in-stock-products

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Publish back-in-stock products

Tags: In stock, Inventory, Location, Products, Publish

This task monitors inventory updates, and publishes the product to the configured sales channels whenever a product's total inventory meets your "back in stock" threshold. Optionally, it'll send you an email when it does so. You may also choose whether to further refine the products being considered by this task by configuring inclusion or exclusion tags (note: exclusion tags will always take precedence over inclusion tags).

Default options

{
  "back_in_stock_inventory_quantity__number_required": "1",
  "sales_channel_names__required_array": [
    "Online Store"
  ],
  "only_include_products_with_any_of_these_tags__array": null,
  "always_exclude_products_with_any_of_these_tags__array": null,
  "only_include_inventory_from_these_location_names__array": null,
  "email_notification_recipient__email": null
}

Learn about task options in Mechanic

Subscriptions

shopify/inventory_levels/update
mechanic/user/trigger

Learn about event subscriptions in Mechanic

Documentation

This task monitors inventory updates, and publishes the product to the configured sales channels whenever a product's total inventory meets your "back in stock" threshold. Optionally, it'll send you an email when it does so. You may also choose whether to further refine the products being considered by this task by configuring inclusion or exclusion tags (note: exclusion tags will always take precedence over inclusion tags).

If you'd like for the task to only count inventory from specific locations, then add the exact location names into the task configuration. This feature can be combined with the tag options for unique publishing scenarios.

This task can also be run manually, to scan all products in the 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!