# Resolve ecommerce order exceptions with Claude and Slack: n8n workflow

> Started by another system calling it, and works across Slack. 24 steps, 2 branches: large, and worth reading before you trust it with anything live.

Source: https://millionrounds.com/workflow/resolve-ecommerce-order-exceptions-with-claude-and-slack (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)

# Resolve ecommerce order exceptions with Claude and Slack

Started by another system calling it, and works across Slack. 24 steps, 2 branches: large, and worth reading before you trust it with anything live.

Large

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fresolve-ecommerce-order-exceptions-with-claude-and-slack)

**24 steps** Large: read it before trusting it with anything live

**2** Branches: places the flow splits

**0** Loops or waits

**1** Service it connects to

## The flow

Starts it 2 Logic 11 Service 11

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

- 1 **Webhook - New Order Exception** Webhook *Starts it*
- 2 **Manual Trigger - Test Run** Manual trigger *Starts it*
- 3 **Set - Config** Set *Logic*
- 4 **Set - Sample Exception Payload** Set *Logic*
- 5 **HTTP Request - Fetch Order Details** Http Request *Service*
- 6 **HTTP Request - Fetch Customer Profile & History** Http Request *Service*
- 7 **HTTP Request - Fetch Inventory & Substitute SKUs** Http Request *Service*
- 8 **Merge - Combine Order Context** Merge *Logic*
- 9 **JS - Build Decision Context** Code *Logic*
- 10 **HTTP Request - Claude: Decide Resolution Action** Http Request *Service*
- 11 **JS - Parse & Validate Decision** Code *Logic*
- 12 **JS - Log Decision (Pre-Execution)** Code *Logic*
- 13 **Switch - Route To Action Executor** Switch *Logic*
- 14 **HTTP Request - Execute: Reissue Payment Link** Http Request *Service*
- 15 **HTTP Request - Execute: Substitute SKU** Http Request *Service*
- 16 **HTTP Request - Execute: Reroute Carrier** Http Request *Service*
- 17 **HTTP Request - Execute: Issue Store Credit** Http Request *Service*
- 18 **HTTP Request - Execute: Refund Order** Http Request *Service*
- 19 **Slack - Escalate To Human** Slack *Service*
- 20 **JS - Merge Execution Result** Code *Logic*
- 21 **JS - Log Decision (Post-Execution)** Code *Logic*
- 22 **IF - Skip Notification For Escalations** If *Logic*
- 23 **HTTP Request - Notify Customer Of Resolution** Http Request *Service*
- 24 **Set - Case Closed No Customer Notice (Escalated)** Set *Logic*

## How it's built

- **Starts on:** Another system calling it
- **Steps:** 24, with 2 branches
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Slack
- **Model:** None. This is plumbing, not judgement

## Questions

What does it need to run?

An n8n account, plus your own Slack account. 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?

Take your time. At 24 steps it is large: read it before trusting it with anything live.

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 24 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%2Fresolve-ecommerce-order-exceptions-with-claude-and-slack)
- **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)

## Workflows like it

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

- [**Automate demand forecasting & inventory ordering with MySQL** 24 steps · MySQL, Slack](https://millionrounds.com/workflow/automate-demand-forecasting-and-inventory-ordering-with-mysq)
- [**E-commerce Order Confirmation with Airtable and Gmail** 24 steps · Airtable, Gmail](https://millionrounds.com/workflow/e-commerce-order-confirmation-with-airtable-and-gmail)
- [**Triage warranty claims and issue RMAs with OpenAI and Shopify** 24 steps · calls a model · Airtable, Gmail](https://millionrounds.com/workflow/triage-warranty-claims-and-issue-rmas-with-openai-and-shopif)
- [**Manage inventory reorders with Google Sheets and Slack** 22 steps · Gmail, Google Sheets](https://millionrounds.com/workflow/manage-inventory-reorders-with-google-sheets-and-slack)
- [**Route ecommerce risk and inventory decisions with Claude** 26 steps · Postgres, Slack](https://millionrounds.com/workflow/route-ecommerce-risk-and-inventory-decisions-with-claude)
- [**Score Shopify customer churn risk and sync results** 22 steps · Gmail, Slack](https://millionrounds.com/workflow/score-shopify-customer-churn-risk-and-sync-results)
