Salesforce Next Best Action Agent

Streamlines case resolution by summarizing cases, displaying resolution status, and providing next-step recommendations using past case knowledge.

About the Agent

The Salesforce Next Best Action Agent enhances case resolution by automating analysis, generating structured summaries, and providing AI-driven recommendations. Powered by a Large Language Model (LLM), the agent processes case details, extracts key insights, and suggests the most effective resolution strategies. By seamlessly integrating with Salesforce, this agent helps customer support agents resolve cases more efficiently, ensuring faster response times, consistent resolutions, and improved customer satisfaction.

Challenges the Agent Addresses

Manually analyzing case histories, detecting resolution patterns, and identifying the best course of action is time-intensive, inconsistent, and inefficient. Customer support teams face several key challenges:

  • High case volume: Agents struggle to review and analyze large numbers of cases efficiently.
  • Inconsistent resolutions: Lack of standardized best practices leads to variability in issue resolution.
  • Slow response times: Manual analysis delays case handling and impacts customer satisfaction.
  • Limited insight generation: Without automation, detecting trends and recurring issues becomes difficult.
  • Increased agent workload: Repetitive tasks consume valuable time, reducing productivity.

The Salesforce Next Best Action Agent addresses these challenges by automating case analysis, providing structured insights, and delivering AI-powered recommendations to support teams, ensuring quicker, more consistent, and data-driven resolutions.

How the Agent Works?

The Salesforce Next Best Action Agent enhances case resolution by leveraging an LLM to generate case summaries, display resolution status, provide real-time insights, and deliver data-driven recommendations. Here's a detailed breakdown of how it works:


Step 1: Case Data Ingestion

The agent retrieves case details from Salesforce in real time, ensuring that the most up-to-date information is available for processing.

Key Tasks:

  • Fetches case records from Salesforce in real-time.
  • Extracts critical details such as issue description, resolution history, and key interactions.

Outcome:

  • A comprehensive case dataset is created, enabling accurate assessment and efficient resolution.

Step 2: Case Analysis

Using an LLM, the agent processes case details to generate a structured summary of the issue and its resolution.

Key Tasks:

  • Analyzes case descriptions to understand the problem.
  • Generates a concise issue summary based on the case description.
  • Identifies and displays the resolution status.
  • Recaps how the case was previously resolved, including key steps taken.

Outcome:

  • A structured case summary is created, providing customer support agents with a clear understanding of the issue and its history for faster decision-making.

Step 3: Insight Generation

The agent identifies trends, recurring issues, and resolution patterns to optimize future case handling.

Key Tasks:

  • Detects patterns in case resolution history.
  • Highlights recurring issues and common resolution strategies.
  • Provides insights that can improve support workflows.

Outcome:

  • Actionable insights are generated, enabling agents to refine response strategies and improve efficiency.

Step 4: Action Recommendation

Based on historical resolutions, the agent suggests the most effective resolution strategies to ensure consistency and efficiency in customer support responses.

Key Tasks:

  • Recommends best practices for issue resolution.
  • Suggests potential next steps based on previous successful resolutions.
  • Provides data-driven recommendations to guide agent decision-making.

Outcome:

  • Tailored recommendations are provided, empowering agents to resolve cases more quickly and effectively.

Step 5: Response Delivery

The generated insights and action recommendations are displayed within the Salesforce Service Console, ensuring agents can seamlessly review and implement them.

Key Tasks:

  • Delivers case summaries and recommended actions directly in the Salesforce Service Console.

Outcome:

  • Relevant insights and recommendations are instantly accessible, allowing agents to drive faster and more consistent case resolutions.

Why Use Salesforce Next Best Action Agent?

  • Faster Case Resolution: Reduces manual effort and speeds up response time.
  • Enhanced Customer Satisfaction: Provides quicker and more effective solutions.
  • Reduced Workload for Agents: Automates repetitive tasks and allows agents to focus on complex issues.
  • Consistency in Resolutions: Ensures standardized best practices across all cases.
  • Improved Decision-making: Leverages AI-driven insights to recommend the most effective actions.

Accuracy
TBD

Speed
TBD

Input Data Set

Sample of data set required for Salesforce Next Best Action Agent:

Case Details

  • Case Number: 00001047
  • Subject: Intermittent Connectivity Issues with Project Catalyst - Blocking Progress on Alpha Project
  • Status: In Progress
  • Priority: High
  • Created Date: 2025-01-08
  • Last Modified Date: 2025-01-08

Description

Subject: Urgent - Project Catalyst Connection Problems - Alpha Project Blocked

Dear Innovate Solutions Support Team,

We are experiencing significant intermittent connection issues with Project Catalyst this morning. Several of our project team members (at least 5) are getting randomly disconnected while using the software. They are seeing messages indicating a loss of connection, and it's disrupting their workflow incredibly significantly. This started happening around 10:30 AM PST. We've checked our internet connection, and it seems stable as we can access other online tools, including our internal project management system and shared drives, without any problems. This seems to be definitely isolated to Project Catalyst. Could you please investigate this as a matter of absolute urgency? We have critical deadlines approaching for the Alpha Project, and this is severely impacting our ability to meet them.

Please let me know what information you need from our end. We are using the latest version of Chrome on Windows 10, if that helps.

Sincerely,
Robert Miller
Project Manager
Global Innovations Corp.


Case Feed

2023-10-27 11:15 AM PST - Emily Carter (Support Agent - Tier 1)

  • Received email from Robert Miller regarding intermittent connectivity issues with Project Catalyst.
  • Confirmed account details and verified Standard Support entitlement.
  • Logged initial description from customer’s email, highlighting urgency.
  • Replied within 5 minutes, requesting clarification on affected users and their locations.
  • Asked for OS and browser versions (confirmed Windows 10 & Chrome).
  • Provided a knowledge base article (KB00098) on troubleshooting network issues.

2023-10-27 11:45 AM PST - Emily Carter (Support Agent - Tier 1)

  • Robert confirmed basic troubleshooting did not resolve the issue.
  • Requested a screenshot of the exact error message and timestamps.
  • Screenshot showed: "Connection to Project Catalyst Server Lost. Attempting to Reconnect..." (Error Code: CS-102)
  • Noted issue might be related to server-side interruptions.

2023-10-27 12:15 PM PST - Emily Carter (Support Agent - Tier 1)

  • Attempted to replicate the issue in a test environment but was unable to reproduce it.
  • Checked the system status dashboard and found a spike in HTTP 503 errors and timeouts for the affected region.

Escalation to Level 2 Support

David Chen (Level 2 Support Engineer)

  • Identified a temporary overload on the primary database server due to an automated data sync job.
  • Implemented a fix by terminating the runaway job and rerouting connections to a secondary database server.
  • Monitored system metrics and confirmed error rates dropped significantly.

Final Updates

  • Emily Carter: Called Robert, explained the cause and resolution.
  • Robert: Confirmed issue is resolved, team is working without further interruptions.
  • Level 2 will conduct a Root Cause Analysis (RCA) to prevent future occurrences.
  • Case Status: Resolved.

Next Steps

  • Level 2 Support to analyze the automated data sync job’s resource consumption.
  • Optimize queries, adjust scheduling, and enhance monitoring for proactive issue detection.
  • Update internal documentation on error code CS-102.

Query Data

  • User Question: Give me a list of cases that are not closed.
  • Action: CASE_CHAT

Deliverable Example

Sample output delivered by the Salesforce Next Best Action Agent:

Case Summary

  • Case Number: 00001047
  • Subject: Intermittent Connectivity Issues with Project Catalyst
  • Status: In Progress
  • Priority: High
  • Created Date: 2025-01-08
  • Last Modified Date: 2025-01-08

Resolution Status & Insights

The issue was identified as a temporary overload on the primary database server due to an automated data sync job. A fix was applied by terminating the job and rerouting connections to a secondary database server. The system metrics showed a drop in error rates after the resolution. However, further steps are required to analyze and optimize resource consumption to prevent future occurrences.

Recommended Next Steps

  1. Proactive Monitoring: Implement enhanced monitoring to detect and mitigate similar server overload issues before they impact users.
  2. System Optimization: Optimize automated data sync jobs to reduce excessive resource consumption.
  3. Documentation Update: Improve internal documentation on Error Code CS-102 to provide faster resolutions in the future.
  4. Customer Follow-Up: Although the issue was resolved, a follow-up email to Robert Miller is recommended to ensure sustained system stability.

Related Agents