Concept 10 of 14Self-service and AI

AI for service

Predictive AI (classification, recommendations), generative AI (replies, summaries), Einstein Bots vs Agentforce service agents, the Trust Layer, and measuring real deflection.

Your confidence:Not rated

Simple explanation

AI in Service Cloud comes in three layers:

  1. Predictive: Case Classification fills fields like type and reason from history, Article Recommendations suggest knowledge, and Reply Recommendations suggest replies. These are trained on your own data.
  2. Generative assistance for agents: Service Replies draft responses grounded on knowledge, Work Summaries summarise a conversation into the case, and Knowledge Creation drafts articles from resolved cases.
  3. Autonomous agents: an Agentforce service agent (formerly Einstein Service Agent) talks to customers on messaging, web and voice. It's configured with topics, instructions and actions (Flow, Apex, prompt templates, APIs), grounded on knowledge and data (Data 360, formerly Data Cloud), and escalates to humans through Omni-Channel.

Einstein Bots are the older, rule- and dialog-based bots. They're still supported with no published end-of-life, but Agentforce is the successor, and a guided migration path exists βš‘ verify status.

The Einstein Trust Layer wraps generative calls: grounding, data masking, zero data retention with model providers, toxicity checks and audit.

Real-world analogy

  • Predictive AI is the experienced colleague who glances at the ticket and says "that's a billing dispute, try article 42".
  • Generative assistance is the colleague who drafts your reply and writes up your notes.
  • An AI agent is a trained front-desk assistant who can actually do things (check an order, book a return) within rules, and knows when to call a manager.

Worked example

"Where is my order?" for a D2C brand.

  • Topic: Order status. Instruction: "Verify the customer before sharing order details. Never promise delivery dates the carrier didn't give."
  • Actions: Get Orders by Contact (Flow β†’ OMS API), Get Shipment Tracking (Apex β†’ carrier API), Create Return (Flow).
  • Grounding: return-policy articles from Knowledge.
  • Escalation: refund disputes over a threshold go to a human with the Returns skill, carrying the transcript.
  • Measurement: resolved without human and not re-contacted within 7 days, not just "bot handled".

Diagram

Rendering diagram…

Key points

  • Predictive (classification, recommendations), generative assistance (replies, summaries) and autonomous agents (Agentforce) solve different problems.
  • Agentforce service agents use topics, instructions and actions, grounded on Knowledge and data, with escalation to humans through Omni-Channel.
  • Einstein Bots are still supported but are legacy relative to Agentforce. Migration is a rebuild, not a conversion.
  • The Trust Layer covers masking, zero data retention, toxicity detection and audit, which is key for regulated industries.
  • Measure true deflection: resolution without a human and no repeat contact within N days.

Limits and gotchas

  • Garbage in, confident garbage out. Grounding on stale or conflicting articles produces fluent wrong answers. Do knowledge governance first.
  • Actions are the risk surface. Every action runs with the agent user's permissions, so apply least privilege, validate inputs and require verification for account-changing actions.
  • Cost model: Agentforce consumes credits per action or conversation βš‘ verify current pricing model, so model volumes before promising "deflect everything".
  • Determinism: regulated flows (complaints acknowledgement, KYC) may need deterministic Flow steps rather than free reasoning.
  • Name churn (Einstein β†’ Agentforce, Data Cloud β†’ Data 360) means documentation and interviewers may use different names for the same thing.

🎀 How to say this in an interview

"I separate three things: predictive AI to classify and recommend, generative AI to help agents write and summarise, and autonomous agents to resolve end to end. For agents, I start from a narrow, high-volume, low-risk intent like order status, give the agent well-scoped actions with least-privilege permissions, ground it on governed knowledge, design the human handoff with full context, and measure true deflection, meaning no repeat contact, not just containment."

Common follow-ups

The bot's containment rate is high but CSAT dropped. What's going on?

Containment counts conversations that didn't reach a human, which includes customers who gave up. Measure resolution (task completed or question answered), repeat contact within N days and abandonment. Review transcripts for the top failed intents, fix grounding and actions, and make escalation easier, not harder.

How do you stop an AI agent from leaking data or taking a wrong action?

Use least-privilege permissions for the agent user, actions that validate inputs and enforce business rules server-side, customer verification before account-specific topics, the Trust Layer's masking and audit, and explicit instructions plus guardrail topics for out-of-scope requests. Test with adversarial prompts before go-live, and monitor actions in production.