Skip to content

Helpdesk Phase A In-progress

Helpdesk gives merchants a complete customer-support workspace: customers raise support tickets, agents work them through a tracked lifecycle, SLA policies keep response times honest, and a knowledge base plus satisfaction surveys close the loop. It is used by customers, support agents, and support managers.

WARNING

Status reality check. The backend (@nx/helpdesk) is largely written — full domain model, ticket lifecycle, SLA workers, assignment, knowledge base, surveys — but the package's TypeScript build currently fails (a dead assignTicketUseCase reference). Nothing is deployable or verifiable end-to-end until that is repaired, so capabilities below are marked In-progress rather than Built. See the Status & Roadmap.

1. Identity

PropertyValue
Module IDCORE-13
TierCore
StatusIn-progress
PhaseP1 (Tickets + SLA), P2 (Knowledge Base + Surveys), P3 (Advanced Automation)
PriorityMEDIUM
Primary usersCustomer · Support Agent · Support Manager

2. Purpose & Scope

IncludedExcluded
Support ticket lifecycle (create → resolve → close)AI-assisted reply suggestions (future)
Threaded messages: customer, agent, internal notesPredictive SLA breach warning (future)
File attachments on messagesOmni-channel intake (email, Zalo OA, Messenger)
Ticket categories, priorities, tagsCustomer-facing self-service portal (future)
SLA policies, per-ticket tracking, multi-level escalationSLA reporting dashboards (Reports module)
Agent profiles, groups, and routing rulesIssuing user accounts / login (User Management)
Knowledge base articles + feedback
CSAT / NPS / CES surveys, feature-request voting
Real-time + email notifications

3. Capabilities

CapabilityWhat the user can doStatus
Ticket managementCreate, assign, message, resolve, and close support tickets through an 8-state lifecycleIn-progress
Internal notesAgents collaborate on a ticket privately; customers never see internal notesIn-progress
SLA trackingDefine response/resolution targets per priority; the system warns before and flags after a breachIn-progress
Auto-assignmentRoute new tickets to the best available agent via configurable strategiesIn-progress
EscalationMulti-level (L1→L2→L3) auto-escalation on SLA breach, plus manual escalationIn-progress
Agent managementProfiles, availability status, skills, groups, and workload capsIn-progress
Knowledge basePublish articles customers can read and rate to self-serveIn-progress
Surveys & feedbackTrigger CSAT/NPS/CES after resolution; collect feature requests with votingIn-progress
CompensationIssue store credit, voucher, refund, or discount on a ticketIn-progress
NotificationsReal-time (WebSocket) and email alerts on ticket events, with preferencesIn-progress

4. Module Dependencies

Depends onWhy
User ManagementCustomer and agent accounts; agents are users linked to a merchant
CommerceMerchant scope and order/product context used to enrich a ticket
Signal (real-time)Delivers live ticket updates to agents and customers
ReportsConsumes SLA-compliance and satisfaction data

5. Backend Packages

Implementation detail lives in the developer docs — this section only maps the module to the service that powers it.

PackageRoleDeveloper docs
@nx/helpdeskOwns the entire helpdesk domain: tickets, SLA, assignment, knowledge base, surveys, notificationshelpdesk

The package's build is currently broken — see the developer Operations → Known Issues.

6. Key User Flows

7. Roles & Permissions

RoleCanCannot
CustomerSubmit and reply to own tickets, confirm resolution, read/rate articles, submit feature requestsSee internal notes, view other customers' tickets
Support AgentView assigned tickets, reply, add internal notes, change status, add tags, issue compensationConfigure SLA policies or assignment rules
Support ManagerAll agent actions, plus configure SLA policies, assignment rules, categories; manually escalateCross-merchant access

8. Status & Roadmap

Module status: In-progress. The code for P1 and most P2 exists but the package does not currently build, so no capability is verifiable as shipped. Phases below describe the intended delivery sequence.

PhaseCapabilities
P1Ticket CRUD + lifecycle, threaded messages, internal notes, SLA policies + tracker, auto-assignment, agents/groups, escalation, audit trail, real-time notifications, compensation
P2Resolution confirmation, knowledge base + feedback, CSAT/NPS/CES surveys, feature-request voting, email notifications + preferences, agent performance metrics
P3AI-suggested replies, predictive SLA breach, customer self-service portal, omni-channel intake, ML-assisted skill routing

Proprietary and Confidential. Unauthorized copying, distribution, or use of this software is strictly prohibited.