How do article ratings and feedback loops help maintain high-quality knowledge bases?
Answer
Basics: Content decays: products change, steps stop working. Rather than guess, collect signals from readers: helpful or not-helpful votes, comments or feedback forms, view counts, and how often agents attach the article to cases. These data points drive a review queue.
How it works: Voting is available to internal users and to customers in Experience Cloud (using the article rating or vote component). Salesforce records data in the Vote object and aggregates it in KnowledgeArticleVoteStat (score by channel) and KnowledgeArticleViewStat (views by channel). Reports and dashboards (Knowledge report types, Articles with Cases) combine these with case attachments. Managers filter low-scoring or high-traffic articles, then assign draft edits to authors, using the assign-to and approval features. Additional feedback can come from Salesforce Surveys or a feedback component for free-text comments. Star rating versus thumbs depends on the UI and release, so verify the current options in your org.
Advanced / deep dive: Interpret scores carefully: a low score with high views is the priority; a low score with few votes is noise. NormalizedScore is a 0 to 5 scaled value computed by Salesforce. Segment by channel (App, Csp, Prm, Pkb) since internal and external readers rate differently. Close the loop: link poor ratings to a Flow that creates a task or draft for the article owner, and track time-to-fix. Use "attached to cases that were reopened" as a stronger quality signal than votes, since few readers vote. Expiration dates and review cycles (review-by date fields) complement ratings. Also test search effectiveness: articles that rank poorly may be invisible rather than bad.
Code / config example:
-- Lowest-rated articles across all channels (ParentId is the KnowledgeArticle Id)
SELECT ParentId, NormalizedScore
FROM KnowledgeArticleVoteStat
WHERE Channel = 'AllChannels'
ORDER BY NormalizedScore ASC
LIMIT 20
-- Most viewed
SELECT ParentId, ViewCount FROM KnowledgeArticleViewStat
WHERE Channel = 'AllChannels' ORDER BY ViewCount DESC LIMIT 20
Hidden gotchas & must-remember points:
- Stat objects are keyed to the master KnowledgeArticle Id, not a version Id.
- Stats are aggregated asynchronously, so recent votes can lag.
- Each user can vote once per article; changing the vote replaces it.
- Customers must be able to see the article in their channel to vote on it.
- Low vote counts make scores unreliable.
- Rating UI and field names differ between Classic and Lightning; verify before building reports.
Best practice: Review the lowest-scoring, high-traffic articles on a fixed cadence and track fixes to completion.