# How do Suggested Articles assist support agents in resolving inquiries faster without manual searching?

**Topic:** Service Cloud · **Difficulty:** Medium · **Tags:** Service Cloud, Suggested Articles, Case Deflection

Read it on the site: https://www.forcechallenges.com/interview-questions/how-do-suggested-articles-assist-support-agents-in-resolving-inquiries-faster-without-manual-searching

## Answer

**Basics:** Agents lose time searching. A Knowledge component on the case page automatically runs a search using case text (subject by default) and lists matches, so one click attaches the article to the case or sends it to the customer. This improves consistency and reduces handle time.

**How it works:** Enable Lightning Knowledge, add the Knowledge component to the Case record page in Lightning App Builder, and give agents the Knowledge User permission. The component searches using Case fields and shows results; agents can preview, Attach to Case (creating a `CaseArticle`), insert into email, or share a link. Einstein Article Recommendations (Service Cloud Einstein, now folded into Agentforce for Service branding; verify licensing) trains a model on case-to-article attachment history and ranks suggestions by predicted relevance. Embedded in messaging, the agent sees suggestions for the live conversation.

**Advanced / deep dive:** Keyword matching is weak on short or noisy subjects, so add data categories or filters, and encourage agents to attach articles consistently, because attachment data is the training signal for Einstein recommendations. Results respect channel and data category visibility, so an agent without access to a category will not see its articles. For custom logic use SOSL (`FIND ... RETURNING Knowledge__kav`) or the Knowledge REST resources. Measure effectiveness with the report on articles attached to cases, case deflection in the portal (searches that did not become cases) and handle time. Self-service deflection (suggesting articles before case creation) uses the same content with the Experience Cloud case form.

**Code / config example:**
```apex
// Programmatic suggestion by text, then attach one article to a case
List<List<SObject>> res = [FIND :searchTerm IN ALL FIELDS
  RETURNING Knowledge__kav(Id, Title, KnowledgeArticleId
    WHERE PublishStatus = 'Online' AND Language = 'en_US' LIMIT 5)];
List<Knowledge__kav> hits = (List<Knowledge__kav>) res[0];
if (!hits.isEmpty()) {
  insert new CaseArticle(CaseId = caseId, KnowledgeArticleId = hits[0].KnowledgeArticleId);
}
```

**Hidden gotchas & must-remember points:**
- CaseArticle references KnowledgeArticleId, not the version Id.
- Einstein recommendations need enough historical attachments to train; new orgs get weak results.
- Suggestions only show articles the agent can see (published, channel, category).
- SOSL on knowledge requires a PublishStatus filter and is limited to 2,000 results.
- The component's default search uses subject text; poor subjects mean poor suggestions.
- Einstein/Agentforce branding and licensing change by release; verify current names.

**Best practice:** Train agents to attach the article they used on every case, which improves recommendations and gives measurable article usage.

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