How do Einstein Next Best Action recommendations guide agents toward optimal resolution strategies?
Answer
Basics: Agents often decide ad hoc what to offer or do. Next Best Action (NBA) centralizes this: recommendations are records, a strategy chooses which to display for the current case or customer, and a Lightning component presents them. The original answer implies it is purely AI; mostly it is rule-driven, with ML as an optional input.
How it works:
- Create Recommendation records (name, description, image, acceptance and rejection labels, and an action Flow reference).
- Build a Recommendation Strategy in Flow Builder using elements such as Load, Filter, Sort, Map, Branch, Match and Recommendation limits, pulling context from the record.
- Add the Next Best Action component on the Lightning record page, selecting the strategy.
- Agent accepts or rejects; the action flow runs (offer, create task, open article). Responses are stored (RecommendationResponse) and can be used to suppress repeats.
Advanced / deep dive: Add intelligence by calling Einstein Discovery or Prediction Builder scores in the strategy, or by loading model output stored on fields. Use filters for eligibility (entitlement, product ownership) and suppression for recently rejected offers. Strategy metrics help tune. The same strategy can surface in Experience Cloud, bots or via API for omnichannel consistency. Performance: keep the number of candidate recommendations bounded and query only needed fields. Branding and licensing are evolving (Einstein features moving under Agentforce); verify edition and license requirements.
Code / config example:
Strategy design (Flow Builder): Load Recommendation records where Active = true -> Filter by Account.Type = Customer and not rejected in last 30 days -> Sort by custom Priority field descending -> Limit to 3 -> Output to the component.
Hidden gotchas & must-remember points: