Salesforce and Claude Integration
How Does Data 360 Grounding Change AI Agent Accuracy?
Short answer
Data 360 grounding improves agent accuracy by giving the agent a harmonized, identity-resolved view of the customer and indexed, current knowledge instead of one record at a time. It also adds new failure modes, such as wrong identity merges and stale streams, so accuracy depends on testing each layer: source data, profile, retrieval and the agent.
- →Most wrong answers are context failures: the agent reasoned correctly from bad data.
- →Data 360 adds a unified profile and retrieval, which fixes the "one record" blind spot.
- →Identity resolution and data freshness become the new accuracy risks.
- →Test source, profile, retrieval and agent separately to find where errors start.
When an agent gives a wrong answer, the instinct is to blame the model or rewrite the prompt. In Salesforce deployments, the cause is more often upstream: the agent was handed an incomplete record, a stale order status or two conflicting policy documents, and it did exactly what it should with what it was given. Grounding is how you control what it is given.
What does grounding mean for a Salesforce agent?
Grounding
Supplying an AI agent with specific, current facts from trusted sources at the moment it answers, so its response is based on your data rather than the model’s general knowledge.
Data 360 (the product previously called Data Cloud) is Salesforce’s data layer for this. It ingests data from Salesforce and outside systems, maps it to a common model, resolves identities into unified profiles, and can index unstructured content such as knowledge articles, PDFs and transcripts for retrieval. Agentforce can use that data in prompt templates, retrievers and actions. Custom Claude agents can reach it too, through APIs or MCP, which saves rebuilding identity logic outside Salesforce.
How does accuracy change with and without it?
| Question type | Without unified grounding | With Data 360 grounding |
|---|---|---|
| "Where is my order?" | Sees CRM record only; order data is elsewhere | Reads the order stream joined to the profile |
| "What plan am I on?" | May quote an old opportunity | Reads current subscription data |
| "Is this covered by warranty?" | Guesses from general knowledge | Retrieves the current warranty policy passage |
| Repeat customer with two emails | Treats them as two people | Resolved into one profile, if rules are right |
| Policy changed last week | Quotes whatever was in the prompt | Quotes the new article, if the index refreshed |
Notice the conditions in the right-hand column. Grounding moves accuracy from "the model’s best guess" to "the data’s quality". That is a large improvement when the data is good and a new kind of risk when it is not.
What new failure modes does grounding introduce?
- Over-merged identities. Loose matching rules can merge two customers who share a household email or a company phone number. The agent then confidently discusses someone else’s account.
- Stale streams. A data stream that failed silently last Tuesday means the agent quotes last Tuesday’s status. Freshness needs monitoring, not assumption.
- Retrieval noise. If the retriever returns ten loosely related chunks, the model blends them. Old and new versions of the same policy are the classic case.
- Permission gaps. Grounding data the agent can see but the customer should not, such as internal notes, can leak into answers unless fields are excluded.
How do you test grounding layer by layer?
Source
Is the fact correct in the system of record? Fix it there first.
Profile
Did identity resolution attach the right records to this person?
Retrieval
Did the retriever or query return the right passage or field?
Agent
Given the right context, did the agent use it and cite it correctly?
- Collect 50 to 100 real questions from transcripts, cases or sales calls
- For each, write the expected answer and the record or article it should come from
- Include tricky cases: merged identities, recently changed policies, missing data
- Run the set before launch and after every data, prompt or model change
- Log which layer caused each failure, then fix the lowest broken layer first
The rule is to fix the lowest broken layer first. Prompt changes cannot fix a wrong source record, and retrieval tuning cannot fix a wrong identity merge. Teams that skip this end up with ever-longer prompts compensating for data problems, which is fragile and expensive.
How do you measure grounding accuracy over time?
Accuracy is not a launch metric. It drifts as products change, data streams break and new questions arrive that nobody anticipated. Treat grounding quality the way you treat any production system: with a small number of tracked measures, reviewed on a schedule by a named owner.
Four measures cover most of what matters. Answer accuracy on the test set tells you whether the agent is still right on known questions. Citation rate tells you how often answers point to a specific record or article, which is the best early sign that grounding is being used. Freshness lag tells you how far behind the source each key data stream is. Escalation reasons, sampled weekly, tell you which new questions the agent cannot yet answer. When accuracy drops, the four-layer test points you to the layer that broke.
- Test-set accuracy: share of known questions answered correctly, tracked after every change.
- Citation rate: share of answers that cite a record or article.
- Freshness lag: time between a source change and the agent seeing it.
- Escalation reasons: weekly sample of why conversations went to a human.
Test-set accuracy
93%
After release v2.1
Grounded answers
97%
Cite a source record
Freshness lag
35 min
Order stream to profile
Merge errors
3
Shared household emails
| Failing layer | Misses | Owner |
|---|---|---|
| Source data | 4 | Order operations |
| Identity resolution | 3 | Data team |
| Retrieval | 2 | Agent operator |
| Instructions | 1 | Agent operator |
None of these require sophisticated tooling to start. A spreadsheet of test questions, a weekly sample of twenty conversations and a freshness check on the three most important streams will catch most problems before customers notice them. The agent lifecycle guide shows where these checks fit after launch.
One more practical point: decide who owns each layer. Source data usually belongs to the business team that enters it, identity rules to the Data 360 administrator, retrieval and prompt templates to the agent builder, and answer quality to the agent owner. When a failure is tagged by layer, it goes straight to the right person instead of bouncing between teams.
SkySync practice
In Agent Ready, SkySync builds the grounding test set from real customer questions before any agent is configured, and tags each failure by layer. Fixes go to the lowest broken layer. In Agent Care, the test set runs again after every data, prompt or model change. The data foundations whitepaper covers the data side in depth.
Do you need Data 360 to ground an agent?
Not always. An agent whose job only touches standard CRM objects, such as summarizing an opportunity, can ground directly on those records. Data 360 earns its place when answers depend on data outside Salesforce, when customers appear in several systems, or when you need retrieval over large volumes of unstructured content. Check your licenses and consumption model before designing around it, and see the integration playbook for how grounding fits the wider architecture.
Frequently asked questions
Is Data 360 the same as Data Cloud?
Yes. Salesforce renamed Data Cloud to Data 360. The core capabilities, ingestion, harmonization, identity resolution, segmentation and indexing for retrieval, carry over. You will still see the old name in older documentation, training and some setup screens.
Will grounding stop hallucinations completely?
No, but it reduces them sharply when the data is right. Agents can still misread context or blend passages. Requiring citations to the record or article used, plus a regular test set, lets you catch errors quickly and see which layer caused them.
Can a Claude agent outside Salesforce use Data 360?
Yes, through Data 360 APIs or an MCP server that exposes them, subject to your licensing and permissions. That gives a custom Claude agent the same harmonized customer view as Agentforce, without duplicating identity resolution logic in your own code.
Go deeper
Claude and Salesforce: The Integration Playbook
MCP, Agentforce, Data 360 and Slack: which door to use, how to secure it, and how to run it after launch
- ✓The Four Doors Model: every way Claude and Salesforce can meet, and what each one is good for
- ✓A decision table for Agentforce vs a custom Claude agent, with the questions that settle it
- ✓An MCP security checklist: integration users, OAuth scopes, read vs write, audit
- ✓How Data 360 grounding changes what an agent can answer correctly