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.

On this page
How it works
- A daily trigger reads low-stock products.
- Existing purchase orders are checked to avoid duplicates.
- A PO and a supplier email are generated for each item.
- 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.
| Table | Columns |
|---|---|
| Inventory Management → Inventory_StockGoogle Sheets | Inventory Status |
| Inventory Management → Purchase OrderGoogle Sheets | SKUOrder StatusPO NumberSupplierSupplier EmailItem NameAvailableOrder QtyOrder Date |
Setup
- 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.
- Connect the credentials listed above.
- Point the Sheets, Airtable, Drive, and Slack nodes at your own files and channels.
- Replace placeholder emails, phone numbers, and form links with your own.
- 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
| Node | Type |
|---|---|
| Send Order to Supplier | gmail |
| Switch Email & PO | switch |
| Generate Email & PO | code |
| Order Handling | code |
| No Operation, do nothing | noOp |
| Loop Over Items | splitInBatches |
| Trigger Everyday | scheduleTrigger |
| Get Low Stock Product | googleSheets |
| Get Purchase Order | googleSheets |
| Check Record Exists Or Not | if |
| Store a Purchase Order | googleSheets |
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.



