Library / E-commerce & Payments
E-commerce & Payments
Create Low-Stock Purchase Orders with Airtable and Brevo
Every night, this finds low-stock products in Airtable, calculates reorder quantities, creates purchase records and emails suppliers through Brevo.
What it does
### 📦 Automated Purchase Order Creation – n8n Workflow This n8n automation checks products with low stock every night, calculates smart reorder quantities, avoids duplicate POs, and creates fresh purchase orders automatically. ✅ Steps: 1. Run Every Midnight – Scheduled daily trigger. 2. Get Products with Low Stock – Fetch products below reorder threshold from Airtable. 3. Get Supplier Details – Fetch related supplier info. 4. Calculate Dynamic Reorder Quantity – Uses average daily sales × lead time × safety margin. 5. Search Existing POs – Checks if there are active pending/sent orders. 6. Remove Duplicate Product Orders – Filters out products already covered by existing POs. 7. Create Purchase Records – Generates new purchase order records in Airtable with supplier email, product name, reorder quantity, etc. ⚙ Fully automated daily process — keeps your stock healthy and your suppliers notified.
The steps
- Get Products with low stock
- Get supplier Details for those low stock products
- Calculate Dynamic Re-order Quantity
- Run Every Mid Night
- Create purchase records in table
- Search records
- Remove Duplicate Product Orders
- Schedule Trigger
- Get Purchase Orders which are pending
- Group products with suppliers
- Get the record id's of PO
- Update the PO status to sent
- Send PO to suppliers via Email
Similar automations
RAG & Knowledge BasesAlert Discord on Low Stock with Claude RAG11 stepsAlerts & NotificationsAlert Slack When Shopify Inventory Runs Low6 stepsAlerts & NotificationsAlert Slack and Gmail on Low Magento 2 Stock9 stepsDocuments, PDF & OCRProcess Purchase Orders from Outlook Excel Files with OpenAI16 steps