When you invoke the GeminiAI Agent for Salesforce process, the user sees an answer from the LLM based on the user prompt. The process ensures that the LLM utilizes the data obtained from Salesforce to provide a comprehensive and informed response to the user's query.
To invoke the process, perform the following steps:
1Open the GeminiAI Agent for Salesforce process and click Actions > Properties Details > Copy Service URL.
2Call the process by passing the User_Prompt parameter. Open a text editor and add the input fields and values to the service URL as shown in the following format:
<Cloud Application Integration POD URL>/active-bpel/public/rt/<API_name>?User_Prompt=<User_Prompt>
Note: The Max_Query_Limit input field is set to 5 by default. This limits the maximum number of requests to be made to Salesforce. You can optionally change the limit by passing an additional parameter, Max_Query_Limit, in the service URL as shown in the following format:
<Cloud Application Integration POD URL>/active-bpel/public/rt/<API_name>?User_Prompt=<User_Prompt>&Max_Query_Limit=<Max_Query_Limit>
3Open a browser and paste the service URL as shown in the following image:
You can also invoke the process using the Run Using option, REST or SOAP API endpoints in any API client, such as cURL, Postman, SOAP UI, or through any programming language.