🤝 Monitor WooCommerce daily revenue spikes and send Slack alerts

⚡ 35 views · 🤝 CRM & Sales Operations

Description

WooCommerce Daily Sales & Revenue Spike Monitor → Slack Alert

This workflow automatically checks your WooCommerce store’s last 24 hours of revenue, top-selling products, and cancelled orders on a daily schedule. It sends Slack notifications when sales cross a defined threshold or provides a detailed status update—including cancellation impact—if the target hasn’t been met, helping teams react quickly without manual reporting.

🚀 Quick Implementation Steps

What It Does

This workflow serves as a daily sales and revenue health monitoring assistant for your WooCommerce store.

Who’s It For

Requirements to Use This Workflow

How It Works & Set Up

  1. Schedule Trigger

    • Configure the Schedule Trigger to run once per day at your preferred time.
  2. Fetch Orders from WooCommerce

    • Use the WooCommerce node to retrieve recent orders from your store.
  3. Filter Paid Orders

    • Keep only orders with status Completed or Processing.
  4. Filter Last 24 Hours Orders

    • A Code node filters paid orders created within the last 24 hours.
  5. Calculate Top Products

    • A Code node aggregates product quantities sold in the last 24 hours.
  6. Calculate Total Revenue

    • A Code node calculates total revenue, order count, and average order value.
  7. Fetch & Process Cancelled Orders

    • A separate WooCommerce branch fetches orders with status Cancelled.
    • Cancelled orders are filtered to the last 24 hours using a Code node.
    • A Code node calculates cancelled order count and cancelled revenue.
  8. Merge & Format Sales Data

    • A Merge node combines sales metrics and cancellation metrics.
    • A Code node formats all results into a single JSON object for Slack.
  9. Threshold Check

    • An IF node compares total revenue against a fixed threshold.
  10. Send Slack Alerts

  1. Activate Workflow

How To Customize Nodes

Add-ons (Optional Enhancements)

Use Case Examples

> Many more business scenarios can be addressed based on your store’s needs.

Troubleshooting Guide

IssuePossible CauseSolution
No Slack alert receivedRevenue did not exceed thresholdCheck threshold or test with lower value
Workflow failsWooCommerce API errorVerify API credentials and permissions
Revenue or cancellation shows zeroOrders filtered outValidate order status and date logic
Slack message not sentWrong Slack credentialsReconnect Slack node
Orders missingTimezone mismatchAlign WooCommerce and n8n timezone

Need Help?

Need help setting up this workflow or customizing it further?

Our n8n workflow development team at WeblineIndia can assist you with implementation, add-ons, performance optimization and building similar n8n automations tailored to your business needs.

👉 Contact WeblineIndia today to automate smarter and scale faster.

đź”— Nodes Used

Slack, WooCommerce, Schedule Trigger, Filter

📥 Import

Download workflow.json and import into n8n: Workflow menu → Import from File

📖 Importing guide · 🔑 Credential setup