Tags: Email, Inventory, Low Stock, Report, Schedule
Based on an out-of-stock threshold you define, this task sends you an email summary (with CSV attachment) of all variants that are out of stock in any location. Run this task manually to receive the report on demand.
- View in the task library: tasks.mechanic.dev/receive-a-nightly-out-of-stock-report
- Task JSON, for direct import: task.json
- Preview task code: script.liquid
{
"out_of_stock_quantity__number_required": 0,
"report_recipient_email__email_required": null,
"report_subject__required": "Out of stock report ({{ \"now\" | date: \"%Y-%m-%d\" }})"
}
Learn about task options in Mechanic
mechanic/user/trigger
mechanic/scheduler/daily
Learn about event subscriptions in Mechanic
Based on an out-of-stock threshold you define, this task sends you an email summary (with CSV attachment) of all variants that are out of stock in any location. Run this task manually to receive the report on demand.
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.
Found a bug? Got an improvement to add? Start here: ../../CONTRIBUTING.md.
Submit your task requests for consideration by the Mechanic community, and they may be chosen for development and inclusion in the task library!