# Log ecommerce orders, send Slack alerts: n8n workflow template

> Started by another system calling it, and works across Gmail, Google Sheets and Slack. 15 steps, 2 branches: a working afternoon to understand properly.

Source: https://millionrounds.com/workflow/log-ecommerce-orders-send-slack-alerts (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)

# Log ecommerce orders, send Slack alerts

Started by another system calling it, and works across Gmail, Google Sheets and Slack. 15 steps, 2 branches: a working afternoon to understand properly.

Medium

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Flog-ecommerce-orders-send-slack-alerts)

**15 steps** Medium: a working afternoon

**2** Branches: places the flow splits

**0** Loops or waits

**3** Services it connects to

## The flow

Starts it 4 Logic 5 Service 6

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

- 1 **New Order Received** Webhook *Starts it*
- 2 **Workflow Error Trigger** Error trigger *Starts it*
- 3 **Format Order Data** Set *Logic*
- 4 **Alert Ops on Workflow Failure** Slack *Service*
- 5 **Validate Order Data** If *Logic*
- 6 **Upsert Order to Sheet** Google Sheets *Service*
- 7 **Log Invalid Order** Set *Logic*
- 8 **Classify Order Tier** Switch *Logic*
- 9 **Respond Invalid Order** Respond To Webhook *Starts it*
- 10 **Notify Risk Review Channel** Slack *Service*
- 11 **Notify VIP Channel** Slack *Service*
- 12 **Notify Orders Channel** Slack *Service*
- 13 **Merge Tier Branches** Merge *Logic*
- 14 **Send Order Confirmation Email** Gmail *Service*
- 15 **Respond to Store** Respond To Webhook *Starts it*

## How it's built

- **Starts on:** Another system calling it
- **Steps:** 15, with 2 branches
- **Size:** Medium: a working afternoon
- **Connects to:** Gmail, Google Sheets, Slack
- **Model:** None. This is plumbing, not judgement

## Questions

What does it need to run?

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

What starts it?

It starts on another system calling it.

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. 15 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 15 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%2Flog-ecommerce-orders-send-slack-alerts)
- **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.

[Gmail](https://millionrounds.com/workflows?service=Gmail#library)[Google Sheets](https://millionrounds.com/workflows?service=Google+Sheets#library)[Slack](https://millionrounds.com/workflows?service=Slack#library)

## Workflows like it

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

- [**Automated Shopify abandoned cart recovery with Google Sheets** 15 steps · Google Sheets](https://millionrounds.com/workflow/automated-shopify-abandoned-cart-recovery-with-google-sheets)
- [**Create Shopify product videos from tagged photos with Dreem.AI** 15 steps · Shopify, Slack](https://millionrounds.com/workflow/create-shopify-product-videos-from-tagged-photos-with-dreem-)
- [**Extract purchase orders from PDFs with Google Sheets** 15 steps · Google Drive, Google Sheets](https://millionrounds.com/workflow/extract-purchase-orders-from-pdfs-with-google-sheets)
- [**Monitor Shopify orders and send no-order alerts with Slack** 15 steps · Gmail, Shopify](https://millionrounds.com/workflow/monitor-shopify-orders-and-send-no-order-alerts-with-slack)
- [**Send WooCommerce cross-sell offers to customers with WhatsApp** 15 steps · Google Sheets, WooCommerce](https://millionrounds.com/workflow/send-woocommerce-cross-sell-offers-to-customers-with-whatsap)
- [**Sync WooCommerce customers to Odoo and notify with Gmail** 15 steps · Gmail, Telegram](https://millionrounds.com/workflow/sync-woocommerce-customers-to-odoo-and-notify-with-gmail)
