# How do CSAT and NPS surveys measure customer sentiment and service quality after case resolution?

**Topic:** Service Cloud · **Difficulty:** Medium · **Tags:** Service Cloud, Customer Surveys, CSAT and NPS

Read it on the site: https://www.forcechallenges.com/interview-questions/how-do-csat-and-nps-surveys-measure-customer-sentiment-and-service-quality-after-case-resolution

## Answer

**Basics:** CSAT asks how satisfied the customer was with this interaction (rating scale). NPS asks how likely they are to recommend you on a 0-10 scale: 9-10 promoters, 7-8 passives, 0-6 detractors; NPS = percent promoters minus percent detractors. Surveys are not automatic; you must build the trigger.

**How it works:**
1. Enable Feedback Management in Setup and assign permissions.
2. Build a survey in Survey Builder with rating or NPS questions and branching.
3. Create a record-triggered flow on Case when Status changes to Closed, with a short delay or scheduled path, then call the Send Survey Invitation action (invitation includes a link and subject).
4. The customer answers via email link, Experience Cloud, or embedded; data is stored in SurveyInvitation, SurveySubject (linking to the Case), SurveyResponse and SurveyQuestionResponse.
5. Report on survey data with the Survey report types, or add dashboards.

**Advanced / deep dive:** Choose between transactional surveys (after case) and relational (periodic) for NPS. Avoid survey fatigue by suppressing invites to contacts recently surveyed. Tie scores to agents, queues and categories using the case. Responses can trigger follow-up: a detractor flow creates a task or reopens a case. Licensing: a limited number of survey responses is included in some editions with higher volumes needing add-on licenses; verify current edition entitlements. Mobile and Experience Cloud sites need public survey access settings and secure guest configuration.

**Code / config example:**
Flow logic: Trigger Case after update where Status = Closed and Prior Status != Closed. Decision: Contact has email and not surveyed in last 30 days. Action: Send Survey Invitation (Survey, Contact, Subject = Case). Path: if SurveyResponse NPS under 7, Create Task for the manager.

**Hidden gotchas & must-remember points:**
- Surveys must be triggered by Flow or Apex; closing a case alone does nothing.
- Contacts without valid email cannot receive invitations.
- Survey features and limits depend on license; free tier response counts are limited.
- NPS calculation is not stored as a number; compute it in reports.
- Anonymous links mean no sharing to the Case unless the subject is set.
- Older Chat or Classic surveys differ from Lightning Surveys.

**Best practice:** Survey once per resolved case, review detractor responses quickly, and close the loop with customers.

---
Source: ForceChallenges · last updated 2026-11-02
