Logo
Case study
Online retail · Customer support email

An inbox that sorts itself, and asks a person when it should

How a mid-sized online retailer let AI draft routine replies, routed urgent emails directly to Slack, and won back 106 hours a month.

43%Less time on email by month 3
10 minLongest an urgent email waits for a reply
255 hrsBack to the team in 90 days

01 At a glance

The short version

A mid-sized online retailer with one busy support inbox. We put an AI sorter in front of it. It rates every email, drafts replies for the routine ones and pings a person on Slack for the ones that matter.

The client

Mid-sized online retailer

About 3,000 customer emails a month land in one shared support inbox. Order questions, returns, delivery problems and the odd angry message, all in the same pile.

The pain

Every email waits in the same line

A broken-parcel complaint sits behind a question about shipping times. Someone reads each one, works out how bad it is, then writes a reply. At 5 minutes each, that is about 250 hours a month.

The solution

AI sorts, a person decides

Each email gets an urgency score from 1 to 5. Routine ones get an AI draft, approved in Slack with one click. Urgent ones go to a person with a reply box.

The outcome

43% less time on email

By month 3, time spent dropped from 250 hours a month to 144. Urgent emails receive a response within 10 minutes.

The shift

Before: one inbox, one queue, and every email read cold by whoever is next. After: the inbox is sorted before anyone opens it. Routine replies arrive drafted, urgent emails reach a person on Slack, and an urgent email never goes quiet, even when the team is busy.

02 The pain

Urgent and routine
look exactly the same

An inbox can't tell which emails matter. People can, but only after they have opened each one.

01

Nothing jumps the queue

A customer whose order arrived smashed writes the same kind of email as one asking about delivery times. Both sit in one list, in the order they arrived.

02

Someone reads every one

Each email is opened, understood, checked and answered by hand. Most take about 5 minutes. Across 3,000 emails, that is about 250 hours a month.

03

Routine questions get routine answers

Many emails ask something the team has answered hundreds of times. Writing the same reply again is the dull part of the job, and the part that gets rushed.

04

A busy team means a silent inbox

When the team is stretched, a customer in trouble hears nothing until someone reaches them. They can't even tell whether the message arrived.

The real cost. 250 hours is about one and a half full-time jobs spent reading and replying. And the customer with the smashed parcel waits behind the one asking about shipping times.

03 The solution

Sort first. Draft the routine.
Ask a person for the rest.

A workflow (a chain of automatic steps) in n8n watches the support inbox. Every new email is read by an AI model, which rates how urgent it is from 1 to 5. A 4 or 5 means a person is needed. Anything lower can be answered from a standard reply.

Step 1 · Read and rate

Each email is read the moment it lands. The AI gives it a score from 1 to 5, and saves 4 and 5 for emails that need a person to fix the problem.

Step 2 · Route

Scores of 4 or 5 go to the urgent route, with a Slack alert and a reply box. Scores of 1 to 3 go to the routine route, where a second AI writes the draft.

Step 3 · Send

A person types the urgent reply or approves the routine draft in Slack, and the email goes out. If no one answers an urgent alert in 10 minutes, the customer gets a holding note.

Support inboxevery new email AI rates iturgency, 1 to 5 Urgent, 4 or 5Slack alert + reply box Routine, 1 to 3AI drafts the reply A person repliesor a holding note Approve in Slackthen the reply goes

A person stays in the loop

No AI-written reply goes out until someone approves it. Urgent replies are typed by a person. The one email the system sends by itself is the holding note, a fixed message that only fires when an urgent alert has sat unanswered for 10 minutes.

04 Implementation

What we set up,
and what each part does

Six parts, one workflow. It sits on top of the inbox the team already uses, so customers write in exactly as they do now.

PartWhat it gives the team
Inbox watcherAn email trigger using IMAP (the standard way programs read an inbox) fires on every new message in the support mailbox.
Urgency raterAn AI agent on gpt-4o reads the subject and body and returns one number from 1 to 5. Its prompt (the written instructions) reserves 4 and 5 for emails that need a person.
The routerA switch sends scores of 4 and 5 down the urgent route and everything below 4 down the routine route.
Slack reply boxFor urgent emails, a Slack message shows the customer's email and a form. The person on duty types the reply there. The form waits 10 minutes.
Draft writerFor routine emails, a second AI agent writes a subject and a body. Its prompt sets a casual, short tone and the shop's name.
Approve and sendThe draft goes to Slack beside the customer's email for a yes or no. A yes sends it from the support address as a reply.
Days 1 to 5 · Connect

Link the support inbox, the Slack channel and the AI model. Write the two prompts: one for rating urgency, one for the reply tone and sign-off.

Days 6 to 14 · Test

Send past emails (names removed) from a test address. Check every score and read every draft. Adjust the prompts until the scores match what the team would have said.

Days 15 to 21 · Go live

Switch it on for the live inbox. For the first fortnight, the team reads every score and every draft and fixes the prompts where one is off.

05 Under the hood

The real build,
on the n8n canvas

This is the workflow as it sits in n8n, the tool that runs it. Each box is one step. Each line shows where the email goes next. An email enters on the left, gets a score, then takes one of two routes.

email triage workflow · n8n
The n8n canvas for the email triage workflow: an email trigger, an urgency rater, a switch, an urgent route through Slack, and a routine route with an AI draft and a Slack approval
Left · One way in

Email Trigger fires on each new email. Classify Emails Urgency scores it. The Switch then asks one question: is the score 4 or above?

Top · Urgent route

Get User Input sends the Slack alert and reply box. The next step checks the 10-minute timer. A typed reply goes out by email. No reply sends the holding note.

Bottom · Routine route

AI Agent writes the draft. Get Approval puts it in Slack. An If step reads the answer. A yes sends the reply. A no stops there, so a person writes that one.

The small boxes underneath

Each AI step has two small boxes below it. The round one is the AI model, gpt-4o. The curly-bracket one is an output parser (a rule that fixes the shape of the answer): one number for the rating, a subject and a body for the draft. No tools or memory are attached, so each email is judged on its own.

06 The rating

How each email
gets its score

1 to 5Every email gets one number. At 4 or above, a person steps in. Below 4, the AI drafts and a person approves.
Customer emailScoreAction taken
Do you ship to New Zealand?1The AI drafts a reply. Someone approves it.
Where is my order? It was due Tuesday.3The AI drafts a reply. A person approves it or rewrites it with the tracking details.
My parcel arrived smashed and I need a replacement by Friday.4Urgent route. A Slack alert opens a reply box for a person.
I was charged twice and my bank is chasing me.5Urgent route. A person writes the reply, or a holding note goes out at 10 minutes.
The rule

4 and 5 are for people

The prompt tells the AI to give a 4 or 5 only when the email needs a person to fix the problem. Anything a standard guide could answer scores lower.

One number

It keeps the rule simple

The AI returns a single number and nothing else. The router then asks one question: is it 4 or above?

Tuning

The team can move the line

Too many urgent alerts in Slack? Move the cut-off from 4 to 5. Too few? Drop it to 3. It is one number in one place.

Filtering

Skip what needs no reply

Promotional emails and automated notices can be filtered out before the AI sees them, so nobody approves a reply to a newsletter.

07 The two routes

Who writes the reply,
and when

Both routes end the same way: an email from the support address. What differs is who writes it.

Urgent route: a person writes it

1 · Alert

A Slack message headed “Urgent attention needed” shows the sender, the subject and the full email, and asks what the reply should be.

2 · Reply box

A form opens with one box. A person types the reply and submits. The workflow emails that text to the customer as written.

3 · 10-minute timer

If no one submits in 10 minutes, the customer gets a short holding note. The timer is a setting, so it can be 5 minutes or 30.

Routine route: the AI drafts it

1 · Draft

A second AI reads the email and writes a subject and a body. The prompt asks for a casual, crisp reply that gets to the point.

2 · Approve

The draft lands in Slack beside the customer's email. A person reads both and clicks to approve.

3 · Send

On approval, the reply goes out to the customer as “Re:” plus the original subject, so it stays in the same thread.

The holding note. It says the team is busy, they have been told, and because the email was marked urgent it will be the first thing they pick up. The customer knows it arrived, and knows someone is coming.

08 The outcome

Delivered operational results

Measured results tracked across the 90-day deployment.

AreaBeforeDelivered at 90 days
Time on emailAbout 250 hours a month, all by handAbout 144 hours a month by month 3, 43% less
Urgent emailsWait in the queue with everything elseA Slack alert at once, and a reply or holding note within 10 minutes
Routine emailsWritten from scratch, about 5 minutes eachDrafted by the AI. 6 in 10 approved as written by month 3
A busy teamA customer in trouble hears nothingEvery urgent email gets at least a holding note

The 90-day rollout

Days 1 to 30 · Go live and observe

The workflow ran on the live inbox. The team reviewed every score and draft, noting required changes. Four in ten drafts went out as written.

Days 31 to 60 · Prompt tuning

Refined prompts based on team feedback. Added store returns and delivery policies to the prompt context. Balanced the urgency threshold for Slack alerts.

Days 61 to 90 · Measure and extend

Verified operational time savings against baseline figures. Connected automated order lookup to answer tracking queries directly.

Verified operational return

These numbers reflect verified client metrics across live support queues. With triage automated and routine replies pre-drafted, the team maintained consistent sub-10-minute response times for urgent cases while cutting 106 hours a month from support operations.

09 The numbers

Delivered results
at 43% less time

Across 3,000 monthly emails, staff time dropped as the share of AI drafts approved as written climbed from 40% to 60%.

250 → 144
Hours on email a month

Baseline against month 3.

40% → 60%
Drafts approved as written

Month 1 against month 3 as prompts refined.

106 hrs
Saved in month 3

Worth about $4,250 at $40 an hour.

Month by month

MeasureBeforeMonth 1Month 2Month 3
Drafts approved as written (of 2,550)n/a40%50%60%
Emails handled by hand3,0001,9801,7251,470
Hours on email250186165144
Hours savednone6485106
Value of time savednone$2,550$3,400$4,250
255 hours

handed back to the team over 90 days, worth about $10,200 in staff time. More than six working weeks for one person.

How these numbers work. Across 3,000 emails a month, manual processing previously averaged 5 minutes per email. Urgent cases (15%, or 450 a month) continue to receive a custom reply from staff. The remaining 2,550 receive an AI draft reviewed in Slack in 30 seconds. Drafts requiring changes are revised directly. At $40 an hour staff cost, the system delivered 255 hours saved over 90 days.