Manufacturing

Low-Stock Purchase Order Automation

Finds products below their reorder level every day, generates purchase orders, emails suppliers and keeps a PO log in Google Sheets.

The Low-Stock Purchase Order Automation workflow on the n8n canvas, with its 12 nodes and connections
The workflow on the n8n canvas. Click to open it full size.

At a glance

Category
Manufacturing
Nodes
12
Apps
Google Sheets, Gmail, Code
Price
Free
Download JSON
On this page

How it works

  1. A daily trigger reads low-stock products.
  2. Existing purchase orders are checked to avoid duplicates.
  3. A PO and a supplier email are generated for each item.
  4. The order is emailed and the PO is stored in the sheet.

Use cases

  • Manufacturers and workshops
  • Wholesalers and distributors
  • Retail back-office

What you need

This workflow connects to these apps.

  • Google Sheets
  • Gmail
  • Code

You'll need an n8n instance, on n8n Cloud or self-hosted, and these credentials. Our credentials guide shows how to create each one.

  • Gmail account
  • Google Sheets account

Data setup

Create these tables with these exact column names before the first run.

TableColumns
Inventory Management → Inventory_StockGoogle SheetsInventory Status
Inventory Management → Purchase OrderGoogle SheetsSKUOrder StatusPO NumberSupplierSupplier EmailItem NameAvailableOrder QtyOrder Date

Setup

  1. Download the JSON and import it into n8n with Import from File, or copy it and paste it onto an empty canvas. The import guide walks through both.
  2. Connect the credentials listed above.
  3. Point the Sheets, Airtable, Drive, and Slack nodes at your own files and channels.
  4. Replace placeholder emails, phone numbers, and form links with your own.
  5. Times use the America/New York timezone and dates use MM/DD/YYYY. Change them if you need to, then test and activate. The setup guide covers this step by step.

Nodes

NodeType
Send Order to Suppliergmail
Switch Email & POswitch
Generate Email & POcode
Order Handlingcode
No Operation, do nothingnoOp
Loop Over ItemssplitInBatches
Trigger EverydayscheduleTrigger
Get Low Stock ProductgoogleSheets
Get Purchase OrdergoogleSheets
Check Record Exists Or Notif
Store a Purchase OrdergoogleSheets

Frequently asked questions

Finds products below their reorder level every day, generates purchase orders, emails suppliers and keeps a PO log in Google Sheets. It's a 12-node n8n workflow.

An n8n instance, on n8n Cloud or self-hosted, and credentials for Gmail and Google Sheets. It uses only nodes that ship with n8n, so there's nothing else to install.

It works with 2 tables in Google Sheets. Create them with the column names listed under Data setup on this page before the first run.

Download the JSON, then in n8n create a new workflow, open the menu in the top right, and choose Import from File. You can also copy the JSON and paste it onto an empty canvas.

Yes. It's free to download, import, and change, with no sign-up. You only pay for the apps it connects to, where those aren't free on your plan.

Keep exploring
  • n8n canvas of the Email Order to Procurement Automation workflow

    Manufacturing13 nodes

    Email Order to Procurement Automation

    Reads purchase orders that arrive by email, extracts them with AI, creates a sales order, checks stock and, if there's a shortage, raises a purchase requisition and a work order.

  • n8n canvas of the AI Crop Advisory for Farmers workflow

    Agriculture27 nodes

    AI Crop Advisory for Farmers

    Gives farmers practical, AI-generated crop advice based on their soil, crop and live weather. Advice is delivered instantly on sign-up and refreshed daily over WhatsApp.

  • n8n canvas of the AI Email Classifier & Slack Router workflow

    AI Automation11 nodes

    AI Email Classifier & Slack Router

    Reads incoming emails, has AI classify each one (support, sales, billing, HR and so on) and notifies the right team on Slack straight away.