• CONTEXT
  • SOLUTIONS
  • DRAFTS
  • ESCALATION

How to retrieve case history and knowledge with your AI

Connect Salesforce Service Cloud once. After that, your AI can pull old logs and search your documentation on demand.

Ask AI about this page

Short answer

How can I get case history and knowledge using my AI?

Your AI pulls previous case comments and searches your existing knowledge base to find documented solutions. You'll get a clear view of what happened in the past and how to fix it now.

The outcomes.

Where your data lands.

The AI pulls information from Salesforce and brings it directly into your chat.

CONTEXT

Historical context

The AI pulls old case comments to show you what happened in previous interactions. You get the full story of a customer's history without clicking through tabs.

SOLUTIONS

Documented fixes

The AI searches your knowledge base for existing articles. It finds the specific steps needed to solve the current issue.

DRAFTS

Ready-to-use replies

By combining history and knowledge, your AI drafts responses that match your company's documented procedures. You just review and send.

ESCALATION

Human intervention

If the AI can't find a matching solution in your knowledge base or logs, it flags the issue for you to handle manually.

The workflow

What your AI does when the request arrives.

The AI acts as a bridge between your chat and your Salesforce data.

  1. Gathering history

    The AI looks up the specific case to see what has been said previously. It pulls all relevant notes and comments.

    sf_case_comments
  2. Finding answers

    The AI scans your Salesforce knowledge articles to find a match for the problem described. It looks for documented solutions.

    sf_search_knowledge
  3. Synthesizing info

    The AI combines the old comments with the new knowledge articles. It builds a coherent summary of the situation.

    sf_case_commentssf_search_knowledge
  4. Presenting results

    The AI delivers the summary and the suggested solution to your chat window. You decide if it's accurate.

    sf_search_knowledge

Try it

Copy these to start.

Use these prompts to trigger the search immediately.

Starting points

These are opening lines. Swap out the bracketed text with your actual Salesforce case numbers or keywords.

Salesforce Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_KdDlq0Ckno1sO3tmxIrcfXtlGyLNm1znPiejmNqh/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat — Salesforce capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "salesforce-service-cloud-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_KdDlq0Ckno1sO3tmxIrcfXtlGyLNm1znPiejmNqh/mcp"
    }
  }
}
Copy into chat04
  • Look up the history for case [Case Number] and tell me what happened.

  • Search the knowledge base for solutions regarding [Issue Type].

  • Based on the comments in case [Case Number], what is the current status?

  • Find a knowledge article that explains how to fix [Specific Error Code].

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect Salesforce Service Cloud once, then ask.

You only need to link your account once. Your credentials stay encrypted, and you can start asking questions right away.

Connect Salesforce Service Cloud to your AI

FAQ

How this task behaves.

  • 01

    Can the AI update case comments for me?

    No. The AI can only read existing comments to provide context. You must manually add new comments in Salesforce.

  • 02

    Does the AI create new knowledge articles?

    No. The AI can only search through your existing knowledge base to find answers.

  • 03

    Can I use this with any AI client?

    Yes, as long as the client is MCP-compatible, like Claude, Cursor, or Windsurf.

  • 04

    Will the AI delete any of my Salesforce data?

    No. The tools provided are read-only. The AI cannot delete or modify your records.

  • 05

    How does the AI know which case to look at?

    You need to provide the specific case number or relevant identifiers in your prompt.

  • More questions about Salesforce Service Cloud? The Connector page answers them. See everything the Salesforce Service Cloud Connector can do

Connect Salesforce to Claude, Cursor, ChatGPT & more