Tag high-risk WooCommerce SKUs and send daily alerts to Slack
(Retail) Auto-Tag High-Risk SKUs
This workflow automatically monitors product sales in your WooCommerce store, detects fast-selling items, applies risk tags and sends a clear alert to Slack—so you never miss products that need attention.
This workflow checks your WooCommerce store every day, reviews product sales from the last 14 days and calculates how fast each product is selling. Based on sales volume, it assigns a risk level (OK, Watchlist, High-Risk or Critical), updates product tags in WooCommerce and sends a single, easy-to-read Slack alert for products that need attention.
You receive:
Daily automated sales analysis** Automatic risk tagging inside WooCommerce** One clean Slack alert with product name, units sold and risk level**
Ideal for store owners and operations teams who want proactive inventory control without manual reports.
Quick Start – Implementation Steps
Connect your WooCommerce API credentials. Connect your Slack workspace and choose an alert channel. Adjust sales thresholds if needed (optional). Activate the workflow — daily monitoring starts automatically. What It Does
This workflow automates inventory risk detection:
Runs automatically on a daily schedule. Fetches completed WooCommerce orders from the last 14 days. Fetches product details from WooCommerce. Counts how many units of each product were sold. Assigns a risk level: OK Watchlist High-Risk Critical Updates product tags in WooCommerce based on risk. Combines all risky products into one list. Sends a single Slack alert summarizing: Product name Units sold Risk level
This prevents stock issues and highlights fast-selling products early.
Who’s It For
This workflow is ideal for:
WooCommerce store owners E-commerce operations teams Inventory & supply chain managers Marketing teams tracking fast-selling products Businesses managing limited or high-demand stock Anyone who wants automated inventory visibility Requirements to Use This Workflow
To run this workflow, you need:
n8n instance** (cloud or self-hosted) WooCommerce store** with REST API access WooCommerce API keys** (Read + Write) Slack workspace** with API access Basic understanding of WooCommerce products & orders How It Works
Daily Trigger – Workflow runs at a scheduled time. Fetch Orders – Gets completed orders from the last 14 days. Fetch Products – Retrieves product details. Calculate Sales & Risk – Counts sold units and assigns risk level. Split by Risk – Routes products based on risk category. Update Product Tags – Applies correct WooCommerce tags. Merge Results – Combines all risky products. Build Alert Message – Creates a readable Slack message. Send Slack Alert – Sends one summary alert to your team. Setup Steps
Import the workflow JSON into n8n. Configure WooCommerce credentials in all WooCommerce nodes. Ensure risk tags exist in WooCommerce: Watchlist High-Risk Critical Connect your Slack API credentials. Select the Slack channel for alerts. Review or adjust sales thresholds in the risk calculation node. Activate the workflow. How To Customize Nodes
Customize Risk Thresholds
Update the Calculate Risk code node to change when products move into:
Watchlist High-Risk Critical Customize WooCommerce Tags
Replace tag IDs in the Update Product nodes with your own tag IDs.
Customize Slack Alerts
You can add:
Emojis Mentions (@channel, @team) Product links Stock status or category info Add-Ons (Optional Enhancements)
You can extend this workflow to:
Include stock quantity checks Send separate alerts per risk level Create weekly or monthly summaries Store alerts in Google Sheets or Airtable Add email or SMS notifications Predict out-of-stock dates Add AI-based sales trend insights Use Case Examples
1. Inventory Risk Monitoring
Detect products that may go out of stock soon.
2. Sales Trend Tracking
Identify fast-selling products automatically.
3. Operations Alerts
Notify teams before stock issues occur.
4. Marketing Signals
Spot trending products for promotions.
5. Daily Store Health Check
Get a quick snapshot of product risk every day.
Troubleshooting Guide
IssuePossible CauseSolutionNo Slack alertNo risky productsCheck thresholdsTags not updatedWrong tag IDVerify WooCommerce tag IDsUnits sold = 0Orders not completedCheck order status filterWorkflow not runningSchedule disabledEnable Schedule TriggerSlack errorInvalid credentialsReconnect Slack account
Need Help?
If you need help customizing, scaling or extending this workflow—such as adding forecasting, dashboards or multi-store support—the WeblineIndia team can help you build production-ready e-commerce automation.
Related Templates
Automated Work Attendance with Location Triggers
his workflow automates time tracking using location-based triggers. How it works Trigger: It starts when you enter or e...
Track Expenses by Parsing Telegram Transaction Messages to Google Sheets
Overview This n8n workflow template automatically parses incoming Telegram transaction messages and logs structured dat...
Send Daily Weather Forecasts from OpenWeatherMap to Telegram with Smart Formatting
🌤️ Daily Weather Forecast Bot A comprehensive n8n workflow that fetches detailed weather forecasts from OpenWeatherMap...
🔒 Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments