Skip to main content

Monitor WooCommerce inventory daily and send Slack alerts with Supabase

Workflow preview

Workflow preview
100%
Monitor WooCommerce inventory daily and send Slack alerts with Supabase preview
Open on n8n.io

1. Workflow Overview

Daily Inventory Monitoring & Reorder System This workflow automatically monitors your WooCommerce store inventory, calculates stock health based on recent sales, classifies products, computes reord...

Best for

  • CRM automation workflows
  • AI Summarization automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.code, n8n-nodes-base.scheduletrigger, n8n-nodes-base.woocommerce, n8n-nodes-base.merge, n8n-nodes-base.if, n8n-nodes-base.slack, n8n-nodes-base.supabase, n8n-nodes-base.stickynote

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by WeblineIndia.

Original n8n.io source

1.1 Workflow description

Title
Monitor WooCommerce inventory daily and send Slack alerts with Supabase
Workflow name
Monitor WooCommerce inventory daily and send Slack alerts with Supabase

Daily Inventory Monitoring & Reorder System

This workflow automatically monitors your WooCommerce store inventory, calculates stock health based on recent sales, classifies products, computes reorder quantities, assigns urgency levels and sends actionable alerts to Slack.

This workflow runs daily to track your inventory and prevent stock issues. It fetches all active products and recent completed orders, calculates units sold in the last 30 days, evaluates stock health, and classifies products as Top Performer, Steady, At Risk, or Consider Discontinue.

You receive:

  • Daily inventory check (automated)
  • Database record of each product’s stock and recommended action
  • Slack alerts for urgent items and a daily summary

Ideal for teams wanting simple, automated visibility of inventory without manually reviewing stock levels.

Quick Start – Implementation Steps

  1. Connect your WooCommerce account (products and orders).
  2. Connect Supabase to store inventory records.
  3. Connect Slack to receive alerts and daily summaries.
  4. Set the schedule time for daily checks.
  5. Review and adjust stock thresholds (lead time, safety days) if needed.
  6. Activate the workflow — daily inventory monitoring begins automatically.

What It Does

This workflow automates inventory monitoring:

  1. Fetches all published products from WooCommerce with current stock.
  2. Retrieves completed orders from the last 30 days to calculate sales.
  3. Calculates units sold per product and estimates average daily demand.
  4. Merges product and sales data for stock evaluation.
  5. Classifies products based on stock and demand:
  • Top Performer
  • Steady
  • At Risk
  • Consider Discontinue
  1. Calculates safety stock, reorder points, and reorder quantities.
  2. Assigns urgency levels (Normal, High, Critical) with clear action messages.
  3. Sends Slack alerts for high-priority products.
  4. Saves all inventory data into Supabase for tracking.
  5. Builds and sends a daily summary with totals, at-risk products, and reorder needs.

This ensures your team always knows stock status and can act quickly to prevent shortages.

Who’s It For

This workflow is ideal for:

  • Inventory managers
  • Operations teams
  • E-commerce teams
  • Supply chain planners
  • Anyone needing automated stock monitoring and alerts

Requirements to Use This Workflow

To run this workflow, you need:

  • n8n instance (cloud or self-hosted)
  • WooCommerce API credentials (products & orders)
  • Supabase account (database for inventory tracking)
  • Slack workspace with API permissions
  • Basic understanding of inventory management and reorder logic

How It Works

  1. Daily Check – Workflow triggers automatically at the scheduled time.
  2. Fetch Products & Orders – Gets all published products and completed orders from the last 30 days.
  3. Calculate Sales & Demand – Determines units sold and average daily demand per product.
  4. Merge Data – Combines stock data with sales to evaluate inventory health.
  5. Inventory Classification – Categorizes products as Top Performer, Steady, At Risk, or Consider Discontinue.
  6. Reorder Calculations – Computes safety stock, reorder point, and recommended reorder quantity.
  7. Assign Urgency & Actions – Flags products as Normal, High, or Critical and sets clear action messages.
  8. Immediate Action Check – Identifies high-priority products that need urgent attention.
  9. Save to Database – Stores inventory status and recommendations in Supabase.
  10. Daily Summary – Builds summary and sends Slack notifications for overall stock health.

Setup Steps

  1. Import the provided n8n JSON workflow.
  2. Connect your WooCommerce account (products and orders).
  3. Connect Supabase account and configure the table for inventory tracking.
  4. Connect Slack and select channels for urgent alerts and daily summary.
  5. Adjust lead time, safety stock days, and any thresholds if needed.
  6. Activate the workflow — daily automated inventory monitoring and reporting begins.

How To Customize Nodes

Customize Reorder Calculations

Adjust safety stock days, lead time, or reorder formulas in the Reorder Calculator node.

Customize Urgency & Actions

Modify logic in the Urgency & Recommendation node to change thresholds or messaging.

Customize Slack Alerts

You can change:

  • Slack channel
  • Message format
  • Include emojis or tags

Customize Database Storage

Add extra fields in Supabase to store more product information if needed.

Add-Ons (Optional Enhancements)

You can extend this workflow to:

  • Track multiple warehouses
  • Send alerts only for specific categories
  • Generate weekly inventory reports
  • Include stock valuation or cost metrics
  • Integrate with other communication channels (email, Teams)

Use Case Examples

Daily Inventory Check

Automatically tracks stock levels for all products.

Urgent Stock Alerts

Notifies the team immediately when items are At Risk or need reorder.

Reporting & Tracking

Keeps a historical record of stock health in the database.

Troubleshooting Guide

Issue Possible Cause Solution
Slack alerts not sent Invalid credentials Update Slack API key
Supabase row not saved Wrong table/field mapping Check table and field names
Wrong stock classification Thresholds incorrect Adjust lead time, safety days, or demand calculation
Workflow not running Schedule not active Enable Schedule Trigger node

Need Help?

If you need help in customizing or extending this workflow with multi-warehouse tracking, advanced alerts, dashboards or scaling, then our n8n automation developers at WeblineIndia will be happy to assist you.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Inventory Classification

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 2 - Run Daily Invetory check

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.2

Block 3 - Fecth Products

Type / Role
n8n-nodes-base.wooCommerce - wooCommerce
Config choices
Version 1

Block 4 - Calculate product sales

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 5 - Combine products & sales

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3.2

Block 6 - Attach sales data to products

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 7 - Calculate reorder quantity

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 8 - Set urgency & action plan

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 9 - Check if alerts is needed

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 10 - Send critical inventory alert

Type / Role
n8n-nodes-base.slack - slack
Config choices
Version 2.3

Block 11 - Save Inventory record to database

Type / Role
n8n-nodes-base.supabase - supabase
Config choices
Version 1

Block 12 - Prepare Inventory summary

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 13 - Send Inventory summry

Type / Role
n8n-nodes-base.slack - slack
Config choices
Version 2.3

Block 14 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 15 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 16 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 17 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 18 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 19 - Sticky Note5

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 20 - Fetch order

Type / Role
n8n-nodes-base.wooCommerce - wooCommerce
Config choices
Version 1

3. Summary Table

Workflow Monitor WooCommerce inventory daily and send Slack alerts with Supabase
Complexity advanced
Nodes 20
Categories CRM, AI Summarization
Author WeblineIndia
Published 20 Mar 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/14192/14192.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Monitor WooCommerce inventory daily and send Slack alerts with Supabase do?

Daily Inventory Monitoring & Reorder System This workflow automatically monitors your WooCommerce store inventory, calculates stock health based on recent sales, classifies products, computes reord...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your CRM, AI Summarization use case.