Invoke Google Gemini API from Salesforce Apex
In this Blog Post, I have accessed the Google Gemini API from Salesforce Apex using the API Key approach. Sample Apex Code: public class GeminiAPIController { public static String invokePrompt( ....
In this Blog Post, I have accessed the Google Gemini API from Salesforce Apex using the API Key approach. Sample Apex Code: public class GeminiAPIController { public static String invokePrompt( ....
sendTextMessage() and setAgentInput() methods from Salesforce lightning-conversation-toolkit-api can be used in the Lightning Web Component to send message and set message in the Enhanced Conversation Component in the Lightning Record ....
1. GroundingGrounding is also known as retrieval-augmented generation (RAG). Grounding makes sure that the AI-generated content is specific to your organization.Example:Prompt will search the Knowledge articles setup and send it ....
In this Blog Post, Conversation Entries retrieval is for enhanced messaging channels and not for the standard messaging channels. https://www.infallibletechie.com/2024/03/how-to-get-conversation-entries-for-salesforce-enhanced-channels.html To display Salesforce Conversation Entries in Tabular Format, we can ....
Salesforce Models API can be used for LLM Model selection for conversation summary. https://www.infallibletechie.com/2025/03/salesforce-models-api.html In this Blog Post, I have used Custom Metadata Type to store the Model Name and ....
We can create custom Agentforce Agent actions using the Apex Rest Resource apex classes. This helps in reusing the existing Apex Development for the Agentforce Agent implementation. Steps: 1. Install ....
Salesforce Einstein Discovery predicts outcomes and also suggests actions that you can take to improve the predicted outcomes. Permission Sets: 1. CRM Analytics Plus Admin 2. Manage Einstein Discovery Steps: ....
"Notify contact on case close" should be enabled so that the email notification will be sent when the Case is closed. Steps: 1. Create an Email Template. Sample Email Template: ....
Salesforce Agentforce Sales Coach assist the Sales Representatives for seamlessly closing the deals/opportunities. Steps: 1. Go to the "Agentforce Sales Coach" in the Salesforce Setup. Complete all the provided steps. ....
Salesforce Agentforce Service Planner Lightning Component is an assistive agent that helps service representatives to resolve the cases faster with real-time case summaries and step-by-step resolution guidance or suggestions. Note: ....