Skip to main content

General

How to Send an Internal Alert When Stock Drops Below Minimum

Set up an automation in Invoice Office that sends an internal email alert when a product’s stock level drops below its minimum. Act before you run out.

Updated 5 min read

An internal alert when stock drops below the minimum tells the right colleague in Invoice Office to reorder before a product runs out. You set a Minimum stock on the product, then build an automation with the Product stock alert trigger and a Send internal email notification or Send in-app notification action. This guide covers the minimum stock you need first, the automation itself, the placeholders you can put in the message, and how to activate and check it.

Before you start

The Stock tab of the product Ergonomic office chair in Invoice Office with Enable stock management on, Stock quantity 4, Minimum stock 5 and Stock location Warehouse B · Aisle 3; the Stock tab, the Minimum stock field and the Save button are outlined
  • Automations need a Pro licence to run. Without one you can build and save the automation, but its actions are skipped. Automations are managed by company administrators.

What Invoice Office already does without an automation

Every time a product drops below its minimum, Invoice Office already shows the notification Product stock reached on minimum level to the user who created the product, and emails your company email address. The automation is for sending the alert to other people, such as the colleague who orders your stock, or with your own wording.

When the alert is sent

The Product stock alert trigger fires when a document takes stock out of a product, for example when you finalize an invoice, and the stock is then below the product’s minimum stock. With a minimum of 5, it fires when the stock drops to 4.

  • It fires again for every document that takes stock out while the product is still below its minimum, until you restock.
  • Corrections on the product’s Stock tab, such as Add stock mutation, don’t trigger it.

Step 1: Create the automation and choose the trigger

  1. Go to Settings → Company → Automations and click Create.
  2. Give the automation a name, such as Low stock: alert purchasing.
  3. Click the trigger card and choose Product stock alert under Trigger.

Applies to is set to Products for you, and Re-enrollment is fixed to Every time the trigger fires.

A new automation Low stock: alert purchasing in the Invoice Office automation editor with the Trigger field set to Product stock alert outlined, and Applies to Products and Re-enrollment Every time the trigger fires greyed out

Step 2: Add the internal email

  1. Click the + under the trigger and choose Action.
  2. Under Action, choose Send internal email notification. For this trigger, the editor offers two actions: Send internal email notification and Send in-app notification.
  3. Under Recipients, choose who gets the email:
    • All users: everyone in your company;
    • Specific users: tick the colleagues, for example the person who does your purchasing;
    • Record owner: the user who created the product.
  4. Fill in the Subject and the Email body.

You can put these placeholders in the subject and body. Invoice Office replaces them with the product’s details when it sends the email:

PlaceholderReplaced with
%productName%the product’s name
%stockQuantity%the stock left after the document
%minimalQuantity%the product’s Minimum stock
%productUrl%a link to the product in Invoice Office

For example:

  • Subject: Low stock: %productName%
  • Email body: %productName% is down to %stockQuantity% (minimum %minimalQuantity%). Please reorder: %productUrl%
A Send internal email notification step under the Product stock alert trigger, with the Action field, Recipients Specific users with Sophie Bakker ticked, the Subject Low stock: %productName% and an email body with the placeholders %productName%, %stockQuantity%, %minimalQuantity% and %productUrl%; Action, Subject and Email body are outlined

Step 3 (optional): Add an in-app notification

Prefer a message inside Invoice Office as well, or instead of the email?

  1. Click the + under the email step and choose Action.
  2. Under Action, choose Send in-app notification.
  3. Choose the Recipients and type the Message. The same placeholders work here.
A Send in-app notification step under the internal email, with Recipients set to Record owner and the message Low stock: %productName% has %stockQuantity% left (minimum %minimalQuantity%); the Action and Recipients fields are outlined

The notification appears under the bell at the top of the app for the recipients you chose.

Step 4: Activate the automation

  1. Switch the automation on with the switch next to its name. The label changes from Draft to Active. The switch only works once every step is filled in.
  2. Click Save.
The finished automation Low stock: alert purchasing with the status switch set to Active and the Save button outlined, above the steps Product stock alert, Send internal email notification and Send in-app notification

Check that it works

The next time an invoice or other document takes a product below its minimum stock, the alert goes out. To see the runs, open the menu (⋮) on the automation’s row in Settings → Company → Automations and choose History. It shows each run and whether its steps succeeded.

Nothing arrived? Check that:

  • the automation is Active and saved, and your company has an active Pro licence;
  • the product has Enable stock management on and a Minimum stock filled in;
  • the stock really went below the minimum through a document, not through a stock correction;
  • the document type reduces stock for that product: see the product’s Stock reduction in How stock management works in Invoice Office.

Was this article helpful?

If something is missing or did not work as described, tell us and we will fix the article.

Try it in Invoice Office

Create a free account to follow these steps yourself, or log in if you already have one.