# Monitor WooCommerce daily revenue spikes and send Slack alerts: n8n workflow

> Started by a clock, and works across Slack and WooCommerce. 14 steps, 1 branch: a working afternoon to understand properly.

Source: https://millionrounds.com/workflow/monitor-woocommerce-daily-revenue-spikes-and-send-slack-aler (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [E-commerce](https://millionrounds.com/workflows?category=E-commerce#library)

# Monitor WooCommerce daily revenue spikes and send Slack alerts

Started by a clock, and works across Slack and WooCommerce. 14 steps, 1 branch: a working afternoon to understand properly.

Medium

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fmonitor-woocommerce-daily-revenue-spikes-and-send-slack-aler)

**14 steps** Medium: a working afternoon

**1** Branch: places the flow splits

**0** Loops or waits

**2** Services it connects to

## The flow

Starts it 1 Logic 10 Service 3

The steps in the order they run, from what starts it.

- 1 **Daily Revenue Spike Monitor** Schedule trigger *Starts it*
- 2 **Fetch WooCommerce Orders** Woo Commerce *Service*
- 3 **Filter Paid Orders (Completed / Processing)** Filter *Logic*
- 4 **Filter Paid Orders (Completed / Processing)** Filter *Logic*
- 5 **Filter Orders from Last 24 Hours** Code *Logic*
- 6 **Filter Orders from Last 24 Hours2** Code *Logic*
- 7 **Calculate Top Products (24h)** Code *Logic*
- 8 **Calculate Total Revenue (24h)** Code *Logic*
- 9 **Calculate Cancelled Metrics (24h)** Code *Logic*
- 10 **Merge** Merge *Logic*
- 11 **Format Sales Data** Code *Logic*
- 12 **Revenue Spike Threshold Check** If *Logic*
- 13 **Send Slack Sales Spike Alert** Slack *Service*
- 14 **Progress Alert (Target Pending)** Slack *Service*

## How it's built

- **Starts on:** A clock
- **Steps:** 14, with 1 branch
- **Size:** Medium: a working afternoon
- **Connects to:** Slack, WooCommerce
- **Model:** None. This is plumbing, not judgement

## Questions

What does it need to run?

An n8n account, plus your own Slack and WooCommerce accounts. You connect your own accounts after importing it; none are included.

What starts it?

It starts on a clock.

Does it use AI?

No. Every step is fixed logic or a call to a service, so it does the same thing every time.

How long does it take to set up?

Plan an afternoon. 14 steps is enough that you should read each one before running it.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

**Before you run it**

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 14 steps before you point it at anything that matters.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fmonitor-woocommerce-daily-revenue-spikes-and-send-slack-aler)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Connects to

Each opens the other workflows that use it.

[Slack](https://millionrounds.com/workflows?service=Slack#library)[WooCommerce](https://millionrounds.com/workflows?service=WooCommerce#library)

## Workflows like it

Also e-commerce, with the same services where possible, closest in size first.

- [**Generate studio product photos for new Shopify products** 14 steps · Shopify, Slack](https://millionrounds.com/workflow/generate-studio-product-photos-for-new-shopify-products)
- [**Monitor Shopify stores for new products with BrowserAct** 14 steps · Google Sheets, Slack](https://millionrounds.com/workflow/monitor-shopify-stores-for-new-products-with-browseract)
- [**Monitor WooCommerce inventory daily and send Slack alerts** 14 steps · Slack, Supabase](https://millionrounds.com/workflow/monitor-woocommerce-inventory-daily-and-send-slack-alerts)
- [**Restyle seasonal Shopify product images with Slack** 14 steps · Shopify, Slack](https://millionrounds.com/workflow/restyle-seasonal-shopify-product-images-with-slack)
- [**Route purchase order approvals and budget alerts with Gmail** 14 steps · Gmail, Google Sheets](https://millionrounds.com/workflow/route-purchase-order-approvals-and-budget-alerts-with-gmail)
- [**Create e-commerce listings from images with UploadToURL** 14 steps · calls a model · Shopify, Slack](https://millionrounds.com/workflow/create-e-commerce-listings-from-images-with-uploadtourl)
