Finds public complaints that are similar to a public complaint by matching the keywords in the complaint summary.
Required Editions
| Available in: Lightning Experience |
| Available in: Enterprise, Performance, Unlimited, and Developer Editions with the Agentforce for Public Sector add-on or included in Public Sector for Agentforce 1 Service Edition. Requires each user to have the Agentforce for Public Sector add-on to access the action. |
| User Permissions Needed | |
|---|---|
| To use the Find Similar Complaints action: |
Public Sector Access permission set AND Agentforce for Public Sector permission set |
| See Common User Access for Standard Agent Actions. | |
Action Details
| API Name | FindSimilarComplaints |
| Reference Action Type | Prompt Template |
| Reference Action |
Find Similar Complaints (pss_agent__FindSimilarComplaints) |
| Does this action execute one or more prompt templates? | Yes |
Find Similar Complaints Prompt Template
This action uses the Find Similar Complaints prompt template to get the Salesforce record IDs of previously closed public complaints that are similar to a public complaint record. The prompt template passes the keywords in the Complaint Summary field of the input public complaint record to a search retriever. The retriever finds and returns a list of public complaint records that have similar keywords and a status of Closed. The prompt template chooses the records that have a score of 0.7 or more, and returns their Salesforce record IDs.