QuackUIInstall

Send a low-stock alert

Email buyers when anything falls below 100, once, and not every hour.

  1. Make a report with a table of Subcategory and On hand qty. Clear Max rows, or sort ascending, so the low rows are always in the result.

    Stock by subcategory
  2. Save it and open Schedules. Add one that runs every hour.

  3. Add a delivery to the buyers, with the table as a CSV and a note. Turn on failure notices.

    The delivery
  4. Add an alert on that table: On hand qty is less than 100. Choose When it becomes met.

    The alert
  5. Save, and wait for the next turn. Run now doesn’t evaluate alerts.

The buyers get this:

The alert email

And the run records the outcome:

The run with its alert and delivery

What happens next

While anything is below 100 the alert stays met and quiet. It sends again after a run where nothing is. A second product falling low in the meantime doesn’t send a second message. If you need that, use Every time on a daily schedule.

If it goes wrong

A failed query, or a result cut before anything matched, is not evaluated. The buyers get one notice with a link, because you turned on failure notices.