Invoke Google Vertex AI Agent from Salesforce Apex
Prerequisites: 1. Remote Site Settings: In Salesforce Setup, add the Dialog Flow URL and Token URL. Make sure these remote site settings are active so that the Apex call to ....
Prerequisites: 1. Remote Site Settings: In Salesforce Setup, add the Dialog Flow URL and Token URL. Make sure these remote site settings are active so that the Apex call to ....
In this Blog Post, I have used Agentforce Apex Agent Action to invoke the Google Gemini API for general searches. Sample Apex Class: public class GeminiAPIController { @InvocableMethod( label = ....
Salesforce Einstein Opportunity Scoring helps us to prioritize the Opportunities that have the best chance of successful closures. Sales reps can work on work on Deals that have high chances ....
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: ....