Gets the regulatory codes that could be violated by the incident reported in a public complaint.
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 Get Relevant Regulatory Codes 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 | GetRelevantRegulatoryCodes |
| Reference Action Type | Prompt Template |
| Reference Action |
Get Relevant Regulatory Codes (pss_agent__GetRelevantRegulatoryCodes) |
| Does this action execute one or more prompt templates? | Yes |
Get Relevant Regulatory Codes Prompt Template
This action uses the Get Relevant Regulatory Codes prompt template to get the Salesforce record IDs of regulatory codes that could be violated by the incident reported in a complaint. 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 regulatory code records that match the complaint's keywords. The prompt template returns the Salesforce record IDs of the regulatory code records.