Tag high-risk WooCommerce SKUs and send daily alerts to Slack
Ready for 3.0What this workflow does
This workflow has 16 nodes and runs on a schedule (every day at 06:00). Along the way it connects WooCommerce and Slack.
How it runs
Trigger: On a schedule (every day at 06:00).
- Get last 14 days orders (WooCommerce): get many (order)
- Get product details (WooCommerce): get many
- Process Products one by one (Loop Over Items (Split in Batches)): loops over the items in batches
- Calculate Sales & Risk level (Code): runs custom JavaScript code
- Split product by risk level (Switch): routes items into 4 branches
- Prepare watchlist products (Edit Fields (Set)): sets 2 fields: product_id, tag
- Prepare High-risk products (Edit Fields (Set)): sets 2 fields: product_id, tag
- Prepare Critical products (Edit Fields (Set)): sets 2 fields: product_id, tag
- Update Product tag as Watchlist (WooCommerce): update (product)
- Update Product tag as High-risk (WooCommerce): update (product)
…plus 5 more steps. See the full node list below.
Services it uses
Other WooCommerce + Slack templates (22)
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.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (8)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - WooCommerce
n8n-nodes-base.wooCommerce - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Code
n8n-nodes-base.code - Switch
n8n-nodes-base.switch - Edit Fields (Set)
n8n-nodes-base.set - Merge
n8n-nodes-base.merge - Slack
n8n-nodes-base.slack
From the author
(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…