News Retrieval & Summarizer Using Agentforce
Why Real-Time News Insights Are Needed?
Sales and service teams require instant access to relevant business news for their Accounts to stay proactive during customer interactions.
Manual research across multiple news sites is:
- Time-Consuming: Wastes valuable time before calls or meetings.
- Error-Prone: Important updates may be missed.
- Context-Switching : Agents leave Salesforce to search externally, reducing efficiency.
A lack of timely external intelligence (like funding announcements, acquisitions, partnerships) limits strategic engagement and customer satisfaction.
Our Agentforce-Powered Solution
We implemented a Business News Assistant using Salesforce + Agentforce + External APIs to provide real-time, account-specific news summaries inside Salesforce.
The System:
- Fetches top relevant news articles for any Account using SerpAPI.
- Summarizes each article using OpenAI GPT models.
- Displays formatted news cards (Title, URL, Published Date, Summary) directly in Salesforce.
- Stores news in a custom object (Account_News__c) for future use, reducing API costs.
KeyFeatures
1. Intelligent News Retrieval
- Configured Agentforce Employee Agents to fetch external news dynamically.
- Agents can query by simply asking: “Show me the latest news about (AccountName)".
- The system retrieves 5–10 recent, relevant articles for the requested account.
2. AI-Powered Summarization
- Integrated OpenAI LLM model to condense each article into a 10-line, business-focused summary.
- Enables agents to consume insights quickly without reading full articles.
3. Seamless Salesforce Integration
Delivered news updates inside Salesforce:
- Agentforce Employee Agent: Instant query results.
- Business News Tab on the Account record page: Persistent contextual news.
4. Persistent Storage & Caching
Created a custom Salesforce object Account_News__c to store:
- Article Title
- Source URL
- Summary
- Published Date
- This design minimizes repeated API calls, improves system performance, and ensures previously fetched articles remain accessible.
5. LWC-Based News Component
Developed a Lightning Web Component (LWC) to render articles as structured news cards.
Each card displays:
- Bold, Clickable Titles
- Published Date
- Clear AI-generated Summaries
- Clear AI-generated summaries which ensures a modern, responsive, and intuitive UI for agents.
6. Optimized API Usage
- Implemented LWC caching logic to check for stored articles in Account_News__c before making fresh API requests.
- This reduces API consumption, improves speed, and ensures efficiency.
Business Impact with Agentforce
- Time Savings: Eliminates manual news searches.
- Improved Customer Conversations: Agents walk into meetings fully informed.
- Proactive Engagement: Real-time insights drive better relationship management.
- Operational Efficiency: Reduces context switching and effort.
- Cost Optimization: API calls minimized through caching.
Functional Flow Diagram

