Templates / Send SAP Business One low stock alerts via WhatsApp and email

Send SAP Business One low stock alerts via WhatsApp and email

Ready for 3.0

by Taseeb Saeed ✓ · 102 views · created 2026-06-30 · DevOps

Ready 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).

  1. Post to SAP B1 Login (HTTP Request): calls an HTTP API (POST)
  2. Get Low Stock Items (HTTP Request): calls an HTTP API
  3. Extract Items with Low Stock (Code): runs custom JavaScript code
  4. Check for Low Stock Items (If): checks a condition and branches into true / false
  5. Lookup Previous Alerts (Data table): get
  6. Post to SAP B1 Logout (HTTP Request): calls an HTTP API (POST)
  7. Determine New Alert Need (Code): runs custom JavaScript code
  8. Check Alert Necessity (If): checks a condition and branches into true / false
  9. Prepare Alert Message (Edit Fields (Set)): sets 5 fields: whatsappText, emailSubject, emailHtml…
  10. 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)

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…

Excerpt from Taseeb Saeed's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.