Automation library · E-commerce

Detect WooCommerce order fraud and send alerts to Slack

Started by a clock, and works across Slack and WooCommerce. 18 steps, 6 branches: a working afternoon to understand properly.

Medium

18 stepsMedium: a working afternoon
6Branches: places the flow splits
0Loops or waits
2Services it connects to

The flow

Starts it 1Logic 15Service 2

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

  1. 1Cron: Fetch OrdersSchedule triggerStarts it
  2. 2Fetch Order (WooCommerce)Woo CommerceService
  3. 3Normalize Order DataSetLogic
  4. 4Initialize Fraud FlagsSetLogic
  5. 5Check Eligible Status (Pending/Processing)IfLogic
  6. 6Check Address MismatchIfLogic
  7. 7Check High Value (>500)IfLogic
  8. 8Prepare EmailSetLogic
  9. 9Check Admin Created OrderIfLogic
  10. 10Flag: Address MismatchSetLogic
  11. 11Flag: High Value OrderSetLogic
  12. 12Detect Disposable EmailIfLogic
  13. 13Mark Admin OrderSetLogic
  14. 14Merge Fraud SignalsMergeLogic
  15. 15Flag: Suspicious EmailSetLogic
  16. 16Calculate Fraud ScoreCodeLogic
  17. 17Fraud Threshold CheckIfLogic
  18. 18Send Slack Fraud AlertSlackService

How it's built

Starts on
A clock
Steps
18, with 6 branches
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. 18 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 18 steps before you point it at anything that matters.