CUSTOMER OPERATIONS

Customer Resolution System

Helps a support team move a customer case from request to resolution without losing the supporting information, owner, deadlines, or recovery path.

WORKING SYSTEMTESTED END TO END

I built CRS to take a customer request, turn it into a controlled case, check the supporting information, route higher-risk decisions to the right person, send the response, and keep follow-up and recovery visible until the case is closed.

CURRENT EVIDENCE

Designed: complete. Built: complete. Tested: complete. Delivered: not yet complete. Measured: not yet complete

I designed, built, and tested the reference implementation across intake, triage, evidence, response, human and specialist review, case deadlines, controlled Gmail delivery, real reply correlation, recovery, release blocking, and restore.

Claim boundary: This proves the reference implementation and controlled Gmail boundary were tested. It does not prove live client support performance, production scale, production SLA results, ticket deflection, CSAT improvement, cost savings, or ROI.

EXECUTIVE SNAPSHOT

A controlled system for moving a customer request from intake to resolution.

CRS is for support operations where a request may need evidence, a reply, a specialist, a deadline, follow-up, or recovery before the case can safely close.

01 · INPUT

A customer message or case, plus the account and evidence needed to understand what the customer is asking.

02 · WORK

CRS checks the request, evidence, risk, owner, deadlines, and next action before moving the case forward.

03 · OUTPUT

A controlled reply, human or specialist review, follow-up, or closure—with the case history and recovery path still visible.

WHEN YOU WOULD USE IT

When customer requests need more control than a shared inbox or AI reply can provide.

The answer depends on evidenceThe team needs to check account, policy, product, or case information before replying.
Some cases need a personRefunds, exceptions, sensitive changes, or uncertain evidence should not be decided automatically.
Follow-up can be missedThe case may wait on a customer, specialist, deadline, or next action after the first reply.
Failures need recoveryA duplicate event, failed delivery, or stuck case should be visible and recoverable instead of disappearing in the workflow.

WHAT CRS DOES

It keeps the case, evidence, decision, response, and follow-up connected.

01Open the case

Validate the request, prevent duplicates, and connect it to the right customer and case record.

02Check evidence + risk

Understand the request, find what supports the answer, and decide whether automation is allowed.

03Respond or escalate

Prepare a supported reply or send the case to the right person or specialist.

04Track to closure

Keep deadlines, follow-up, resolution, reopening, and recovery visible until the case is done.

THE OPERATING PROBLEM

The hard part is knowing when the system should answer at all.

Customer support becomes risky when the system cannot tell whether it has the right case, enough evidence, the authority to act, or a safe recovery path when something fails.

I designed CRS to make those decisions explicit before automation touches the customer.

Why this matters
A clear answer can still be wrong.

The system needs to know what the evidence supports, who owns the next decision, and what happens if delivery or follow-up fails.

MY ROLE

I designed the rules that decide what happens next.

I defined how a request becomes a case, where AI may help, what evidence is required, when a person must take over, how deadlines and closure work, and how failures become visible. Then I built and tested the reference system in n8n and PostgreSQL.

HOW THE SYSTEM IS SET UP

The case only moves when the next check passes.

I split the system where responsibility changes. Intake, evidence, review, delivery, lifecycle, and recovery each fail in different ways, so they should not live in one large workflow.

01INTAKEValidate · prevent duplicates · find the case
02TRIAGEUnderstand the request
03EVIDENCEFind what supports the answer
04DECIDEAnswer · review · specialist
05RESPONDDraft · check evidence · approve if needed
06LIFECYCLEDeadlines · follow-up · resolve · reopen
07RECOVERFind problems · stop release · recover
MAIN CASE RECORDPostgreSQL

Customer · case · interactions · evidence · decisions · communication · lifecycle · recovery

WHERE AI HELPSGemini

Reads the request and helps draft the reply. It does not decide what the business is allowed to do.

WHERE MESSAGES MOVEGmail

Sends controlled replies and receives customer responses. The case record stays in PostgreSQL.

EVIDENCE BEFORE RESPONSE

A confident answer is not enough. The evidence still has to support it.

CRS checks a controlled knowledge source before deciding what the response can say. Even good evidence does not automatically give the system permission to take a higher-risk action.

SUFFICIENTEnough support for the next decision.
INSUFFICIENTSome support exists, but not enough to rely on.
CONFLICTINGSources disagree, so automation stops.
NOT FOUNDThe system cannot support the answer from its evidence.
CAN MOVE TOWARD AUTOMATION Enough evidence + simple information request + low risk + reply checked against the evidence

Anything outside that narrow path goes to clarification, review, or a specialist.

IMPLEMENTATION VIEW · CRS-03 Evidence decides whether the case can keep moving.

The workflow checks the evidence first. A supported case can continue toward a reply; otherwise it moves to review.

n8n workflow for CRS evidence retrieval and resolution decision

WHEN A PERSON MUST DECIDE

AI can help read the case. People and rules still decide what is allowed.

01
AI helps read the case

It helps classify the request, summarize it, and draft a response.

02
Fixed rules decide what is allowed

Priority, case state, duplicate protection, safe automation, and recovery follow fixed rules.

03
People make the higher-risk decisions

Refunds, exceptions, specialist judgment, and approvals stay with people.

04
The database keeps the record

The case does not depend on workflow memory or an email inbox.

AUTOMATION MAY OWN
  • Duplicate protection
  • Low-risk triage and routing
  • Controlled evidence lookup
  • Low-risk informational reply preparation
  • Deadline checks and case bookkeeping
REQUIRES A PERSON OR SPECIALIST
  • Refunds and credits
  • Policy exceptions
  • Identity-sensitive disclosure
  • High-risk account changes
  • Unsupported or conflicting evidence
IMPLEMENTATION VIEW · CRS-05 Human review is its own responsibility.

The review workflow opens persistent work for a person instead of hiding the handoff inside the automated path.

n8n workflow for CRS human review and specialist routing

AFTER THE FIRST REPLY

The work does not end when a reply is ready.

CRS tracks response, next-action, resolution, customer-wait, and specialist deadlines. It can remind, escalate, close, and reopen while keeping each change visible in the case.

WAITING FOR CUSTOMERReminder 1 → Reminder 2 → Passive close
WAITING FOR SPECIALISTFollow-up → Breach escalation
RESOLUTION PROPOSEDConfirm → Resolve → Close
CUSTOMER RETURNSReopen → Restore active deadlines

RECOVERY + RELEASE CONTROL

When something gets stuck, it becomes visible work.

The recovery layer looks for stuck sends, stuck workflows, overdue reviews, stalled follow-up, delivery failures, and missing audit records.

01DETECTA problem appears
02BLOCKRelease gate becomes BLOCKED
03RECOVERVerify · repair · isolate · resolve
04RE-SCANRelease returns to READY only when blockers clear
BEFORE FAULTREADY
INJECTED FAULTSBLOCKED
AFTER RECOVERYREADY

Delivery safety: if Gmail does not clearly confirm whether a message was sent, CRS does not blindly send it again. The case goes to verification or recovery.

IMPLEMENTATION VIEW · CRS-CTRL-01 Recovery runs as a separate operational loop.

Every 15 minutes, the control workflow scans for problems, records system health, and evaluates whether operations are clear to continue.

n8n workflow for CRS recovery scanning and health evaluation

VALIDATION

I tested the cases most likely to break the system.

01

Duplicate request

The same incoming event cannot start the same work twice.

02

Missing evidence

If the evidence is missing or disagrees, the case goes to review instead of guessing.

03

Unsupported draft

A reply that the evidence does not support cannot be approved.

04

Review ownership

The wrong role cannot take the case, and two reviewers cannot claim it at the same time.

05

Real Gmail test

I sent a controlled email and validated a real reply from a second mailbox in the same thread.

06

Duplicate reply protection

Replaying the same Gmail message does not create a second interaction.

07

Stuck-work test

I deliberately created stuck work and confirmed the release changed from READY to BLOCKED.

08

Recovery

After the problems were resolved, the release returned to READY.

ARTIFACTS TO INSPECT

You can inspect what the system decided and why.

These are sanitized representations of CRS validation fixtures. No private customer records, provider IDs, or credentials are shown.

EVIDENCE BOUNDARY

I can prove the system works. I cannot claim results I have not measured.

I built and tested the reference implementation, including a real Gmail delivery and a real reply from a second mailbox. I do not claim live client support performance, production-scale SLA results, ticket deflection, CSAT gains, cost savings, or ROI.

THIS WORK PROVES
  • Working modular implementation
  • Evidence and authority controls
  • Real provider boundary validation
  • Lifecycle and recovery behavior
  • Release and restore discipline
THIS WORK DOES NOT PROVE
  • Production scale
  • Live customer support performance
  • Measured cost savings
  • Ticket deflection or CSAT improvement
  • Production ROI

WHAT THIS REQUIRED

What I had to get right.

01

Workflow Design

Separated intake, triage, information checking, response, review, case progress and recovery where their ownership or failure rules differ.

02

AI & Automation Implementation

Used AI where language needed interpretation, while keeping business authority in rules and human review.

03

Approved-Information Controls

Made the answer depend on controlled company information, not model confidence alone.

04

Human Review Design

Created review and specialist queues with clear role ownership and recorded decisions.

05

Integration Engineering

Validated provider delivery, thread identity and reply correlation against Gmail.

06

State & Reliability Design

Used durable database state, duplicate protection, case timers, recovery queues, and isolation for unresolved failures.

07

Validation & Controls

Tested failures, uncertainty, duplicates, recovery, and restore as well as successful runs.

CURRENT EVOLUTION

The next proof has to come from live operation.

The reference implementation is tested, including a real Gmail delivery and a real reply from a second mailbox. Next: adapt it to a real service operation, set the business-specific policies and delivery controls, observe live use, and only then make production-performance claims.

Need a support system where AI helps without making the risky decisions? Discuss a Project → ← View all selected work