Templates / Send Shopify low stock alerts via SMTP email

Send Shopify low stock alerts via SMTP email

Ready for 3.0

by João Paulo C. Brusco · 0 views · created 2026-09-25 · CRM

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 10 nodes and runs on a schedule (every 12 hours). Along the way it connects Shopify.

How it runs

Trigger: On a schedule (every 12 hours).

  1. Config – Threshold & Settings (Edit Fields (Set)): sets 3 fields: lowStockThreshold, notificationEmail, storeName
  2. Shopify: get many (product)
  3. Code: runs custom JavaScript code
  4. Filter: keeps only the items that match a condition
  5. Code: runs custom JavaScript code
  6. If: checks a condition and branches into true / false
  7. Format – Build Alert Summary (Code): runs custom JavaScript code
  8. Send Email: sends an email over SMTP

Services it uses

Shopify

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 runs on a schedule to pull your full Shopify product catalog, identify variants whose inventory is below a configurable threshold, and send an HTML low-stock alert email via SMTP. How it works 1. Runs every 12 hours on a scheduled…

Excerpt from João Paulo C. Brusco'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.