Send SAP Business One low stock alerts via WhatsApp and email
Ready for 3.0Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.
What this workflow does
This workflow has 14 nodes and runs on a schedule (every 6 hours). It uses only n8n's built-in nodes.
How it runs
Trigger: On a schedule (every 6 hours).
- Post to SAP B1 Login (HTTP Request): calls an HTTP API (POST)
- Get Low Stock Items (HTTP Request): calls an HTTP API
- Extract Items with Low Stock (Code): runs custom JavaScript code
- Check for Low Stock Items (If): checks a condition and branches into true / false
- Lookup Previous Alerts (Data table): get
- Post to SAP B1 Logout (HTTP Request): calls an HTTP API (POST)
- Determine New Alert Need (Code): runs custom JavaScript code
- Check Alert Necessity (If): checks a condition and branches into true / false
- Prepare Alert Message (Edit Fields (Set)): sets 5 fields: whatsappText, emailSubject, emailHtml…
- Post WhatsApp Alert (HTTP Request): calls an HTTP API (POST)
…plus 3 more steps. See the full node list below.
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (8)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - HTTP Request
n8n-nodes-base.httpRequest - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Data table
n8n-nodes-base.dataTable - Edit Fields (Set)
n8n-nodes-base.set - Merge
n8n-nodes-base.merge - Send Email
n8n-nodes-base.emailSend
From the author
Quick overview This workflow polls SAP Business One every 6 hours for active, unfrozen items whose on-hand quantity is below the minimum inventory level, then sends de-duplicated low-stock alerts via WhatsApp (Meta API) and email, storing the last-alerted…